06-29-2006 05:06 PM
06-30-2006 02:08 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
06-30-2006 11:22 AM
Well... I have read about that option, and you have a valid question. The raw data can all be sent to a .txt file, then transfered to an excel file; however, i was hoping there was a more direct route, so it could fit the formatting of a internal data tracking sheet which has already been formatted, instead of a format like the following.
"#### #### #### #### ####
"#### #### #### #### ####
"#### #### #### #### ####
I was hoping there was a way where it could update in a more user specific format ie:
"#### user typed data #### "
I was hoping to automate the data capture a little to improve ease of reporting for the operators, but the more i look, it seems this will be harder than it is worth, at least for my extremely limited experience. How would I go about just using the .txt data capture method on that driver? And thanks for your suggestion, and help!
07-05-2006 10:12 AM
Hi,
I definitely agree that it will be much simpler to just write to a tab delimited file instead of trying to use ActiveX to actually create an .xls file. You will be able to open your tab delimited file with Excel without having to do any conversion at all.
If your data is returned in an array, you can use the Write to Spreadsheet File VI. There are some good examples for this VI which you can find by going to Help>>Find Examples and searching for Spreadsheet. The Using Spreadsheet Format VI is one of the simplest.
You can also use the regular Read/Write File VIs. These are a bit more advanced and will require that you use the Concatenate Strings VI to insert tabs manually in the strings you are writing to file. Again, there are many shipping examples for File I/O in the Example Finder.
Best Regards,
Megan B.
National Instruments
07-05-2006 10:50 AM