LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview cuts values after 3 decimals

Solved!
Go to solution

Hi guys,

 

Iam facing the problem that my Labview Vi only writes 3 decimals for each value into the .csv file. Right now iam wondering where on the path the decimals get cut off. I implemented a Matlab script that creates my x-axis in 20 nanoseconds steps. But the .csv file only shows zeros. When I multiplied the timestep by 1mio inside the script it worked. and the .csv file got the array. But when I used an outside multiply-block it didnt.

So can anyone tell me where the data gets lost and how to fix this?

0 Kudos
Message 1 of 3
(2,602 Views)
Solution
Accepted by topic author Joni-Wan

I assume you're using Write to Spreadsheet or similar? If you look at the Format input it's defaulted to ".3f", wire a constant with ".6f" is probably the answer you're looking for.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 2 of 3
(2,588 Views)

Thanks, that solved it 🙂

0 Kudos
Message 3 of 3
(2,567 Views)