Set Voltage Range Method (FPGA Interface)

NI CompactRIO Device Drivers Help

Edition Date: December 2017

Part Number: 373197L-01

»View Product Info
Download Help (Windows Only)

This module method overrides the default setting provided in the C Series Module Properties dialog box. You use this module method by selecting it in an FPGA I/O Method Node that is configured for the appropriate device and/or channel.

AI Channel is the channel you want to set the voltage range for.
Voltage Range is an enumeration of the following voltage ranges:
  • ±10 V
  • ±5 V
  • ±1 V
  • ±200 mV
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. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. 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.
status is TRUE if an error occurred. If status is TRUE, the VI does not perform any operations.
code is the error code number identifying an error. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source always contains an empty string because strings are not supported in LabVIEW FPGA.
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, it 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.
status is TRUE if an error occurred. If status is TRUE, the VI does not perform any operations.
code is the error code number identifying an error. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source always contains an empty string because strings are not supported in LabVIEW FPGA.

WAS THIS ARTICLE HELPFUL?

Not Helpful