NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Teststand engine inVB.net

I am currently writing an application in VB.net using the teststand 3.5 engine. I can load and execute existing teststand sequences using the engine but cannot find a way to create new sequences or at the very least insert new steps into existing ones. Can anyone help please ?
 
 
0 Kudos
Message 1 of 3
(3,145 Views)

Hi,

Have you looked here http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3E03456A4E034080020E74861&p_...

These are early example but they maybe a starting point. Also there are some examples in the Teststand examples folder as well.

Also there is a section in the Teststand help under Writing an Application with the API.

You start off by using the Engine.NewSequenceFile to create your blank sequencefile.

Then you have the option,

a) cut and paste from a template sequencefile (its not really a template but just a sequencefile with a set of step type already to use), which has some steptype to use. You would use the PropertyObject.Clone method to paste them into your sequencefile. I think thats how the examples above work.

or

b) open the various type palettes and use the InsertStep method to build your sequencefile.

Here's a typical response found using the sreach : http://forums.ni.com/ni/board/message?board.id=330&message.id=389&query.id=42867#M389 it may add additional information.

Hope some of this helps to get you started.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,127 Views)
Many thanks Ray,
 
Your information is most helpful especially the example VB files. I think I can move forward with this information.
 
Thanks
 
Paul.
0 Kudos
Message 3 of 3
(3,122 Views)