Hello all,
I am working on a project that sends data via a serial connection to a Raspberry Pi. So far everything is going well but the customer has a request that I have yet to figure out how to do. When using a Vmem in a PRINT box is there a way to place leading zeros on the Vmem value, Say the reading is 8o, but I want it to display/send 080.
Thanks,
Micheal
This is the current PRINT statement:
"PR012345678900" V4200 "" V4201 "" V4202 "" V4203 "" V4204 "" V4205 "" V4206 "" V4207 "" V4250 "" V4251 "" V3566 "" "$N"
The result is:
PR012345678900 80 80 80 80 80 80 80 80 80 80 853
The desired result would be:
PR0123456789000800800800800800800800800800800853
I am working on a project that sends data via a serial connection to a Raspberry Pi. So far everything is going well but the customer has a request that I have yet to figure out how to do. When using a Vmem in a PRINT box is there a way to place leading zeros on the Vmem value, Say the reading is 8o, but I want it to display/send 080.
Thanks,
Micheal
This is the current PRINT statement:
"PR012345678900" V4200 "" V4201 "" V4202 "" V4203 "" V4204 "" V4205 "" V4206 "" V4207 "" V4250 "" V4251 "" V3566 "" "$N"
The result is:
PR012345678900 80 80 80 80 80 80 80 80 80 80 853
The desired result would be:
PR0123456789000800800800800800800800800800800853