NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

create a personalize parrallele model with C#

hello
 
I will want create or modify a (personalize)parallel model for teststand but with a programming language c#.
My problem is a gestion of button in teststand, because i dont understand the interaction between my program and TestStand.
When i click in the button "OK" ,i want start a "Main Sequence".
When i click in the button "Terminated", i want Stop a sequence.
I will want to know, how manage a button( c#) to Teststand
I have do use a notification? if Yes, How use it?
 
My parallel model  manage X to 14 sequences. In teststand, I call the front-panel and the fonction for call a "Main Sequence" anything else .
The fonction "Call Main Sequence" is not realize because i demand your help.
 
thank you in advance
0 Kudos
Message 1 of 2
(2,842 Views)

Hi Brothairs,

I don't exactly understand what your problem is. Do you just  want to customize the sequence model, or to create a new operator interface for the sequence execution or both?

In the first case, i doesn't make sense  to modify a sequence model with C#. The only way to solve the problem is to modify it in Teststand directly.

In the second case, you can just modify one of the operator interfaces you have in Teststand ( Full featured or simple), or create your own . In the case you want to create your own (i suppose it's the case) you muss include the Teststand API and UI to communicate with Teststand. You can't  use the common buttons from the Toolbox to send an event to the Teststand API. You muss use the Teststand buttons that you'll see after you included the API and UI in your Project. And to specify which sequence ( "Main Sequence" or whatever) , just do it in the button_click_event.

I hope this could help, let me know if you have further questions.

Noubissi André

Teststand 3.5
Visual Studio 2005
Message 2 of 2
(2,788 Views)