DAQmx Set Power Up States

DAQmx - Data Acquisition VIs and Functions

DAQmx Set Power Up States

Updates the states to which to set physical channels on a device when the device powers up or when you reset the device. A device stores power up states in non-volatile memory that you can write to only a limited number of times. Therefore, you should use this VI as infrequently as possible. This VI writes to the non-volatile memory only if a setting you request is different from the one currently stored. This VI writes power up states in the sequential order of the power up states array. Therefore, any physical channels with multiple entries in that array use the highest array index.

The instances of this polymorphic VI specify whether to set power up states for analog or digital physical channels.

Use the pull-down menu to select an instance of this VI.

minibutton.gif  Place on the block diagram. minibutton.gif  Find on the Functions palette.

Digital State 

Updates power up states for digital physical channels.

DAQmx Set Power Up States (Digital)c.gif

civrn.gif device in is the name as configured in MAX of the device to which this operation applies. A DAQmx device name constant lists all devices installed in the system.
c1dcclst.gif power up states contains the physical channels and power up states to set. Each element of the array contains a physical channel and the power up state to set for that physical channel.
civrn.gif physical channel is the digital line or port to modify. You cannot modify dedicated digital input lines. The DAQmx physical channel constant lists all lines and ports for devices installed in the system. You also can wire a string that contains a list or range of digital lines or ports to this input. If you have an array of lines or ports, use the DAQmx Flatten Channel String VI to convert the array to a list.
ci32.gif power up state is the power up state to set for the physical channel specified with the physical channel input.

High (10192) High logic.
Low (10214) Low logic.
Tristate (10310) High-impedance state. You can set this power up state only on devices with bidirectional ports, and you can set it only on entire ports. You cannot set this power up state on dedicated digital output lines.
cerrcodeclst.gif error in describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. If an error occurs while this VI or function runs, the VI or function runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
cbool.gif status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
ci32.gif code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.
cstr.gif source identifies where an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.
iivrn.gif device out is the name of the device the operation applied to.
ierrcodeclst.gif error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, error out describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
ibool.gif status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
ii32.gif code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
istr.gif source identifies where and why an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.

Digital Logic Family 

Sets the digital logic family to use when the device powers up.

DAQmx Set Power Up States (Digital Logic Family)c.gif

civrn.gif device in is the name as configured in MAX of the device to which this operation applies. A DAQmx device name constant lists all devices installed in the system.
ci32.gif logic family specifies the logic family to set the device to when it powers up. A logic family corresponds to voltage thresholds that are compatible with a group of voltage standards. Refer to device documentation for information on the logic high and logic low voltages for these logic families.

2.5 V (14620) Compatible with CMOS signals.
3.3 V (14621) Compatible with LVTTL and LVCMOS signals.
5.0 V (14619) Compatible with TTL and CMOS signals.
cerrcodeclst.gif error in describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. If an error occurs while this VI or function runs, the VI or function runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
cbool.gif status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
ci32.gif code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.
cstr.gif source identifies where an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.
iivrn.gif device out is the name of the device the operation applied to.
ierrcodeclst.gif error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, error out describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
ibool.gif status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
ii32.gif code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
istr.gif source identifies where and why an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.

Analog 

Updates power up states for analog physical channels.

DAQmx Set Power Up States (Analog)c.gif

civrn.gif device in is the name as configured in MAX of the device to which this operation applies. A DAQmx device name constant lists all devices installed in the system.
c1dcclst.gif voltage power up states contains the physical channels and power up states to set. Each element of the array contains a physical channel and the power up state to set for that physical channel. You can set voltage power up states only for physical channels that support voltage output.
civrn.gif physical channel is the physical channel to modify. The DAQmx physical channel constant lists all physical channels for devices installed in the system. You also can wire a string that contains a list or range of physical channels to this input. If you have an array of physical channels, use the DAQmx Flatten Channel String VI to convert the array to a list.
cdbl.gif value is the power up state to set for the physical channel specified with the physical channel input.
c1dcclst.gif current power up states contains the physical channels and power up states to set. Each element of the array contains a physical channel and the power up state to set for that physical channel. You can set current power up states only for physical channels that support current output.
civrn.gif physical channel is the physical channel to modify. The DAQmx physical channel constant lists all physical channels for devices installed in the system. You also can wire a string that contains a list or range of physical channels to this input. If you have an array of physical channels, use the DAQmx Flatten Channel String VI to convert the array to a list.
cdbl.gif value is the power up state to set for the physical channel specified with the physical channel input.
cerrcodeclst.gif error in describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. If an error occurs while this VI or function runs, the VI or function runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
cbool.gif status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
ci32.gif code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.
cstr.gif source identifies where an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.
iivrn.gif device out is the name of the device the operation applied to.
ierrcodeclst.gif error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, error out describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
ibool.gif status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
ii32.gif code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
istr.gif source identifies where and why an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.