06-28-2007 10:56 AM
06-28-2007 03:08 PM
06-28-2007 03:48 PM
Hi caviars,
I have just tried the example using TS3.5 and added a PostStep Callback and although when queried it reports that the PostStep Callback is enabled. It doesn't actually get executed. I wonder if this is a bug. Are you using TS3.5 or TS4.0?
Regards
Ray Farmer
07-02-2007 01:17 AM
Hi Ray,
I am using TestStand 3.5. I'm not sure whether this is a bug or not since I don't have TS 4.0. Is it run OK when you run it with TS4.0? If it is a bug, is there any workaround for it? Should I report this bug to NI? If so how can I do that?
I'm not sure if there any other way to update the OI progress bar using the Process Model. FYI I cannot make any changes to the client sequence file (written by customer). So any modification must come from the Process Model
I cannot use TestStand 4.0 or downgrade to 3.0 since the client sequence file is written in TestStand 3.5. The client sequence already caused me some problem (see the begining of this thread).
07-02-2007 03:35 PM
07-02-2007 07:51 PM
Hi Jon,
The problem only occured if you load the sequence file dynamically. You are doing the right thing but you have to try it using the "DynamicClientSequenceFile". example instead of the "DisplayingProgressAndStatus"
What you need to do is to add the ProcessModelPostStep callback (+ message popup) into the process model "DynamicClientModel.seq" included inside the example folder. Then run the "Load me first.seq" sequence. Initially you will see the message pop up from the ProcessModelPostStep since you still executing the "Load me first" sequence. After that when you select which sequence you want to run (either A or B) you will find that the message pop up from the ProcessModelPostStep will no longer executed. This will happen regardless which sequence you select (both A or B)
The sequence A or B is loaded using the Execution.SetClient() property. I use this method to load my client sequence file and I exeperience the same problem. I'm attaching a modified DynamicClientModel.seq for you to try out
Thanks
07-03-2007 12:35 AM
Jon,
Caviars, is right, you have to look at the example "DynamicClientSequenceFile" not "DisplayingProgressAndStatus". I haven't looked at this example but it probably doesn't use the same mechanism as the other one.
Regards
Ray Farmer
07-03-2007 09:29 AM
07-13-2007 03:42 AM
Due to some other problem with the client Sequence File the developers decided that they will change the whole sequence file structure to a new one. They believe there some are issues when they using DLLs compiled using Visual Studio 6 and Visual Studio 2003 together. I will update the tread if there any new news.
Thank you for all the help and responses.