Archive for 'LabWindows/CVI' Category

How to Change Axis Name of Graph Control in LabWindows/CVI

By Ralph - Last updated: Tuesday, March 24, 2009

We can use the SetCtrlAttribute function to change an Axis name programmatically in LabWindows/CVI. Just set the ATTR_XNAME or ATTR_YNAME attribute to any name you’d like to use in this function. For example, change the top X-Axis name of a graph, we can use the following code. // Make the top x-axis the active one [...]

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