Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

What is a simple method for communicating between LabView for Linux and RT?

Right now I'm trying to setup a RT system and LabView for Linux or two computers. I know both support Datasocket, but neither can run the server unfortunately. Since it appears I can not use Shared Variables or Datasocket for this, what other methods would work best? Is there a method that is as simple as DS/SV that could be used? Basicly what I'm trying to avoid is having to manualy send packets back and forth.

Im running LabView 8.2.1.

If I'm wrong about the DS usability too, let me know 🙂


Thanks!
-Mark


0 Kudos
Message 1 of 6
(6,304 Views)
 

You might be able to use the Modbus Labview Library on the Linux side and Modbus I/O server on the RT side.

 
Message 2 of 6
(6,300 Views)
Thanks!

This looks like it should work out pretty well. 🙂
0 Kudos
Message 3 of 6
(6,289 Views)
Well, it turns out the LabView Modbus Lib comes only in an exe.... so is there a version out there for Linux at all? I know a lot of VIs get installed after the installer completes on Windows.. but I have a feeling it does a little more than that. I can transfer some VIs over to the Linux side.. but how would I go about setting up an IO server using this exmaple: http://www.ni.com/swf/demos/us/labview/dscmodbus/  under Linux?

If there is a Version for Linux (which I would hope there would be since modbus can work on any platform), please let me know.. but so far I havent found one on ni.com
0 Kudos
Message 4 of 6
(5,592 Views)

The Modbus Labview Library used time loops.  Not sure but maybe this is why there is no support for Linux.  However, some people have converted the Modus Labview Library to work with Labview 7.0 which does not have time loops either.  Here are some links to v7.0 Modbus Labview Library:

http://forums.ni.com/ni/board/message?board.id=170&message.id=151337&requireLogin=False

or

http://forums.ni.com/ni/board/message?board.id=170&message.id=174859&query.id=349110#M174859

 
0 Kudos
Message 5 of 6
(5,585 Views)
Thanks for the quick reply!

I'll give those a shot and I'll post back if I run into any more issues.
0 Kudos
Message 6 of 6
(5,583 Views)