Search Results

by stepheneb
Thu Oct 12, 2023 4:26 pm
Forum: Python
Topic: 1047 encoder reporting first timeChange value as 0 on mac, values between 2-3 on Windows
Replies: 1
Views: 36650

Re: 1047 encoder reporting first timeChange value as 0 on mac, values between 2-3 on Windows

On the remote win11 system there is no optical encoder connected to channel 0 on the 1047. On the local macos system there is an optical encoder connected to channel 0. I just disconnected the optical encoder connected to channel 0 to see if that makes a difference and the results are the same. The ...
by stepheneb
Thu Oct 12, 2023 4:21 pm
Forum: Python
Topic: 1047 encoder v200 reports firmware upgrade available, where are changes listed on site
Replies: 4
Views: 24000

Re: 1047 encoder v200 reports firmware upgrade available, where are changes listed on site

Using the control panel dialog for upgrading I see the proposed change is from version 200 to version 301 for the 1047 high-speed encoder. I'd like to be able to review what the changes are before upgrading (though it's nice to see that downgrading is an option also).
by stepheneb
Thu Oct 12, 2023 1:35 pm
Forum: Python
Topic: 1047 encoder reporting first timeChange value as 0 on mac, values between 2-3 on Windows
Replies: 1
Views: 36650

1047 encoder reporting first timeChange value as 0 on mac, values between 2-3 on Windows

Am testing 1047 encoder using same simple test code and same version of Phidget22 library on both macos and windows 11 and there is a difference between the first reported timeChange value passed to my onPositionChange() handler. The first timeChange value is 0 on macos while values appear to range ...
by stepheneb
Thu Oct 12, 2023 1:02 pm
Forum: Python
Topic: 1047 encoder v200 reports firmware upgrade available, where are changes listed on site
Replies: 4
Views: 24000

1047 encoder v200 reports firmware upgrade available, where are changes listed on site

Using control panel the 1047 encoder reports version 200 and also states a firmware upgrade is available and displays this message: There is a major firmware upgrade available for this device, which may be incompatible with existing code/software. Review the product page, and ensure all software has...
by stepheneb
Wed Oct 11, 2023 2:18 pm
Forum: Python
Topic: Have both ENC1000_0 and 1047_2B encoders attached, how to distinguish?
Replies: 2
Views: 22220

Re: Have both ENC1000_0 and 1047_2B encoders attached, how to distinguish?

There's a somewhat hacky workaround if I set the Channel to 1: >> from Phidget22.Phidget import * >>> from Phidget22.Devices.Encoder import * >>> en = Encoder() >>> en.setChannel(1) >>> en.openWaitForAttachment(5000) >>> en.getDeviceClassName() 'PhidgetEncoder' >>> en.getMaxDataRate() 125.0 That doe...
by stepheneb
Wed Oct 11, 2023 1:13 pm
Forum: Python
Topic: Have both ENC1000_0 and 1047_2B encoders attached, how to distinguish?
Replies: 2
Views: 22220

Have both ENC1000_0 and 1047_2B encoders attached, how to distinguish?

I have an ENC1000_0 encoder attached via a VINt hub and a 1047_2B high-speed 4-channel encoder attached directly via usb. How can I choose to open a connection to one or the other? Right now the ENC1000_0 is opened with this code when both are connected. >>> en = Encoder() >>> en.openWaitForAttachme...
by stepheneb
Wed Oct 11, 2023 12:36 pm
Forum: Python
Topic: 1047 API: Specify a counts per revolution (CPR) value to enable velocity
Replies: 5
Views: 25939

Re: 1047 API: Specify a counts per revolution (CPR) value to enable velocity

Ahh ... I misinterpreted the user guide when it stated: "Specify a counts per revolution (CPR) value to enable velocity calculation.". I thought that this modified the operation at the encoder and perhaps provided better interval timing resolution for calculating velocity.
by stepheneb
Tue Oct 10, 2023 4:28 pm
Forum: Python
Topic: 1047 API: Specify a counts per revolution (CPR) value to enable velocity
Replies: 5
Views: 25939

Re: 1047 API: Specify a counts per revolution (CPR) value to enable velocity

Thanks.

In the code you shared I didn't understand how CPR is being set to a value not equal to -1.

I didn't see the C# GUI example looking here: https://www.phidgets.com/?prodid=1199#Tab_Code_Samples -- where else should I look?
by stepheneb
Tue Oct 10, 2023 3:58 pm
Forum: Python
Topic: 1047 API: Specify a counts per revolution (CPR) value to enable velocity
Replies: 5
Views: 25939

1047 API: Specify a counts per revolution (CPR) value to enable velocity

Have a 1047 4-channel high speed encoder arriving shortly. Would like to use API to measure velocity. The user guide states: "Specify a counts per revolution (CPR) value to enable velocity calculation." There doesn't appear to be a method to set the encoder counts per revolution in the API...