Page 1 of 1

Phidget 1018, Version 901 label issue

Posted: Tue Aug 19, 2014 4:36 pm
by SmacRoc
I was having issues with the getDeviceLabel() returning different values on two separate phidgets. If my label is over 7 characters then the getDeviceLabel() returns garbage after the 7th character (ex: 1234567%@!, instead of 1234567890). After some research I found that the device version on the two phidgets were different, one was 901 and the other was 904.

Looking back on the product revisions for this board I see that the following fix was put in place "getLabelString fixed for labels longer than 7 characters", on Board Revsion: 2, Device Version: 904.

What exactly is device version? Board revision seems to mean a hardware change, but I'm not sure what device version means. Does this mean my 901 device is destined to have this bug with no fix?

Re: Phidget 1018, Version 901 label issue

Posted: Wed Aug 20, 2014 8:29 am
by Patrick
This is a firmware bug, but there was a library workaround fix released in the 2.1.8.20110524 library. This is the changelog: http://www.phidgets.com/docs/Driver_Cha ... 8.20110524

This means that you need to call setLabel() again using this library or newer to re-write the label, if you want to use more then 7 characters. If you want to be able to read the label using older library versions, then you should use 7 or fewer characters, but this is more then 3 years old, so that should hopefully not be an issue.

-Patrick