LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change precision of output data using Write Delimited Spreadsheet (DBL).vi

Hello, how do I change the number of decimal places using the Write Delimited Spreadsheet (DBL).vi under the "%.3f" format? I kept changing it to "%.9f" and then saved it, but it comes back to "%.3f" every time I run a VI. How do I change this permanently?

0 Kudos
Message 1 of 2
(731 Views)

Hi, you can call it as a SubVI and wire the format as a parameter:

raphschru_0-1684140176948.png

You shouldn't change the value directly inside the SubVI because:

 - If the SubVI leaves memory, it will revert back to its default values;

 - Even if you change the default value (which you can do by right-clicking on the control -> Data Operations -> Make Current Value Default), it is a bad practice because "Write Delimited Spreadsheet" is installed by default with LabVIEW. So if you open the project on another computer, you won't have your modifications.

Message 2 of 2
(714 Views)