LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i use RT vis can any body guide me in this regard

How to use RT vis for acquisation and transferring data using TCP?
Suresh Thangappan
0 Kudos
Message 1 of 3
(2,948 Views)
Hello Suresh,

If you are familiar with data acquisition applications on LabVIEW, it'll be exactly the same. The only difference is that you will run the same VI while targeting to an RT controller instead of your local system. For more detailed info on RT systems I recommend you read the following tutorial Introduction to LabVIEW Real-Time and Its Hardware Platforms.

There are several ways to transfer data from RT systems due to different needs for different applications and we have a wizard to help you with that. To learn about the communication wizard and different ways it can transfer data check out the following tutorial Using the LabVIEW Real-Time Communication Wizard

If you need more info on RT systems, check out the main Developer Zone page for Real-Time module

Let me know if you have further questions!

Best regards,

Yusuf C
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,948 Views)
The RT VI's do not run exactly as they would on a Windows PC. You must avoid the use of global variables and adding to existing arrays because RT doesn't manage memory as well as Windows. Use queues in place of globals. Pre-dimension your array sizes and try to use Replace Array Subset instead of Build Array whenever possible.

When using TCP, be sure to use appropriate timeout values for TCP Open Connection, Listen, Read, and Write. Also watch out for backlogs in data queues when the PC to RT connection is idle.
0 Kudos
Message 3 of 3
(2,948 Views)