02-26-2008 03:51 PM
Hi Ray,
Again thanks for your help. (Thanks to you, Juergen, too)
I finally realize what the confusion is.
We have all our sequences saved as individual files (i.e. one sequence, one x.seq file) rather than having one big sequence file that contains multiple sequences. Then we have one top level sequence file that pulls all sequence files together.
We felt that having individual files would give us the following two main advantages:
*It would be much more manageable as we will have a large number of sequences and multiple programmers working concurrently on different sequences. e.g. individual folders can be created for each sequence and all associated material (e.g. vi files and documentations) are contained in that folder.
*Each sequence file will be completely modular so when one file/sequence is modified, we will be much more confident that other files will be independent from the changes.
So with this approach that we have taken, is there a way to have a global variable to be shared by all sequence files.
From what I learn so far, I guess “FileGlobals” won’t do it and I am left with only one option, “StationGlobals”?
It does seem to me that, TestStand does not encourage using multiple sequence files to build up a big sequence?
As regard to “SetValByOffset”, do you actually mean “SetValVariant”? “SetValVariant” can accept my custom type as its “newValue”, however it does not support “InsertIfMissing”… I am still stuck even with the “StationGlobals” approach.
Regards
Phillip
02-27-2008 02:00 AM
Hi Philip, Hi Ray
There one thing i want to discuss with you about sharing variables over sequence files.
What do you think about Variable serialization.
Recently i started a thread about this topic.
http://forums.ni.com/ni/board/message?board.id=330&thread.id=18207
I think if you use this for sharing "static" varibles this could be a useful solution.
Greetings
Juergen