Jump to content

Barcode output on chart for simple data entry


---
 Share

Recommended Posts

---
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

---
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

  • 3 months later...
---
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

 Share

×
×
  • Create New...