From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Exporting states from a case and event structure to a text file

I need this for documentation. Is there a way to export a list of states from a case and event structure to a text file? Thanks.

0 Kudos
Message 1 of 5
(2,580 Views)

Steve,

If you enable scripting you can do it like this:

Get Case Names.png

 

Then write the names to a file.

Enable scripting nodes under tools>>options>>vi server

 

Dont forget Kudos if this is what you were looking for Smiley Happy

 

Michael

 

Message 2 of 5
(2,573 Views)

You can do this for a case structure.  You cannot do it for an event structure.  I know of no programmatic way to get event structure names/events.

0 Kudos
Message 3 of 5
(2,565 Views)
I guess the property is not available for events because they are not simply case labels. My workaround for now will have to be the old fashioned print screen and ocr. I tried this out and it was better than typing, but far from elegant!
Michael
0 Kudos
Message 4 of 5
(2,555 Views)

I've (somewhat) succeeded using OCR to retrieve the events from an Event structure here.

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 5 of 5
(2,538 Views)