LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with build Array

Hi,

when I am trying to save my capacitor values into a file, they are storing as 0. But LCR meter is reading values in pico farads. i m attaching my program. please suggest me necessary changes in my program  

0 Kudos
Message 1 of 5
(3,441 Views)

Hi Guruva:

 

Could you upload your code in LabVIEW 8.0?

 

I think you have to change the indicator format. Because you read your value in pico farade.

 

Thanks

0 Kudos
Message 2 of 5
(3,435 Views)

Hi Guruva,

 

change the format specifier of the Write-function to "%g"... And read the help for those format codes!

Message Edited by GerdW on 12-07-2009 04:03 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 5
(3,434 Views)
By default, the format is %.3f in Write to spreadsheet file function. Change this to write pico values (in order of -12). This will solve. Post back.
0 Kudos
Message 4 of 5
(3,428 Views)

Mathan wrote:
By default, the format is %.3f in Write to spreadsheet file function. Change this to write pico values (in order of -12). This will solve. Post back.

Or, if pF is the native format, it might be more meaningfult to multiply the value by 10^12 before writing.

 

Matt

0 Kudos
Message 5 of 5
(3,401 Views)