キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Dynamic Measurement name

Problem: I have a multiple limit numeric test that does NOT have a defined amount of measurements returned. The number of measurements returned is based on a parameter passed to the LabVIEW VI (i.e. test ran over an array of frequencies within VI). I need TS to evalute the results and be able to Differentiate each result based on that input parameter.
 
For example: I pass 10 frequencies to a vi and it returns an array of results for TS to eval. How do I Differentiate each result in the report? Remember, changing result array size. 
 
 
Solutions:
a. Could I add the frequecy to the report table within the row of the measurement? (if so how)
b. SHould I change the measurement name dynamically with the freq name concated on the measurement name? (if so how)
c. ?
 
 
Thanks,
Derek


Message Edited by Derek@Calbay on 02-21-2008 02:44 PM
0 件の賞賛
メッセージ1/9
11,526件の閲覧回数

Hi Derek,

I have written a small example that do dynamic array creating and filling measurements to a MultipleNumericLimitTest.
I did this by using only TS-Stuff just for demonstrating the solution's way and being language independent. Normally you will do this in your favourite CodeModule.

Greetings from the lake of Constance, Germany 

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
メッセージ2/9
11,497件の閲覧回数

Thank you for putting together an example Juergen. I'll experiment with it and adapt to my app. You time is GREATLY appreicated.

 

Regards,

Derek Fluegge

Irvine, California

0 件の賞賛
メッセージ3/9
11,476件の閲覧回数
Hi,
Can you help me to do the same for TestStand 3.5?
Thanks in advance.
Vishal
0 件の賞賛
メッセージ4/9
11,326件の閲覧回数

Hi

I have resaved my example in TS3.5
I take a look on it. The Example is done by using
Statement steps wich do some TS-API calls.

But a i know API calls are valid since TS4  -So this in not working !!
to get it running you have replace the Statment steps by the Active-X Action steps.
you have use only the same function calls there.

hope this helps

Juergen

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 件の賞賛
メッセージ5/9
11,324件の閲覧回数
hi,
thanks for the reply.
I could call the Active X API for the first step : "Get Property of Multiple Numeric Limit Test", but I got stuck from the next step. "Set size Ni_Limit Measurement".
Can you help me for this?
br,
vishal

0 件の賞賛
メッセージ6/9
11,274件の閲覧回数

Hi vishal,

Try this attached seq.

Hope this helps

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 件の賞賛
メッセージ7/9
11,256件の閲覧回数
hi,
Thanks for the TS3.5 version of the code.
i got one system installed with TS 4.0 So i tried with that too.
One more problem:
the code works fine if the MultipleNumericLimitTest sequence step and the complete code is in same sequence. If the MultipleNumericLImitTest step is in some other step the code is not updating the Limits and Dataarray option.
Please see the attachment.
How to update this data?
br,
vishal


0 件の賞賛
メッセージ8/9
11,251件の閲覧回数

Hi vishal,

I have modified your file. I was passing a parameter to your Sub-Sequence.

Greetings

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
メッセージ9/9
11,220件の閲覧回数