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.
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.
12-06-2006 04:34 AM - edited 12-06-2006 04:34 AM
Message Edited by Sean on 12-06-2006 10:35 AM
Message Edited by Sean on 12-06-2006 10:35 AM
12-06-2006 02:59 PM
Sean,
Confused from your comment "The problem is that if I query the LoopIndex from the API for each iteration of the loop, its value in each case is zero."
You have a step which is using None Adapter and its looping, how are you doing the querying with the API.
Can you post an example.
Regards
Ray Farmer
12-07-2006 04:16 AM
I didn't want to over-complicate the issue. But what I'm attempting to do is modify the process model so that, among other things, the looping variable is recorded.
There are valid reasons for using a fractional LoopIndex. If a step measures the current, and it is run multiple times then the loop could step through (say) 0.5V increments. This is fully supported by TestStand, and it works perfectly.
The process model gets the reference for each step. I can then use the API to find out the LoopIndex and this all works perfectly, IF the LoopIndex is an integer.
If the LoopIndex is set to increment through these values:
0, 0.5, 1, 1.5, 2
Then the values read from the API are:
0, 0, 1, 1, 2
I believe this is a fault report, so if anyone from NI wants to log this as a report then please say so. Otherwise I'll go through whatever official channels there are.
12-07-2006 08:51 AM
12-07-2006 09:57 AM
12-08-2006 05:05 AM - edited 12-08-2006 05:05 AM
Message Edited by Sean on 12-08-2006 11:06 AM
12-08-2006 10:18 AM
12-11-2006 04:04 AM
Absolutely brilliant, thanks for the workaround. That works superbly.
I forgot about the antique LabVIEW/TestStand functions - I don't normally need them these days.
The API itself is still wrong though - is anyone from NI able to log this?
12-11-2006 09:19 AM
We can't change the property type without breaking backwards compatibility. However, in a future version of TestStand, the help for that property will note the issue and the work-around.
12-11-2006 10:14 AM
I understand.
The only issue remaining is to find out which idiot gave my earlier message a 1* rating.
Thanks again for your help there.