bevanweiss
Member
Hi all,
I've got a bit of a need to convert an integer (and a real in another situation) to a string with a particular format.
This seems possible to do with a straightforward numeric display, but alas, I need this in the URL connection for a WebControl... (it's used to assemble a URL which then calls a web service to return a DataMatrix 2D barcode with GS1 formatting).
I'm really trying to avoid having int/real -> string conversions within the PLC (the FTView display has index parameters meaning the displayed value could come from a large number of possible 'slots'.. doing int->string for each of them would be a bit painful.
I've got a bit of a need to convert an integer (and a real in another situation) to a string with a particular format.
This seems possible to do with a straightforward numeric display, but alas, I need this in the URL connection for a WebControl... (it's used to assemble a URL which then calls a web service to return a DataMatrix 2D barcode with GS1 formatting).
I'm really trying to avoid having int/real -> string conversions within the PLC (the FTView display has index parameters meaning the displayed value could come from a large number of possible 'slots'.. doing int->string for each of them would be a bit painful.