05-27-2008 02:52 AM
05-27-2008 11:09 AM - edited 05-27-2008 11:11 AM
05-28-2008 02:18 AM
Hi Doug,
well we are using a C# console executable to adress the TS API and the delay ocurres at the moment when I call
myEngine = new Engine();
or in a sperate (not usable) user-interface
axApplicationMgr.Start()
. We have investigated with the given user - interfaces and encountered a similar delay. Depending on which programming language is used between 20 and 30 sec. But these aren't fix number the delay is variable, however it is about 20 sec. I even implemented small executables in C#, VB.NET and LabVIEW, which only instanciate the TS Engine and mesured the tick around it. All with the same delay. I think, that the TS engine ist setup, but I thought that the TS engine were something static and eith the above expression I only get a reference on it. Am I wrong with that?
05-28-2008 01:09 PM
05-28-2008 01:13 PM - edited 05-28-2008 01:16 PM
05-28-2008 04:48 PM
05-29-2008 12:57 AM
05-29-2008 03:19 AM
Hi Doug,
thanks for the detailed reply. Well we have a quite new Teaststnd installation, as we bought it 2 months ago and we are not using custom types ore steps. I also narrowed down that we ain't use unspecified search directories. And the execution time does variate a lot from pc to pc. As the execution on a NI PXI system is quite fast I think that your right with the assumption, that the hardware devices or drivers could be involved. I'll check this on two identical test hosts we have. But I doubt that the soltuion is taht simple 😉
You mentioned something, that I found quite interessting.
How could I do that? We want to use TS as a test executer on a single hardware device, wich we develop and want to test the HW device as well as the SW components. As a test specifier we use a web client, which basically start the TS engine either remote or local over a browser script. But it shall be executed on the PXI rack. Therefor it is logical to leave the TS engine in a "endurance run". But how can we keep a statical instance of the engine, when we need to run an exe for every test we want to carry out?
dug9000 wrote:...
Also you might consider a different architecture for your system that doesn't involve recreating the engine each time and instead reuses the same engine for each run.
...Message Edited by dug9000 on 05-28-2008 01:16 PM
05-29-2008 09:18 AM
If I understand you correctly you have your system set up to run like this: insert the board and run the executable. Then the EXE closes and you insert another board and run the EXE again. Is this correct? if it is then this is the wrong way to set up your test station.
You should have your station set up like this: Start your EXE, Your EXE upon startup should open TS and start the engine and load the correct sequence file. Then you load the board and hit the run button. it should then test the boards and then stop and then go back to a state and wait for another board to be placed for testing. this is how it should be set up that way the 20-30 sec startup hit only affects you once and then it will not be that big of a deal.
You should also time the startup of the sequence editor. you will find that it takes the same amount of time to start the editor as it does to start your application. There is nothing that you can really do about it.
just my 2 cents
05-29-2008 10:00 AM