Solution
If you are using LabVIEW 2017, you will need to compile and deploy an FPGA VI before you will be able to see the COM ports for the NI-9871. If this doesn't work, or you are using an earlier version of LabVIEW, proceed to the next steps.
In order to see the COM resources for the NI-9871 when using it in the Scan Interface and your cRIO is in Hybrid mode, you will need to do one of two things:
- Run the FPGA VI manually by clicking the Run button. Once the FPGA VI is running, you will be able to see the COM ports in MAX and in your Real-Time VI.
- Add at least a two second delay between programmatically opening the FPGA Reference and trying to access your VISA resources. Also note, that you will want to reference your FPGA VI by the compiled bitfile instead of pointing to the VI itself in the Open FPGA Reference VI.