PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet and SIT

I have a PXI-8106 running as a real time target to run simulations in SIT.  This controller has a single ethernet port that I use to interface with the client VI while the target is running a simulation.  If I were to put in a supported ethernet module, like a PXI-8231, could I use it to have the model communicate with another model running on another real time target using SIT?  Could I use it to communicate with another device that also has ethernet capabilities?

 

-Eric

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

Eric-

This would be possible by modifying the SIT driver VIs.  You will also have to set different IP addresses for each network card as defined in the Knowledge Base Article Using A Second PXI Network Card with my PXI Real-Time Controller.  You may also be able to use UDP instead that might be easier for you.  Take a look at the National Instruments Developer Zone Article UDP Communication in LabVIEW for more information.  The only issue with UDP is there is no handshaking procedure associated with it.  Therefore you may miss data. 

 

Another suggestion would be since network communication isn’t deterministic anyway, you could send all the information to one computer.  Then, use TCP or network shared variables to communicate between systems.  Will any of these suggestions work for you?  Post again if you need any more information on any of these topics.

Regards,

Mike S
NI AE
0 Kudos
Message 2 of 4
(3,714 Views)

Is there a way to do this automatically through SIT connection manager -> Hardware I/O (like with a DAQ or CAN card) or is the only way to to it to manually modify the driver VI?

 

-Eric

0 Kudos
Message 3 of 4
(3,703 Views)
Eric-

That is true.  You can select the Real-Time Target in SIT Connection Manager by specifying the device by IP address. 

Regards,

Mike S
NI AE
0 Kudos
Message 4 of 4
(3,691 Views)