[St...] Posted March 8 Share Posted March 8 Is it possible to put a barcode on each row for a measurement and it output the Measured value attribute of data binding? The idea is for someone who has to transfer data from the chart to simply click in text input field for data system and scan a code and tada measured value from from that line is in text field. Currently i'm getting "Unable to cast object of type 'system.double' to type 'system.string'" it doesn't matter what format code I try they all fail to produce the value.Capture.PNG Link to comment Share on other sites More sharing options...
[Th...] Posted March 8 Share Posted March 8 You should be able to cast the numeric value of your measurement to the string type needed for the barcode with ${ToString(your measurement variable goes here)} I don't use barcodes, but I tested this with a dummy value and it worked. I just copied the Piweb variable for "actual value" from the standard template and wrapped it with the ToString conversion. Link to comment Share on other sites More sharing options...
[St...] Posted March 8 Author Share Posted March 8 That worked beautifully, thanks a million!!!😁 Link to comment Share on other sites More sharing options...
[Ka...] Posted June 14 Share Posted June 14 Yes, it is possible to put a barcode on each row for a measurement that outputs the Measured value attribute via data binding. To achieve this, you need to ensure that the measured values are correctly converted to a string format before generating the barcodes. Hope it helps Steven! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in