Archive for 'VI Software' Category
A Few Tips on VI Design in LabVIEW
LabVIEW VIs are very similar to functions or subroutines in C programming language. It can be called inside of other VIs, once it was created. Here are a few tips on the design of VIs: 1. You should assign the inputs on the left terminals of the connector and the outputs to the right side, [...]
Decode Serial Port File Transfer Protocols from Scratch with LabVIEW and Serial Monitor
Sometimes we need to write our own software to transfer files to serial port connected device, like DNC, which provides manuals and working software but no source code or the author of the software does not exist or does not support the software anymore. So, it’s a must to decode the serial transfer protocol to [...]
A Note about the Current VI’s Path Constant in LabVIEW
The current VI’s path constant in LabVIEW is often used to make the path of files which are in the same or relative folder of the VI application in our developments. If we use this constant in the development environment, everything is fine, and it works. But, if we build the VI into an executable, [...]
A Better Way to Program Controls of the Same Kind in LabWindows/CVI
Usually, there are only one or two controls of the same kind in a normal VI(Virtual Instruments, computer based measurements and automation systems) application. And, we can write the callback functions of these controls one by one in LabWindows/CVI. But, if there are more than four in number of the same kind of control, it’ll [...]
Three Principles to Follow when Design LabVIEW Applications
When using LabVIEW to develop huge and complex applications, we would encounter many problems not only the same as we use text based programming languages but also some problems which are unique for LabVIEW. LabVIEW is a graphic based programming language, it free us from the worry of syntax error and memory problems, but on [...]
Create a Tri-State LED Indicator in LabVIEW
Under some conditions, the traditional boolean LED indicator is not enough to indicate the test result. For example, before the test finish, the status of current UUT(Unit Under Test) is unknown, which value should be displayed, the green TRUE with the meaning of success or red FALSE with the meaning of fail? Both are unacceptable, [...]