Search Results

by sgeiger
Sun Oct 31, 2021 5:18 am
Forum: All Other Phidgets
Topic: DC MotorPositionControl crashes on high current
Replies: 0
Views: 16686

DC MotorPositionControl crashes on high current

I'm trying to create an interactive dial (rotating knob with a motor). The system is built using a 12V motor with built-in encoder connected to a DCC1000. The positionController works perfectly, but when I manually rotate the knob the application crashes (both mine and the example from the Phidgets ...
by sgeiger
Thu Mar 25, 2021 2:31 am
Forum: All Other Phidgets
Topic: RC Servo not reaching target position
Replies: 4
Views: 8617

Re: RC Servo not reaching target position

OK. Solved. The problem was only with digital RC servos: when setting to a position outside the servo range, some digital servos stopped from moving and others disengaged. Analog servos rotated to the maximum travel possible and kept it (as expected). To avoid this, it is very important to set pulse...
by sgeiger
Sat Mar 20, 2021 11:40 pm
Forum: All Other Phidgets
Topic: RC Servo not reaching target position
Replies: 4
Views: 8617

Re: RC Servo not reaching target position

Yes - open and attached.
This happens in code, but also when testing the controller in the control panel, so I don't think the code is relevant.
by sgeiger
Tue Mar 16, 2021 1:31 am
Forum: All Other Phidgets
Topic: RC Servo not reaching target position
Replies: 4
Views: 8617

RC Servo not reaching target position

When setting high speed and acceleration, or when disabling speed ramping, the servo motor sometimes doesn't reach its target (when the target is far from current position). I guess the controller stops transmitting pulses when it "thinks" the motor reached its target. Tested with RCC1000 ...
by sgeiger
Thu Jan 14, 2021 10:56 am
Forum: Java
Topic: 1044_0 Algorithm
Replies: 1
Views: 13962

1044_0 Algorithm

I'm trying to use the AHRS from the 1044_0 with algorithm event. The API documentation does not state the device supports it (the algorithm event is missing, as opposed to 1044_1), but the example in the Phidget22 Control Panel does show the AHRS data. Is it accessible in Java?
Thanks.
by sgeiger
Wed Oct 28, 2020 11:59 pm
Forum: macOS
Topic: Processing + mac not working
Replies: 1
Views: 13335

Re: Processing + mac not working

OK. This was solved by copying libphidget22java.jnilib from /Library/Java/Extensions to the sketch code folder.
by sgeiger
Tue Oct 27, 2020 7:11 am
Forum: macOS
Topic: Processing + mac not working
Replies: 1
Views: 13335

Processing + mac not working

I am trying to run the library on processing (java) and get this error: phidget22java in java.library.path Error loading the Phidget C libraries. The Mac Phidget22 DMG must be installed. The control panel works perfectly and everything is updated. Tried this on two different macs - same result. Than...
by sgeiger
Wed Aug 05, 2020 11:44 pm
Forum: C/C++
Topic: Closing a channel deletes it from manager
Replies: 3
Views: 15658

Re: Closing a channel deletes it from manager

OK, That seems to work fine, with one little question: when closing an opened channel, the thread that reads it ("Phidget22 USB Read Thread...") exits with code 4. Is that normal? (I can only see this on the debugger - it doesn't interrupt anything). I have another relevant problem though,...
by sgeiger
Mon Jul 27, 2020 11:49 pm
Forum: C/C++
Topic: Closing a channel deletes it from manager
Replies: 3
Views: 15658

Closing a channel deletes it from manager

I want to create a devices+channels tree (like in the Phidgets Control Panel), in which the user can select and re-select a channel to open. I retain each channel's handle found by the manager. When a channel is selected to be opened, its handle is assigned event handlers and it is opened. If anothe...
by sgeiger
Thu Jul 09, 2020 12:07 am
Forum: C/C++
Topic: Phidget Manager causes access violation on delete
Replies: 6
Views: 17861

Re: Phidget Manager causes access violation on delete

OK, Solved.
This was probably TouchDesigner's fault...
Had some timing problems. solved with a small execution delay after deleting the manager.