11-20-2015 03:23 AM
Hello,
i'd like to have some sequences like kind of private, i.e., it would be visible just in its sequence file. I search for it and didn't find anything, I also found some old posts saying that this is not possible, but I was wondering if that changed meanwhile.
I saw the flags to hide, but that doens't work, because it also hides the sequence in its sequence file.
Does anyone know something about it?
Solved! Go to Solution.
11-20-2015 08:07 AM
Hi,
I don't know if this is the solution you are looking for but if we look on how namspaces can be used in text base codng laganges there is a pattern where you have a subname space where you have tha atual implementation e.g. MyNamesapce.IOReader.Implementation where the MyNamesapce.IOReader is the name space the user using the lib is acessing. This prevents all the internal clutter to distract the user when using the lib.
In test stand that woul be having an implementation sequnce file (preferably in a subfolder namend implementation or internals) which have all the Sequnces which are "private" and then have the actual Sequnce only containing the sequnce which you want to expose.
Hope this helps if not please and tell me if you want some more elaboration on some part.
11-20-2015 08:26 AM
Hi Johan,
Thank you for your answer.
The thing is, that when I call a sequence file I don't wantto see all the sequences inside of it.
For example I have a sequence file to communicate with a device and it has a SET and a GET sequence and then I also have some subsequences that I use in those SET and GET sequences, but I don't want to see them when I call thesequence file. Is that possible?
11-20-2015 08:39 AM
Hi,
I have atatched a demo project showing what my intentions was with the previus post.
The SetGetLib has an interface file sequance wich uses internal sequnces file. This make all the interna clutter not visableto the user of the interface sequance file. The internal file could conatin many hunders of sequnces.
Hope this helps. If still unclear pleas tell me and I can elaborate some more on specifics.
11-20-2015 10:29 AM
Disable Tracing into the sequence. See the attached image.
Hope this helps,
11-23-2015 04:12 AM
Hi Johan,
Now I understood what you were saying. I was looking for a property to do that, in that way I would need just one sequencefile, but your solution works 🙂
Thank you for your help 😉
Best Regards
11-23-2015 04:31 AM
Hi,
Maybe this Idea for future relases
could be interresting for you as well
http://forums.ni.com/t5/NI-TestStand-Idea-Exchange/Add-some-OOP-feature-to-a-seqeunce/idi-p/1170207
Just rate.
Regards
Juergen
11-23-2015 04:52 AM
Happy to here it did work out even if I understand it's a work around. And j_dodek I agree. That would be nice. Rated 🙂
11-23-2015 08:00 AM
Rated 🙂
Hope they add this feature in the future.
Thank you all
Best Regards