NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

teststand

Hello, How to use limit loader if these sequence call in the main sequence?
EX: In all sequence panel, I've got MainSequence and MySequence and in
MySequence panel, in main menu I've got test with Numeric limits. So when I
do: tools,import / export limits, I find Numeric limits of the main sequence
but i can't find Numeric limits of MySequence. These's a file limitloader.c
but I don't understand how modify it to resolve my problem. Thank jou for you
help MARTINEAU Emmanuel.


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 1 of 2
(3,666 Views)
Hello MARTINEAU,

The limit loader only loads the sequence that is running. I cannot load
subsequences because those sequences aren't loaded yet.

NI recommends that you place a limitLoader step in each sequence.

It will be difficult to modify the source code to load limits in subsequences.
If you specify your subsequences by expression, it is impossible. If you
don't specify by expression, you can parse the step property which specifies
the sequence call, find the sequence file and then set the limits. However,
this will actually change the sequence file.

Let me explain. When execution begins, TestStand makes a runtime copy of
local and file global variables. It also makes a copy of non-hidden step
properties, i.e. Limits.High. The copy is necessary so para
llel executing
sequences will have a separate copy of these variables.

Back to the limit loader. If you find the subsequences, you can't change
the runtime copy of the variables because they haven't been copied yet.
So, you have to modify the seq file instead.

That is why NI didn't do it.
Thanks,
Paul Mueller
NI


quasarconcept@my-deja.com wrote:
>Hello, How to use limit loader if these sequence call in the main sequence?>EX:
In all sequence panel, I've got MainSequence and MySequence and in>MySequence
panel, in main menu I've got test with Numeric limits. So when I>do: tools,import
/ export limits, I find Numeric limits of the main sequence>but i can't find
Numeric limits of MySequence. These's a file limitloader.c>but I don't understand
how modify it to resolve my problem. Thank jou for you>help MARTINEAU Emmanuel.>>>Sent
via Deja.com http://www.deja.com/>Before you buy.>
Message 2 of 2
(3,666 Views)