Good morning,
I'm writing a LabView VI to add new steps during the execution of a sequence. I've found a few issues and need assistance. In LabView, I use an Engine.NewStep followed by a Sequence.InsertStep.
Issue #1:
I run my sequence using "Test UUTs" or "Single Pass" in the sequence editor. If I have breakpoints set, the sequence works just fine. My new steps appear in the Steps tab and they appear in the report once the sequence is done.
If I remove all breakpoints, I get the following message during the execution:
"Invalid step index '16' for 'Main' phase in sequence 'MainSequence'. Error Code: -17301, Index out of range."
As a workaround, I have inserted an Exe
cution.Break at the beginning of my VI. I get no errors in the sequence editor when I do this. The problem with this is my execution is paused in the sequence editor once the VI completes. The execution remains paused even if I include an Execution.Resume at the end of my VI. I want the sequence to run all the way through without pausing. Any suggestions?
Issue #2
As I add steps during the execution, I have been using the None adapter. If I use the LabVIEW or CVI adapters, can I programmatically specify the module that I want to use? As a workaround, I might try cloning existing steps, but I'd much prefer to create all my steps from scratch.
I'm writing a system test for a highly configurable multiplexer, so it's important that I can reconfigure my sequence as it runs. Has anyone else tried to do this?
Thanks,
Chris Norris
Carrier Access Corp.
cnorris@carrieraccess.com
(303) 218-5826