LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

configure shared variable programmaticaly

Solved!
Go to solution

Hello, 

 

I use Single Process Sared Variables in an RT application, and I would like to configure some parameters programmatically, like the RT FIFO parameters (FIFO type, number of arrays, number of elements in array).

If someone can explain me how to configure this parameters programmatically in my code, or provide me an example, it will be very appreciate.

 

Thanks in advance. 


Matthias Baudot | Software Architect | Founder & Owner at STUDIO BODs | DQMH® Consortium Board Member & Trusted Advisor

STUDIO BODs     LabVIEW Champion     Certified Professional Instructor     DQMH Trusted Advisor     DQMH Consortium Board Member     GCentral Sponsor

 Check out my LabVIEW presentations and videos!

0 Kudos
Message 1 of 3
(2,948 Views)
whether or not your using DSC see the thread How do I get/set a shared variable programmatically? I found the DSC module has a good starting example to work with...
0 Kudos
Message 2 of 3
(2,935 Views)
Solution
Accepted by mbaudot

There is a document in the Knowledgebase which solve my problem.

http://digital.ni.com/public.nsf/allkb/4757137A667431FD862572440008614E 

This document permit to obtain a Shared Variable reference. Then, I've just to use the property node to configure my parameters.

 


Matthias Baudot | Software Architect | Founder & Owner at STUDIO BODs | DQMH® Consortium Board Member & Trusted Advisor

STUDIO BODs     LabVIEW Champion     Certified Professional Instructor     DQMH Trusted Advisor     DQMH Consortium Board Member     GCentral Sponsor

 Check out my LabVIEW presentations and videos!

0 Kudos
Message 3 of 3
(2,914 Views)