LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

format string problem after installing 6.02 Update

I want to format numbers into a string using engineering notation. This actually worked with Labview 6i but does no longer after installing the 6.02 Update. I used the format specifier "%^.0es" to convert numerical input like "6.7e-8" into the desired output "67ns". However, now it displays "7e-8s".
0 Kudos
Message 1 of 2
(2,473 Views)
Kaikunze,

One of the changes in LabVIEW 6i when updating from 6.0 to 6.0.2 is that the Engineering Notation was redefined to have the same meaning as Engineering Notation did in LabVIEW 5. To compensate for this change a new format, SI Notation, has been defined that now acts as Engineering Notation did in LabVIEW 6.0. Additionally, a new format specifier, %p, has been defined.

You should be able to replace your old formatting string with "%^.0ps" to format your string properly.

More information on the update changes between 6.0 and 6.0.2 can be found by reading "changes.doc", which is available when upgrading to 6.0.2 and is linked here.

Josh H.
Applications Engineer
Nat
ional Instruments
www.ni.com/ask
0 Kudos
Message 2 of 2
(2,473 Views)