10-20-2009 10:20 AM
Hello,
I need some help,
I don't understand why my TestStand software is slower when I use it through my custom GUI than in stand alone?
Thank for all answer.
Regards,
10-20-2009 11:01 AM
One more question,
I don't understand why my test software is faster when I restart or re-restart my GUI ?
maybe there is some pre-configuration yet done the second time I run the GUI but how can I have controle on that ?
Thank you
10-21-2009 02:40 PM
f.tardieu,
Does your test sequence run faster the first time or the second time? Also, what user interface are you using to compare to running your test sequence in the Sequence Editor?
10-21-2009 03:52 PM
Hello Eric,
The test sequence run faster the second time.
to be accurate :
I open my GUI, start my test sequence , this one is made in 120 ms then I close my GUI.
I re-open my GUI start the same test sequence and this one run faster ~ 100ms .
Nothing is runing on my computer during these two executions
I did it ten-times and the behavior is the same each time.
The correct time is 100ms (software made to be as fast as posible..)
my GUI is CVI programed
Thanks,
Florent
10-22-2009 01:30 PM
Florent,
1. How are you measuring the time of execution?
2. Do you see the same behavior when running in the LabVIEW user interface?
3. Are you using CVI code modules? If so, change your adapter settings to make your CVI code modules execute in an external instance of CVI rather than an internal instance and see if this changes the behavior of the sequence.
10-22-2009 02:03 PM
1. How are you measuring the time of execution?
- expressions for start/stop time within sequence
2. Do you see the same behavior when running in the LabVIEW user interface?
- I have done about 10 runs using LV UI and it is consistently fast
- I have consistent issues when running with CVI shipping UI
3. Are you using CVI code modules? If so, change your adapter settings to make your CVI code modules execute in an external instance of CVI rather than an internal instance and see if this changes the behavior of the sequence.
- I am using mainly CVI modules
- I tried the external instance but it is asking me to link to a project...
- I have different projects for the different CVI dlls used / I guess I am not sure on how to configure this setting - any tips would be really appreciated...
10-27-2009 08:23 AM - edited 10-27-2009 08:27 AM
Florent,
Thanks for the additional information. To set up your external execution, you don't have to link to the project that contains your DLLs, but a project containing the "execution server". The execution server is a special CVI project that is set up to run your code modules, and you can select it by going to <TestStand Public>\AdapterSupport\CVI\tscvirun.prj