09-28-2010 09:37 AM
I'm using format into string to format serial data . The problem I'm having is that Format into String with "%b" format identifier omits leading zeros
in the string.. ie... "3" becomes "11" when I need it as "0011"
Solved! Go to Solution.
09-28-2010 09:41 AM
Add a zero to your format string. In other words, %04b tells it to pad with zeros up to 4 places. This is documented in the LabVIEW Help.
09-28-2010 09:46 AM
Just tried that... it didn't work.
09-28-2010 09:53 AM - edited 09-28-2010 09:53 AM
see figure: