LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why is a %.; used before some commands in the Fluke 6100A drivers.

Does anyone know why when viewing some of the driver VI's for the Fluke 6100A that there is a %.; used before some of the remote commands.
 
Thanks
0 Kudos
Message 1 of 4
(2,527 Views)
There aren't any % characters in the command strings. There are % characters in the Format Into String functions. You might want to look at the help for Format Into String and specifically the "format string" topic. The format specifier determines how the input is converted to a string. For example, if you specify %d, the numberic input is converted to an integer. A format of %f, converts the input to a floating point number.
0 Kudos
Message 2 of 4
(2,517 Views)
The format specifier %.; forces the use of the decimal point when converting a floating point number. That is handy when LabVIEW is set to use the comma.


LabVIEW, C'est LabVIEW

Message 3 of 4
(2,515 Views)
Thanks JeanPierre! I noticed the %.; is being used before each command where a floating point value is inserted into the command string before it is sent to the instrument. Your comment makes perfect sense!

Thanks for your help!
0 Kudos
Message 4 of 4
(2,488 Views)