LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control and simulation multisim, decimal precision

Solved!
Go to solution

I'm using labview to simulate a multisim circuit with an input and an output voltage. The voltage comes out of the multisim module and goes into a collector and is written to a text file.The values I receive in Labview have 6 decimal numbers (0.XXXXXX). I need a more accurate reading. Is there a way to increase the precision ? Preferably around 10-12 decimal numbers.

 

 

0 Kudos
Message 1 of 3
(3,208 Views)
Solution
Accepted by topic author MarnixGi

Hi Marnix,

 


@MarnixGi wrote:

is written to a text file.The values I receive in Labview have 6 decimal numbers (0.XXXXXX). I need a more accurate reading. Is there a way to increase the precision ? Preferably around 10-12 decimal numbers.


Generic answer: change the formatting settings (of your indicators and file write options)!

 

More detailed answer: Please attach your VI to receive specific suggestions.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(3,172 Views)

Thanks, it was indeed the format in the 'write to spreadsheet' function. I changed this format to %.12f and everything works now. In case this helps someone else these are all formatting possibilities. 

https://zone.ni.com/reference/en-XX/help/371361R-01/lvconcepts/format_specifier_syntax/

0 Kudos
Message 3 of 3
(3,165 Views)