VI Reference
Common Items

Explain IN/OUT terminals common to each VI and points to use VI


Common IN/OUT Terminals

[-1] setting of input terminal

About error output

Points to note when using DAQ-LV-WIN Ver 1.00, Ver 1.01


Common IN/OUT Terminals

Example of Instance VI

IN

ref in

Connect to ref out of the VI which perform the previous process

error in

Connect to error out of the VI which perform the previous process

OUT

ref out

Connect to ref in of the VI which perform the next process

error out

Connect to error in of the VI which perform the next process

 

[-1] setting of input terminal

Unique setting method of DAQ-LV-WIN.
A constant [-1] can be connected to the input terminal of a part VI, and in this case,
the function that uses the value of the corresponding input terminal is not executed.
If you want to improve performance even a little, please connect [-1] if you do not need to change the setting.

About the input terminal whose initial value is "-1"

The function execution itself can be skipped when our driver API is operated with the initial value.
By setting the initial values of input terminals to [-1], those setting items use initail value, so as to reduce the unnecessary function execution as much as possible and increase the performance.
In addition, some initial values of the driver API are different depending on the target device, so there are input terminals whose initial value is set to [-1] to use this mechanism.

 

 

About error output

If an error occurs in one of the VIs, basically the subsequent VI processing will not be executed.
The error code is carried over to the end and its contents can be confirmed with [error out].

In the example below, the error that occurred in the initial channel setting is output to the last [error out].

 

Points to note when using DAQ-LV-WIN Ver 1.00, Ver 1.01

In DAQ-LV-WIN Ver 1.10, some VI file names and terminal settings have been changed.
Therefore, when using an application created with the earlier version of DAQ-LV-WIN, please note the following points.

When [Search VI] dialog is displayed when opening application

Please refer to the FAQ [VI Search Dialog Box Appears] and specify a new VI.

When the application can not run

There is a possibility that the input terminal of [Essential] setting is not connected.
Please check the wiring to the DAQfast VI being used in the block diagram.