NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Ryan76
Posts: 3
0 Kudos

Can a non-Realtime LabVIEW program communicate with a cRIO-9074?

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.

Active Participant
srm@viewpointusa.com
Posts: 317
0 Kudos

Re: Can a non-Realtime LabVIEW program communicate with a cRIO-9074?

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.

Stu McFarlane
Viewpoint Systems, Inc.
Member
Ryan76
Posts: 3
0 Kudos

Re: Can a non-Realtime LabVIEW program communicate with a cRIO-9074?

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...

Member
taper
Posts: 145
0 Kudos

Re: Can a non-Realtime LabVIEW program communicate with a cRIO-9074?

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


--Using LV8.2, 8.6, 2009, 2012--
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page