05-15-2023 02:59 AM
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?
05-15-2023 03:51 AM - edited 05-15-2023 03:52 AM
Hi, you can call it as a SubVI and wire the format as a parameter:
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.