10-02-2009 08:28 PM
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
link to code http://www.sendspace.com/file/uja14y
its called beta 20
10-02-2009 09:46 PM - edited 10-02-2009 09:48 PM
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.
10-02-2009 11:06 PM
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.
10-03-2009 02:02 AM
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
Dan
10-03-2009 02:06 AM
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
10-03-2009 10:45 AM