Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

9871 ports no longer showing up in rt-linux /dev

In our application, I wish to use the RS485 ports on an 9871 C-series module plugged into a cRio-9066 chassis.

 

I had this working; the ports showed up with names like /dev/ttyNIRIOslot6port2.  (I have another set of questions about how one could set the wiremode from within a program - we keep having to do a manual step everytime the box is booted.  Also, how to close the port, since everytime the program is stopped, I have to boot the cRio to use that port again.)

 

But the more immediate problem is that we re-loaded the SW on the cRio, and can no longer get the ports to show up (neither in the /dev directory, nor in any of the VISA interfaces).  I've tried all sorts of combos but can't get them to reappear.  I'll admit confusion as to whether it could be the case that adding some module would move them from local to the RT Linux system, to being available, instead, as a networked interface (but have never seen them anywhere else).

 

I'm attaching a screenshot of the current S/W selection.  I do have the 9870 and 9871 Scan Engine Support in.

 

Thanks,

   Andy S.

 

0 Kudos
Message 1 of 4
(3,985 Views)

Hi Andy,

 

Where did you see the ports showing up previously? Have you been able to locate them in NI MAX?

 

Based on our documentation it looks like you need to have NI-Serial RT, NI Scan Engine, and NI-Serial 9870 and 9871 Scan Engine Support. Looking at your screenshot it looks like you only have NI Scan Engine and the NI-Serial 9870 and 9871 Support. Can you try adding NI-Serial RT to see if that resolves your issue? 

 

NI 9871 (Scan Interface)

http://zone.ni.com/reference/en-XX/help/373197G-01/lvaddon11/crio-9871_rt/

 

 

Regards,

 

Kyle S.
Applications Engineer
National Instruments
http://www.ni.com/support

 

0 Kudos
Message 2 of 4
(3,965 Views)

Just a quick followup - we've now gotten them to reappear; it seems to be a question about whether they are assigned to the scan engine or to the FPGA. Some of this seems to be affected by the project tree (and the use of the deploy button) from Labview.  I thought that having reloaded firmware might have reset those scan engine settings, but it now seems like they were being remembered somewhere inside of the 9066.

 

For our application, we need some of the modules assigned to the FPGA, and some assigned to the scan engine, but are still having some troubles trying to accomplish this.

 

Thanks.

0 Kudos
Message 3 of 4
(3,955 Views)

Hi Andy,

 

Please reference the following KnowledgeBase article about the COM ports missing for 987x modules:

 

NI 987x Module's COM Ports are Missing from Measurement & Automation Explorer

 

http://digital.ni.com/public.nsf/allkb/83B9BC1AF92276FC8625795100646605?OpenDocument

 

Additionally, we have a KnowledgeBase article that outlines configuring a cRIO chassis for Hybrid mode:

 

How Can I Use Scan Engine and FPGA Simultaneously on a CompactRIO (Hybrid Mode)?

 

http://digital.ni.com/public.nsf/allkb/0DB7FEF37C26AF85862575C400531690

 

Finally, we have the following help document that outlines using the NI 9871 in FPGA Interface mode:

 

NI 9871 (FPGA Interface)

 

http://zone.ni.com/reference/en-XX/help/373197G-01/lvaddon11/crio-9871/

 

Please note: "A given module can only be used in either Scan Interface mode or FPGA mode, but not both."

 

Regards,

 

Kyle S.
Applications Engineer
National Instruments
http://www.ni.com/support

0 Kudos
Message 4 of 4
(3,948 Views)