07-05-2012 06:08 PM
Hello. This is my first attempt at the forum; so hopefully I don't screw this up. I'm wondering if a regular labview program (non-realtime or FPGA) can be written to communicate with a cRIO-9074 processor. I'm interested in developing a LV program for my customer to use so that he can monitor his machine that is controlled via a cRIO-9074. Thanks in advance.
07-05-2012 07:57 PM
UDP or TCP options. web services are also possible. depends on how many data points and rates etc you want to send. you can also use remote panels without coding anything extra.
07-06-2012 05:54 AM
Here's a little more info... We're planning on connecting the cRIO-9074 and our customer's laptop to the same plant network over Ethernet. I expect that there will be about 250 data points (mix of analog floats and doubles and digital values) that will need to be passed back and forth between the LV Realtime program in the cRIO-9074 hardware and the LV program on the laptop. The LV program on the laptop might have around a dozen different screens designed for monitoring/interfacing with the machine.
Not exactly sure where to go to research the UDP or TCP or web services options... Are there standard VIs already set up to communicate over Ethernet (TCP I believe) to other LV programs (including LV Realtime)?
Where can I learn more about remote panels? Sounds interesting...
07-06-2012 11:41 AM
A Windows Host and Realtime Client is a pretty common design pattern. I've always used Shared Variables for this. They add a little program overhead to straight TCP but IMHO are much easier to use. With the size of the front panel you're describing I doubt a remote panel will work. I've never had good luck with them, a cRIO isn't really designed for displaying data but is very good at collecting, processing, and transmitting it.
http://www.ni.com/white-paper/4679/en