Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to discover RS232 module (NI 9870)

The system:
Computer: LabVIEW 8.5.0 on Vista with FPGA 8.5 and RT 8.5
RIO: cRIO-9014 (running NI-RIO 2.4.0 (minimal) (for some reason the non-minimal version is greyed out)
FPGA: cRIO-9101
IO-module: NI 9870 (brand new 4 port serial module)
 
The problem:
I just received an NI 9870 with NI-RIO 2.4. Installed it and upgraded the software on the controller to NI-RIO 2.4 (why I do not get access to install anything but the version of NI-RIO marked minimal is another question...). That's all fine. I then started LabVIEW 8.5 and tried to detect the new module, only to get this message:
 
"CompactRIO:  One or more discovered C Series modules are not supported by the current versions of LabVIEW and NI-RIO. The unsupported modules are: Slot 1 (NI 9870).".
 
The problem off course is that I do seem to be running the latest versions of all the software. The module is fairly new though so perhpahs there are some hickups? I have not yet used the FPGA so I may have overlooked something(?)
 
I also miss a description of how to interface to/ program the NI 9870 in code, there is a good one for the CAN module e.g., is there anything like it planned for the serial modules?
0 Kudos
Message 1 of 5
(5,564 Views)
Hi,
I think that your problem is that you are still running LabView 8.5.0. 
The reason that you only get the minimal install may be because of the following software version conflicts.

Network Variable Engine 1.4.1 (older version available on host)
NVE Common 1.4.1 (older version available on host)
LabVIEW PID Control Toolkit 8.5.1 (older version available on host)
Modbus I/O Server 1.4.1 (older version available on host)
DataSocket for LabVIEW Real-Time 4.5.4 (older version available on host)
NVE Core 1.4.1 (older version available on host)
LogosXT 4.9.1 (older version available on host)
Variable Client Support for LabVIEW RT 1.4.1 (older version available on host)
Logos 4.9.1 (older version available on host)

Once LabView 8.5.1, along with the updated RT and FPGA software is installed I expect that your problem will disappear.

Cheers
Stephen
0 Kudos
Message 2 of 5
(5,374 Views)

Ok, but LV 8.5.1 is not yet released...Smiley Sad

(although it has been spotted on the ftp earlier, and there are a lot of web pages on ni.com that refers to it).

As for the module detection problem NI has given me the following solution:

http://joule.ni.com/nidu/cds/view/p/lang/en/id/935

0 Kudos
Message 3 of 5
(5,358 Views)
The fix worked fine. If anyone else is using the serial modules they may also like to know that there are some great examples on how to use it in LabVIEW, just go to the example finder and navigate this way:
 

Hardware Input/Output -> CompactRIO -> Module Specific -> Serial
Message 4 of 5
(5,306 Views)

Sorry to revive a dead thread, but this is in response to the example that you indicated was helpful.

 

The information text along with that example gives the following:


National Instruments wrote:
Target 1 is assumed to be a cRIO - 910x controller.  It uses DMA to send and receive data through the serial port.  The example found on this target will not work with cRIO - 900x controllers.

Target 2 is assumed to be a cRIO - 900x controller.  These controllers cannot use DMA to transfer data from the Host VI to the FPgA VI.  In this example DMA is only used when reading serial data from the FPGA VI.  An interrupt shceme is used to send data to the FPGA VI.  The example on this target will work with any cRIO controller.
Target 3 is also assumed to be a cRIO - 900x controller.  However an interrupt scheme is used for data transfer in both directions from the FPGA VI.  This method is for applications that are already using the DMA channels for other activities.  Thie example on this target will work with any cRIO controller.

 

 I will be using a 9074 cRIO. From what I know, the DMA is the preferred method if possible. Can I use the DMA method shown in Target 1 with a 9074? If not, what is recommended?

 

-Joe

Missouri S&T

http://solarhouse.mst.edu/

0 Kudos
Message 5 of 5
(4,309 Views)