Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Internet of things: NI 9181

I have an NI9181 that I' am connecting through nidaqmx python and flask.

 

If I connect my laptop to the same network that the chasis is, I can access it. No problem on this part.

 

My question is: if I know its IP address can I read out the information that is accesing (through its NI9234), essentially, If I am in a different network, can I access the device data feed with the following scheme?

 

NIquestion.png

 I am just starting in such matters, I don't know if this is possible and how.

0 Kudos
Message 1 of 5
(1,565 Views)

Yeah, that is possible as long as there is a network route between network A and network B. But if one of the network is a private network with packet filtering or firewall blocking certain ports, then the IT infrastructure has to open up a network route and unblock the ports for it to work.

 

I have acquired data from another continent using Ethernet cDAQ chassis. The latency is really bad but it is possible.

0 Kudos
Message 2 of 5
(1,476 Views)

@Jerry_X, thanks for answering, any good tutorial or documentation that you could suggest to a newbie like me?

 

The way I do it is having the python program with a computer and then using ngrock to communicate from one network to another (with another computer).

0 Kudos
Message 3 of 5
(1,454 Views)

Well, these are the basics.

  1. We have to know IP address of the machine in network B and the Ethernet cDAQ chassis in network A.
  2. These IP addresses should be able to ping each other.
  3. There is this knowledgebase for troubleshooting Ethernet cDAQ connection issue: Troubleshooting Network cDAQ Connectivity Issues - National Instruments (ni.com). These are the ports required to be open for Ethernet cDAQ communication:
    • HTTP:80 (configuration only)
    • TCP:3580
    • TCP:31415
    • UDP:5353(configuration only)
    • TCP: 5353(configuration only)
    • UDP:7865 (configuration only)
    • UDP:8473 (configuration only)
0 Kudos
Message 4 of 5
(1,428 Views)

Thanks again for your input, @Jerry_X I will check this info out

0 Kudos
Message 5 of 5
(1,425 Views)