IO Sample Method (FPGA Interface)
- Updated2026-01-28
- 5 minute(s) read
| Returns TRUE (X) if an error occurred
before this VI or function ran. Returns FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE. |
|
| 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. |
|
| Always contains an empty string. Strings are not supported in LabVIEW FPGA. |
| Returns TRUE (X) if an error occurred
before this VI or function ran. Returns FALSE (checkmark) to indicate a warning or that no error has occurred. |
|
| The error code number identifying an error. The default
is 0. 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. |
|
| Always contains an empty string. Strings are not supported in LabVIEW FPGA. |
Using This Method
The IO Sample method provides an efficient and flexible interface to the module. Use this method to acquire a single sample from any of the channels on the module, at any range and with any available input mode.
When this method executes, the module performs a single conversion on the next channel present in the conversion pipeline on the module. The data from this conversion is returned via the Data [i] method output. While the conversion data is read from the module, the new configuration information specified by the three method inputs (Voltage Range [i+1], Terminal Mode [i+1], and Channel Number [i+1]) is loaded into the configuration pipeline on the module. The pipeline is one sample deep. The configuration information specified on one execution of the IO Sample method determines which channel will be sampled by the IO Sample method one iteration into the future. Refer to the Conversion Timing topic for more details.