LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write data to file help

belowis a copy of my code. this is my first time using labview and i'm still sorta getting the hang of it. what i want to do is when the code is stopped, the Voltage vs Time chart is exported to excel as a chart, Pressure (psi) (min, median, max) and stable service and critical (one of these)exported to excel so they can be easily read by a person.

 

i have tried the various write to file and write to spreadsheet examples but i cant seem to get it to work.

 

any help would be greatly appreciated, thanks

Dan

 

code.jpg

 

link to code http://www.sendspace.com/file/uja14y

its called beta 20

0 Kudos
Message 1 of 6
(3,562 Views)

you may want to look into the report generation toolkit or you can use activex to write to excel files.

 

 

also there are examples if you search excel on the example finder:)

 

hope this helps.

Message Edited by Harold Timmis on 10-02-2009 10:48 PM
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 2 of 6
(3,551 Views)

The simplest thing for you to do is to use the Merge Signal function on all of those dynamic wires and wire it to a Write to Measurement File inside the loop.

 

p.s. In the future, if you want to have someone to look at the actual code, do NOT use some hosting service for the VI. Just attach it directly to your post by clicking on the somewhat obvious 'Add Attachment's right below the message body.

0 Kudos
Message 3 of 6
(3,540 Views)

i looked at the excel example and i think i'm in a little over my head there. all i want really is to have an excel file (preferably) that will show my voltage plot(like a graph), have some min, mean, max values in a table-esque format and thats it. i dont want to use labview to read the file as it defeats the purpose of what i'm trying to do (which is send the saved data to a 3rd person who does not have labview and have them read the file).

 

The program does what it should do, i'm just trying to add some extra functionality, which i might give up on if i dont get it to work in a few days

 

But still thanks alot for your reply  Smiley Happy

Dan

0 Kudos
Message 4 of 6
(3,531 Views)

my bad i didnt see it down there. i was looking for it at the top where the Insert/edit link and upload or insert image buttons were.

 

but now i know Smiley Happy

0 Kudos
Message 5 of 6
(3,529 Views)
The Write to Measurement File does create a text file if that is what you select. If you don't want it inside the loop, you would still use the Merge Signal and then wire it to an Append Signal Function. Wire the output of that through the loop to a Write to Measurment File.
0 Kudos
Message 6 of 6
(3,517 Views)