Using the NI Batch process model, how do I access the FileGlobals of the
root process model (the one that runs before the Test Sockets are created
and initialized) from a client test sequence file? I've tried accessing
them via "RunState.Root.FileGlobals..." from the client test sequence file,
but the FileGlobal values I set in the Process Model can't seem to be seen
in the clients.
For example, in the ProcessSetup callback in the Batch process model
sequence file, I set FileGlobals.SomeFlag = 2. However, when I try to
examine "RunState.Root.FileGlobals.SomeFlag" from the Context tab in the
client's execution window, the value is always 0. I'm starting from the
stock NI Batch model, so I know I'm not acc
identally setting SomeFlag to 0
after the ProcessSetup call but before the Test Socket's MainSequence call.
I'm fairly new to using the Batch process model, but I thought "Root" was
supposed to point to "the first sequence context of the execution". Isn't
this the root process model? Does "RunState.Root" point to some 'other'
Root context?
---
Bob