LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DSC / Logging Data / Converting to ASCII-Spreadsheet / LV 8

Hello there!

I have to log an array of three DBL-values. I created a shared variable of the array-type an turned on logging. Logging works fine, the problem arises when i have to store the acquired data in an ASCII-file.

 I use "Read Trace" from the DSC Module with the selected data type "variant". The output is fine (according to the probe i placed there). Wiring the whole thing to an "Unbundle by name" gives the correct timestamps and an array of variant. To store this data using "Write to Spreadsheet file" i have to convert the data to the orginal arrays of DBL. But i can't figure out how to do this. I placed the "Variant to Data" and wired a DBL-array to the type-input. Labview stops with Error 91: Data type incompatible.

I can't use the "Write traces to spreadsheet file" since the output is just "<complex data>" but no values. Anybody any idea?
0 Kudos
Message 1 of 2
(2,574 Views)

Hi Jan,

See the attached vi i think it will help you!

0 Kudos
Message 2 of 2
(2,562 Views)