VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling sequence file without need to pass variables

From one sequence file,  I'd like to call another sequence file outright without passing any variables, but I get a compile error regarding declarations.  Do I really need to declare all the variables in both files?

0 Kudos
Message 1 of 4
(5,502 Views)

This sounds very similar to your last post: http://forums.ni.com/t5/NI-VeriStand/How-to-run-referenced-sequence-file-from-within-sequence-file/m...

 

If you have defined parameters in the real-time sequence you are trying to call, that sequence will require those inputs.

If the sequence you call does not have any parameters defined, you will be able to call it without passing in any values. 

 

Here are a few help documents on the topic, for your reference: 

http://zone.ni.com/reference/en-XX/help/372846F-01/veristand/calling_rt_sequence_from_expression/

http://zone.ni.com/reference/en-XX/help/372846F-01/veristand/creating_rt_sequences/

 

 

Applications Engineer
National Instruments
CLD Certified
0 Kudos
Message 2 of 4
(5,470 Views)

Didn't mean to post twice; my text was deleted when I hit the preview tab, but looks like it got posted anyways.

 

I'm only doing this because loops are not available in stimulus profiles.  Thanks for the great info!

0 Kudos
Message 3 of 4
(5,456 Views)

This sounds like: http://forums.ni.com/t5/Additional-NI-Software-Idea/Subsequences-of-stimulus-profiles-should-be-able...

If you agree, please kudo that suggestion. I have a nested sequence/subsequence structure. In some cases, I need to pass 30+ parameters in to the top calling sequence because my of the many subsequences. This makes it quite cumbersome and bug prone.

0 Kudos
Message 4 of 4
(5,304 Views)