07-21-2016 02:35 AM
I want to use the subsequcename, but I cannot get it. Do you have some suggestions?
07-21-2016 02:58 AM
Can you Brief your requirment much more clear?
Do you want to use the sub sequence name during run time?
07-21-2016 03:03 AM
I assume that you want to call the subsequence. Correct?
If so, use the Sequence Call step and configure the subsequence as module.
If you want to rename the subsequence, select it in the sequence pane and press F2 (standard key in Windows for renaming things).
Norbert
07-21-2016 03:07 AM
Yes, I want to acquire the subsequence name in run-time. I have a sequence file consists of one mainsequence and too much subsequences, so I want to acquire their names easily without manual operation.
07-21-2016 03:08 AM
Thank you all the same.
07-21-2016 03:20 AM
What is the purpose of this? In case you want to have this for documentation purposes, there is the "Sequence File Documentation" tool (Tools) you can use.
Norbert
07-21-2016 03:25 AM
Hi,
You can aquire the subsequence name at run-time, from within the subsequence, by using the following expression:
RunState.Caller.Step.Module.AsSequenceCallModule.SeqName
Regards,
Charlie Rodway | Principal Software Engineer | Certified TestStand Architect (CTA)
Computer Controlled Solutions Ltd | NI Silver Alliance Partner | GDevCon#1 Sponsor
07-21-2016 03:26 AM
I want to generate a custom report by LabVIEW, so I should give the subsequence name to a VI to finish the report.
07-21-2016 03:30 AM
Besides i fear that you create yourself unnecessary work (read: instead of modifying TS reporting creating a complete new one), you should have step storing "RunState.Sequence.Name". You then pick up this variable in your LV reporting code.
Norbert
07-21-2016 03:46 AM
Thank you very much! The report generated by TS is too complex to our workers, so I want to find a friendly one.