ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting tarted with LabWindows/CVI realtime

Hello everyone, i'm getting started with LabWindows/CVI and it's realtime module. I've got a NI PCI-6221 and i want to use it to generate some signals. I want to know how to communicate the host (control) part of my software and the targetRT part. Please advice me some example or tutorial which describes howto do that. 

0 Kudos
Message 1 of 5
(3,570 Views)

Have you read through the "Getting Started with LabWindows/CVI" PDF found on the startup screen of CVI? It does a good job of discussing how you make a RT CVI project.

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
0 Kudos
Message 2 of 5
(3,549 Views)

Yes, of course, but i need more. This tutorial only describes how-to build application for RT target, but does't describes how to communicate with host application and many else.

0 Kudos
Message 3 of 5
(3,546 Views)

There are several examples available in the example finder under Toolkits and Modules » Real-Time which should demonstrate what you are looking for.

 

Communication between the host and target is usually done using network published shared variables, the whitepaper below discusses this:

https://www.ni.com/en/support/documentation/supplemental/06/using-the-labview-shared-variable.html

 

You can find an example of this usage here:

https://forums.ni.com/t5/Example-Code/CVI-and-LabVIEW-Network-Published-Shared-Variables/ta-p/352165...

 

Are these resources what you are looking for?

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
0 Kudos
Message 4 of 5
(3,543 Views)

thank you so much.

0 Kudos
Message 5 of 5
(3,540 Views)