Phidget 1018, Version 901 label issue

Technical Discussions on any InterfaceKits
SmacRoc
Fresh meat
Posts: 1
Joined: Tue Aug 19, 2014 4:21 pm
Contact:

Phidget 1018, Version 901 label issue

Postby SmacRoc » Tue Aug 19, 2014 4:36 pm

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?

User avatar
Patrick
Lead Developer
Posts: 3099
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Phidget 1018, Version 901 label issue

Postby Patrick » Wed Aug 20, 2014 8:29 am

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


Return to “InterfaceKits”

Who is online

Users browsing this forum: No registered users and 1 guest