09-15-2017 01:15 PM
HI,
Is there a way to increase the number of digits of precision when using the "write to measurement file" express vi.
At present the signals I am sending are getting truncated to about 6 digits even though they are double or extended precision.
Thanks!
09-18-2017 06:10 AM
You can use the traditional vis, however I'm curious what measurements and equipment you use to need a higher resolution than 6 decimal digits 😉
09-19-2017 08:58 AM
11-24-2017 05:50 AM - edited 11-24-2017 05:54 AM
Anyone having success with increasing the _range_ of excel number format with "write to measurement express vi"? I did not find any help in the suggested links.
The problem is that the smallest number (not 0) which can be written is 1E-6. This may seem small but many instruments can go below that. And the value written may be a calculated value.
This vi saves a lot of work relatively to writing using the traditional vi's.
A work-around is to pre-multiply the data by - say 1000,000 and change the unit of the values.
I would think this is a defect in the vi.
11-27-2017 03:06 PM
Hi heel,
Can you provide a code example where the VI is incapable of writing a number smaller than 1E-6? I have been unable to reproduce that behavior on my end. I've attached a VI snippet below where I write a sine wave with amplitude 1e-6, there are plenty of values in the 1E-7 range, and even a couple as low as the 1E-9.
12-12-2017 05:18 AM
Sure: Here is what I have and tested on LV2017
12-12-2017 10:55 AM
Hi heel,
This looks like a limitation of writing to .xlsx, rather than the VI as a whole. If you write to a text file and choose to use commas as a delimiter, you can still open the data in excel as a .csv and keep the precision past 1e-6
12-12-2017 11:26 AM
You may be right that the flaw is in the .net assembly (i guess?) used for writing to excel - the vi is very complicated and I cannot tell what part is to blame.
Drawback of cvs format is that I can't get such a neat table (see my previous post) with headings and absolute time stamp as with the excel format.