This is known issue with the NI-9262 when the Calibration Mode
is set to Calibrated
, tracked under 739019. It has been fixed in NI-compactRIO 19.5
. If it is not possible to upgrade the driver version. Please see the workaround below.
Switching to Raw Calibration Mode
You can work around this issue by setting the module in raw calibration mode
. When set to Raw
, users will have to convert their values
in and out of the FPGA I/O nodes.
- Right-click the NI-9262 in the project and select Properties.
- Select Raw in the Calibrated Mode drop down.
Write to every channel in every FPGA I/O node
Whenever an FPGA I/O node is used, write to every channel. You can then use variables to pass data values from other loops. One option to accomplish this is shown below:
- Create a new loop that continually updates the channel output values from an FPGA Control or a global variable. In the main code, update the variable value instead of using an FPGA I/O Node.
User-Controlled IO Sampling
You can use User-Controlled IO Sampling to work around this issue. Follow the steps below to access and use the NI-9262 User-Controlled IO sample project.
- Open LabVIEW and select Help>>Find Examples to open the NI Example Finder
- From the Browse tab select Hardware Input and Output>>CompactRIO>>Module Specific IO>>Analog Output>>NI-9262 User-Controlled IO Sampling.lvproj