Page 1 of 1

Encoder API 22

Posted: Wed Jan 31, 2018 3:15 pm
by mrdale1958
I can't figure out how to enable or query the 4 channels of a 1047

Re: Encoder API 22

Posted: Thu Feb 01, 2018 2:40 pm
by jdecoux
The easiest way to get all the Encoder channels working is to start with the Encoder example for your language. Then duplicate the channel as many times as necessary, being sure to address each one properly, as shown in our recent article Addressing Many Phidgets. To access all encoders on a 1047, you will need 4 Encoder channels.

The functions to enable and poll the channels are available in the API tab on the product page for the device, after selecting your programming language from the drop-down menu. In your case, that would be the 1047 product page.