02-27-2013 06:08 AM
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.
02-27-2013 12:37 PM
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
02-27-2013 11:35 PM
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.
03-01-2013 06:59 AM
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?
03-01-2013 09:12 AM
yes, you understood it right!
and how to give the handles to TS before ending the VI?
03-12-2013 09:51 AM
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.