From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with Multiple Numeric Limit Test

Hi,

I'm trying to use the MultipleNumeric Limit test and I have problems with it

1) Since I use TestStand 3.1, is it recommended to uses the new type template rather than the legacy one?
2) When you let TestStand creat the test code for you it gives you the following:

// The following code shows how to access a property or variable via the TestStand ActiveX API
// To use this code you must add a parameter "struct IDispatch *seqContextDisp" to this function
// and pass a sequence context to it.
// tsErrChk(TS_PropertyGetValNumber(seqContextCVI, &errorInfo,
// "Step.Result.Measurement[0].Limits.Low", 0, &lowLimit0));


I would appriciate if anybody can show me an example using that. I just don't understand it!!
Cant't I just pass the seuence context parameter as follow: 'CAObjHandle seqContextCVI' ?
0 Kudos
Message 1 of 2
(2,448 Views)
This post has been answered here.
0 Kudos
Message 2 of 2
(2,438 Views)