NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand software is slower when I use it through my custom GUI than in stand alone ?

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,

 

 

0 Kudos
Message 1 of 7
(4,053 Views)

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

0 Kudos
Message 2 of 7
(4,049 Views)

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?

Eric B.
National Instruments
0 Kudos
Message 3 of 7
(4,024 Views)

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

0 Kudos
Message 4 of 7
(4,017 Views)

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.

Eric B.
National Instruments
0 Kudos
Message 5 of 7
(3,995 Views)

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...

0 Kudos
Message 6 of 7
(3,991 Views)

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

 

 

Eric B.
Applications Engineer

(Florent, sorry for the mixup, I accidentally posted under a different account and can not delete my posts)

Message Edited by asdfasdfasdfw on 10-27-2009 08:27 AM
0 Kudos
Message 7 of 7
(3,940 Views)