Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Read I/O values from an entire C Series module from Ethernet Rio

With a single CompactRIO I read all the thermocouples from a module by doing this

Capture.PNG

I have added a Etherent RIO full of thermocouples as follows:

Capture.PNG

In my untitled1.vi I would like to do a similar thing as the top picture but pointing at a module on the NI 9148. I would imagine it is a PSP thing but have tried for a day with no luck. Anyone got a clue?

 

cheers

0 Kudos
Message 1 of 4
(4,626 Views)

Hey Dhomfray,

 

Have you tried using Network Streams? 

 

In this configuration you are trying to read I/O which in on another RIO. To do this you need to:

 

1. Read the value on the Ethernet RIO.

2. Put it on a Network Stream (Write).

3. Read from the Network Stream on the cRIO.

 

Check out here how to use Network Streams: https://www.ni.com/en/shop/labview/lossless-communication-with-network-streams--components--archite....

 

I won't take you more than 30 minutes to make it run 🙂


Good luck and keep us updated! 


Cheers,
Bozhidar

0 Kudos
Message 2 of 4
(4,600 Views)

Did have a look at that method but it was a problem of knowing when the data set was created. I would like a method of collecting data from both the primary compactRio and the EthernetRio at the same time. Its a shame there is not an easy method of just collecting the whole module using a similar method already used

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

Hello Dhomfray,

 

The goal of the application is to read data on different modules on different devices away from each other. However, simplified, it is usually not a simple process. 

 

Have you checked this one: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x4LaCAI&l=en-US

 

Check the last figure how the VI is configured and give it a try.

 

Best,

Bozhidar

 

 

0 Kudos
Message 4 of 4
(4,591 Views)