NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Howto create a custom Teststand application, which can handle paralell execution ?

Hello,

 

I would like to create a custom application in C# based on teststand which can handle multiple executions in paralell.

 

The custom interface example provided by NI are limited to "sequential execution".

 

I have created a test application which can execute multiple sequences in parallele ... but it is the right way ???

 

My architecture is as folow ...

 

  • A main form containing an application manager
  • Multiple tabs containing all ... (using  usercontrol) an executionviewmanager, a sequencefileviewmanager and a sequenceview

With this architecture i can run differents sequences in parallel ! But this don't work when i try to execute twice the same sequence file.

 

What i don't understand is the link between my application and the process model ?

I can choose a process model parallel or sequentiel ... there is no difference !

 

What is the best way to create an application which can handle parallel execution, using the parallel process model ?

 

Thanks for help.

 

Manu.

Manu.net
0 Kudos
Message 1 of 7
(3,610 Views)

I the idea is you have a Test Sequence which you can run in multiple parallel execution by using the Parallel Process Model. You dont have to make any special application to do this the standard Sequence Editor or default full featured UI will do this.

Regards
Ray Farmer
Message 2 of 7
(3,608 Views)

Hi,

 

i have to build my own application because the end users don't want to use TestStand directly.

The aim of the application is to hide Teststand and to create a dedicated, userfriendly Hmi.

 

Manu.

Manu.net
0 Kudos
Message 3 of 7
(3,606 Views)

That's what the User Interface is!!!!  There are multiple articles and documents on customizing the User Interface.  I DO NOT recommend starting from scratch.

 

http://zone.ni.com/devzone/cda/tut/p/id/7560

 

What Ray is saying is that it is the process model that determines the parallelism not the User Interface.  Therefore any application that can run a sequence file will do it in parallel if you just use the default parallel model.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 4 of 7
(3,598 Views)

Thanks for your answer,

 

I build my custom interface not from scratch ... but by derivating the userInterfaces furnished by NI.

 

I have already build previous applications using the TestStand api ... but only in sequential mode.

 

My problem is ... i don't have many feedback with the paralell process model ! I think i have understand the problem 5 minutes before your answer.

I was launching a sequence "with the parallel process model" and during execution i get X reports (Which are concatenated at the end)

I thaught that the parallel process model give the ability to launch N different sequences in parallel ... in fact the same sequence is played N times in paralell.

 

Thanks for the link to the documentation.

 

Manu. 

Manu.net
0 Kudos
Message 5 of 7
(3,596 Views)

The basic Parallel Process Model expects the same Test Sequence to be run in parallel.

 

I did an example many years ago which allowed for different test sequence. Do a search on the forum should find it. I'll try search it out.

 

 

Regards
Ray Farmer
0 Kudos
Message 6 of 7
(3,590 Views)

here is that link

 

 

Regards
Ray Farmer
Message 7 of 7
(3,588 Views)