LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 8 Open/Create/Replace File in Write Spreadsheet String.vi->Write Delimited Spreadsheet (string).vi->Edit Calibration.vi

Solved!
Go to solution

@Teekayy wrote:

Would you suggest I change my Retrieve and Check Calibration then?


Yes, you MUST change the format of your file because there is a nonzero chance that the flattened timestamp contains a "tab" character, which would make the file read return three or more array elements and the second array element will be truncated.

 

Again, did you know that index array is resizable and if you want the elements in order, you don't even need to wire the indices? (and no, this will not solve your problem!)

 

altenbach_0-1695401986965.png

 

0 Kudos
Message 11 of 13
(225 Views)

@Teekayy wrote:

 

to

Teekayy_0-1695401971858.png


No. If you want the number as string, make the cluster element a string! However, if it always is an integer, using an integer control/indicator is much safer because the user cannot enter non-numeric characters!

 

Of course if you change the file format, all old files will no longer be useful. If you need to retain compatibility with old cal files, some extra code would be needed.

Message 12 of 13
(219 Views)

Thanks altenbach,

 

I kept it as integers. I just had to change a couple other VIs which took in string parameters. 

 

Best regards,

 

TK

0 Kudos
Message 13 of 13
(207 Views)