LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

y cant i used clusters in network shared variables in labview RT

Hi.. I am using a labVIEW realtime system. I want to transfer a few set of information between the host and the the RT target using shared variables. There is no provision to create clusters as shared variables. Is there any specific reason for that? and If want to transfer clusters using shared variables between the host and the targer, Is there any possible way to do that or i cannot use clusters as shared variables..
 
Your inputs will help me a lot.
 
Thanks & Regards,
Sridhar
0 Kudos
Message 1 of 5
(3,863 Views)
Hi MSR,

You should post that question to the LabVIEW forums as these are the CVI forums.  If you are using CVI in conjunction with LabVIEW RT, let me know but it sounds like you are just using LabVIEW.  To help you get started, I did a quick search on our website for clusters and shared variables and found the How Do I Create a Shared Variable with a Cluster Data Type Using LabVIEW 8.x? KB that might help you out. 

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 2 of 5
(3,856 Views)
Hi Sridhar,

There is a method to access clusters from shared variables. You will have to save the cluster as a custom control and then add to your project by changing the type of the shared variable as a custom control. This link has the details on how to do this.

Please remember that you cannot use RT FIFO variables using this method. But you should be able to use this as a regular network-published shared variable.

Good luck!

Warm regards,
Karunya R
National Instruments
Applications Engineer
0 Kudos
Message 3 of 5
(3,818 Views)

Hi Jonathan & Karunya,

 

Thanks for your inputs. When I tried to follow the same procedure for Occurances it is not allowing me to create a network published shared variable. I did a work around logic for my application but i am curing to know the reason for the same. This would be useful for my future design.

 

Thanks & Regards,

Sridhar

0 Kudos
Message 4 of 5
(3,806 Views)
Duplicate post
Warm regards,
Karunya R
National Instruments
Applications Engineer
0 Kudos
Message 5 of 5
(3,784 Views)