03-09-2016 02:19 PM - edited 03-09-2016 02:20 PM
There you go.
The Write to Measurement File function is at the end, all to the right.
03-09-2016 02:21 PM
The Write To Measurement File Express vi uses the %g format to convert a number to a spreadsheet string. This formatting works fine with 4.457E-12. In the resulting excel file, what is the cell format of the faulty result? Since it is a string that contain both digits and letters the format is probably set to General (or Standard, I don't have an English version of Excel) and that may cause the issue. Try formatting the cell to scientific with enough decimals.
Ben64
03-09-2016 02:32 PM - edited 03-09-2016 02:33 PM
Doesn't change anything
I believe it's not an Excel issue because as I posted before nubers until the 6th place after the decimal mark are reported.
I need to expand the digit I can carry after the exportation.
03-09-2016 02:33 PM
I think this Forum post still applies and you're running into a limitation of the Express VI when exporting to Excel. You can export to other formats fine.
03-09-2016 02:45 PM
I've trimmed down and am experimenting. I'm seeing the same issues with the conversion. I'm trying to dig deeper into the Express VI to see where it is happening.
03-09-2016 02:53 PM
I see, but I need the excel file I guess I'll multyply to a power of 10 to elide some zeroes.
Thank you though
03-09-2016 02:58 PM
@mattecst wrote:I see, but I need the excel file I guess I'll multyply to a power of 10 to elide some zeroes.
Thank you though
Do you really need the Excel? A lot of times people think they need Excel but they'll get all the same behavior from a .csv. Rather than multiply by powers of 10, the other option would be to dig into the ActiveX Excel calls and push the data that way.
03-09-2016 03:00 PM
You don't really export an excel file with this function. You may be naming it with an XLSX file extension but it is just a delimited text file. You can confirm whether it's excel causing the issue by opening the file in a text editor.
03-09-2016 03:03 PM
@aputman wrote:You don't really export an excel file with this function. You may be naming it with an XLSX file extension but it is just a delimited text file. You can confirm whether it's excel causing the issue by opening the file in a text editor.
With the Express VI, it looks like it does actually export an Excel file. Write to Measurement File actually creates binary files. Write to Spreadsheet or Write Delimited create much happier text delimited files.
03-09-2016 03:05 PM - edited 03-09-2016 03:06 PM
I don't really need an excel file what I need a convenient and organized table where I can see al the values.
Is it possible with the .csv?