NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I export all expressions from a TestStand sequence file, or the whole file so I can search for expressions?

Tools >> Import/Export Properties looks promising but I never get the acual expression no matter what I select.

0 Kudos
Message 1 of 9
(5,417 Views)

You can search within TestStand.  Why do you need ot export them?

 

Go to Edit>>Find/Replace In Files...  Then you can set up the filter however you'd like.

 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 9
(5,411 Views)

Good point, but I want to write software that parses a file with ALL the expression. And I just figured out how to do it; you can save the file as XML. That's not where it should logically be, in the File >> Save As... place, but a sequence file properties dialog box that I don't have the exact name right in front of me.

0 Kudos
Message 3 of 9
(5,408 Views)

You can also go to Tools>>Sequence File Documentation.  This will print to either text or html.  This way you don't have to change the format of your file as you described.  

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 4 of 9
(5,380 Views)

This Tools>>Sequence File Documentation is certainly much faster and I'm glad I learned about it; but it doesn't capture the information I want which is the contents of expressions in a Numeric Limit Test.

 

Exporting the sequence file as XML gets absolutely everything including those expressions.

0 Kudos
Message 5 of 9
(5,333 Views)

Hi bmihura
Thank for the helpful explanation,
by the way, I'd like to use it on command line using Ni.exe blabla ~SEQ file with option ".csv" or ".xml" like format setting.
Have you been trying this way or any methodology you heard about ?
If yes, please let me know how to opreate it.
Appreciate it.

 

0 Kudos
Message 6 of 9
(67 Views)

I've never heard about the command line approach, but I know that TestStand's executable is "SeqEdit.exe" Doing an Internet search on "SeqEdit.exe command line" is probably the best way to keep looking.

Message 7 of 9
(63 Views)

yes exactly matched what I want to do for command-line approach.

As you mentioned, I found SeqEdit.exe in Bin sub-folder of TestStand.

also found interesting command "SequenceFileConverter".. 

it looks like, possible to support command line processing.

anyway, thanks for helpful comment. 

 

https://www.ni.com/docs/en-US/bundle/teststand-api-reference/page/tsref/sequence-file-converter.html...

0 Kudos
Message 8 of 9
(58 Views)

Hello, bmihura_esa

finally i found some command-lie methodology to convert from "SEQ-binary" to "SEQ-XML", this could be readable in terminal.

thanks for your insight, seqedit.. was the triggering point to me to think about BIN folder with how to use..

Thanks, Have a great day !! 🙂

 

Command-Line Usage
SequenceFileConverter.exe [-Help] [-Recursive] [-Quiet] [-UpdateVersion] [-Unlock:<PasswordList>] [-Format:<Format>] [-Protect:<Mode>:<Password>] <file or directory path> [-env <environment path>]

 

Format:<Format>—Converts all files to the specified format. Possible values for <Format> are binary, INI, and XML.

 

0 Kudos
Message 9 of 9
(44 Views)