Archive for 'LabVIEW' Category
A Few Documents about Communication between Real-time and Host PC
I have to admit that NI’s support is very helpful. Because I need to make real-time machine to communicate with Windows based desktop PC in my recent project, I try to find a few tips in NI’s website, and I get everything I need about this problem. The following are the documents about RT communication. [...]
Three Ways to Find SubVI in a LabVIEW Project
If we change a subVI’s connector after used it a lot in a huge LabVIEW project, it’ll be a nightmare to open every VI in this project one by one and find the subVI in the diagram by hand. In fact, there are ways to find this subVI easily as following. First, use menu View [...]
How to Change Waveform Charts’ Scales Programmatically In LabVIEW
First, disable auto-scaling property of the waveform chart by editing Chart Properties Scales->Y-Axis and the uncheck Autoscale ; Then, in the VI’s diagram, use property Y Scale –> Range –> Maximum and Minimum. We can change these values in program and by this way, we can change waveform chart’s scales during runtime.
Change the Color of a Picture Control’s Border Programmatically in LabVIEW
In one of my project, there are about 24 pictures on the front panel. When the user selects one of these pictures, I want there is an interactive way to show which picture has been selected. And I think to change the picture control’s border color is a nice solution. I can change the border [...]
How to List Files within Subfolders in LabVIEW
In LabVIEW, we can list all the files in a folder using the list folder.vi function. But, if we want to list all files including files in subfolders, should we use this function on each subfolder? In fact, we can use only one VI that shipped with LabVIEW since version 7.0 to get this job [...]
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, [...]