NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Active Participant
Steve_Block
Posts: 263
0 Kudos

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.

Member
RiversDaddy
Posts: 137

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

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 :smileyhappy:

 

Michael

 

Trusted Enthusiast
DFGray
Posts: 2,569
0 Kudos

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

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.

Using LabVIEW 2009 - 2012 on Windows 7 64-bit
Member
RiversDaddy
Posts: 137
0 Kudos

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

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
Active Participant
jcarmody
Posts: 1,561
0 Kudos

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

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

Jim
CLD
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page