Set Terminal Mode Method (FPGA Interface)

CompactRIO

Set Terminal Mode Method (FPGA Interface)

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 terminal mode for.
Terminal Mode is an enumeration of the following trigger modes:
  • RSE is a single-ended measurement between any of the 32 individual channels and the module ground.
  • NRSE is a single-ended measurement between any of the 32 individual channels and the AISENSE line into the module.
  • DIFF is a differential measurement between two of the 32 individual channels, with the name of the differential channel matching the channel tied to the positive side of the differential measurement. Channels AI0 to AI7, and AI16 to AI23 may be set to DIFF configuration.
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 (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.
code is the error or warning code. 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 (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
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.
source always contains an empty string because strings are not supported in LabVIEW FPGA.