Skip to content

LabView API Configure

ziSetValue

block diagram
Figure 1: block diagram

This vi sets values to the nodes specified in Path to Value. More than one node can be set if a wildcard is used in Path.

Depending on the Value type a different VI is used automatically. The Value type can be one of the following:

  • block diagram string
  • block diagram double
  • block diagram complex double

It is also possible to pass an array to Value and Path so set multiple node at once.

Input

Name Type Description
Handle In block diagram LabOne Session Handle LabOne Session Handle representing the Session to the connected Data Server.
Path block diagram string Node path
Value dependent Value to be set
Error in block diagram error Error In can accept error information wired from VIs previously called

Output

Name Type Description
Handle Out block diagram LabOne Session Handle disconnected LabOne Session Handle (can not be used to reconnect and is only for debugging)
Error Out block diagram error Error Out Contains the Error information if there are any.

ziSetValueDemod

block diagram
Figure 2: block diagram

Helper vi to comfortably configure a Demodulator. This vi brings a demodulator into a defined state by executing a number of setValueDouble calls.

Input

Name Type Description
Handle In block diagram LabOne Session Handle LabOne Session Handle representing the Session to the connected Data Server.
Demodulator # block diagram int32 Demodulator to used (default = 0)
Signal Input Select block diagram int32 Selects the input signal for the demodulator. /DEV…​./DEMODS/n/ADCSELECT (default = 0)
Order block diagram int32 Selects the filter roll off between 6 dB/oct and 48 dB/oct. /DEV…​./DEMODS/n/ORDER (default = 2)
Time Constant block diagram double Sets the integration time constant or in other words, the cutoff frequency of the demodulator low pass filter. /DEV…​./DEMODS/n/TIMECONSTANT (default = 1ms)
Rate block diagram double Defines the demodulator sampling rate, the number of samples that are sent to the host computer per second. /DEV…​./DEMODS/n/RATE (default = 200Hz)
Error in block diagram error Error In can accept error information wired from VIs previously called

Output

Name Type Description
Handle Out block diagram LabOne Session Handle disconnected LabOne Session Handle (can not be used to reconnect and is only for debugging)
Error Out block diagram error Error Out Contains the Error information if there are any.

ziGetValue

block diagram
Figure 3: block diagram

This vi retrieves the value of the specified node. The vi returns the value first found that matches path if more than one value is available (a wildcard is used in the Path).

Depending on the value in the dropdown menu, different VI are used. The following types are supported:

  • block diagram string
  • block diagram double
  • block diagram complex double
  • block diagram demod
  • block diagram aux in
  • block diagram dio

Input

Name Type Description
Handle In block diagram LabOne Session Handle LabOne Session Handle representing the Session to the connected Data Server.
Path block diagram string Node path
Error in block diagram error Error In can accept error information wired from VIs previously called

Output

Name Type Description
Handle Out block diagram LabOne Session Handle disconnected LabOne Session Handle (can not be used to reconnect and is only for debugging)
Value dependent Value from the requested node
Error Out block diagram error Error Out Contains the Error information if there are any.