NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Example on TestStand API for LabView

Hi,
I am working on TestStand 3.1 and Labview version 7.1 on windows 2000.
I have lot of doubts while going through TestStand API.
If any body have some good examples.
Please send it to me.
 
Holy
0 Kudos
Message 1 of 8
(3,666 Views)

Hi,

if you want to use the TestStand API for aspects concerning creation or modification of sequences take a look at:

...\TestStand 3.x\OperatorInterfaces\NI\TestStand 2.0.1 Operator Interfaces (Old)\Simple\LabVIEW 6.1 

if you want to get an impression of the methods, properties and events of the available GUI Controls look at:

...\TestStand 3.1\OperatorInterfaces\NI\Simple\LabVIEW

 

Regards,

Sunny
0 Kudos
Message 2 of 8
(3,663 Views)

Hi,

You can also try http://zone.ni.com/devzone/devzone.nsf/webcategories/0195DDBE3C3B6F0A862567B3006BED4E

Also search the teststand forum as an number of examples have been posted over the years.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 3 of 8
(3,657 Views)
Hi Ray,
Could you please help me on this issue.
I am using NI RFSA PXI 5660 RF Vector Signal Analyzer to analyse the data.
How to provide conectivity from TestStand to PXI 5660.
What I am thinking is that
I have to use the following IVI Step Type
1) Scope --  Performs single-point and waveform measurements with oscilloscopes.
2) Tools -- Sets or gets instrument attributes and performs utility operations on any IVI instrument.
 
But I am not sure about it.
Has anyone any ideas or example code?
 
Thanks and Regards
Nihal
0 Kudos
Message 4 of 8
(3,602 Views)

Hi holy,

I am not familiar with that instrument, but looking at the spec, it doesn't look like its compatible with IVI.

The product spec says it comes with a driver for labview and probably some example VI's.

Therefore to interface with TestStand you will have to use the LabVIEW adapter rather than the IVI step types.

If you are using TestStand 3.x, then you should be able to interface to the individual driver VI's or create your own higher level function VI and call these using the LabVIEW Adapter.

The driver doesn't appear to be available as a download from the NI website, otherwise I would have created an example sequence file for you.

Hope this offers some help.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 5 of 8
(3,595 Views)
Hi holy,
 
I stand corrected, just spotted some small print on the spec sheet and its says the unit is provided with NI-SCOPE. Therefore you can use the IVI step types for Oscilloscope.
 
I generate a simple sequence file using the IVI step type for you.
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 6 of 8
(3,593 Views)
Hi Holy,

There are also some examples using the IVI step type that ship with TestStand. You can find these in C:\Program Files\National Instruments\TestStand 3.1\Examples\IVI

In addition to this, check out Appendix C IVI Step Types in the TestStand Reference Manual, which you can find by going to your Help > Search TestStand Bookshelf then click on the TestStand Reference Manual link in the fourth bullet point in the New Users section.

Thanks Holy, have a good one!

Dan Weiland
Applications Engineer
National Instruments
Dan Weiland
0 Kudos
Message 7 of 8
(3,570 Views)

Hi holy,

As Dan has stated, there is an example of IVI step types in the examples\ivi. I have attached it any way (TS3.0 version).

Regards

Ray Farmer

 

Regards
Ray Farmer
0 Kudos
Message 8 of 8
(3,564 Views)