ni.com is currently undergoing scheduled maintenance.

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

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

create file global in labVIEW

I have a VI, which is called in TestStand. The VI starts new executions according to a test.ini files. It means, the VI is running until all the seqeunces are done.

 

In the beginning of this VI I create new FileGlobals. My problem is, that I see the new FileGlobals just after the VI finishes to run. I want to see the changes during the VI is running.

0 Kudos
Message 1 of 6
(4,625 Views)

How are you creating it?

 

What do you mean you 'see' the new FileGlobal after the VI finishes running?  Are you writing/reading when the sequences are running?

 

PH

0 Kudos
Message 2 of 6
(4,602 Views)

I create the file globals once when the VI starts, and I also set their values. Then the VI starts some new executions (sequences) in the sequence file, where my VI is called from. During those new execution I watch the new file globals, which should be there as I created them programmatically. But the new file globals cannot be whatched, because it seems they are not created.

 

When all my new executions are done, the VI stops, and then I see immediately the new file global in the whatch viewer in the sequence editor.

0 Kudos
Message 3 of 6
(4,590 Views)

Well could you post a examle .seq and .vi to specify exactly what you are doing? Right now I would suspect that your VI may create Fileglobals, but gives the handles to TestStand only when finished running as return values. or am I missunderstanding something?

0 Kudos
Message 4 of 6
(4,577 Views)

yes, you understood it right!

and how to give the handles to TS before ending the VI?

0 Kudos
Message 5 of 6
(4,567 Views)

I tried for sometime. But I am not sure if it is possible. Normally you want a step to be closed, for the next step to begin.

0 Kudos
Message 6 of 6
(4,501 Views)