Archive for April, 2008

Decode Serial Port File Transfer Protocols from Scratch with LabVIEW and Serial Monitor

By Ralph - Last updated: Friday, April 18, 2008

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

By Ralph - Last updated: Wednesday, April 9, 2008

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

By Ralph - Last updated: Sunday, April 6, 2008

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

By Ralph - Last updated: Thursday, April 3, 2008

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

By Ralph - Last updated: Wednesday, April 2, 2008

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, [...]