Search Results

by BarnyardProgrammer
Sun Feb 11, 2018 10:08 pm
Forum: C/C++
Topic: Two motors simultaneous with the 1064 board
Replies: 5
Views: 296317

Re: Two motors simultaneous with the 1064 board

I think I figured this out.

get_channel returns 1.

It seems that if I initially try to turn both motors on at full voltage at the same time one will not come on. If I stagger them 0.5 ms this issue does not occur.
by BarnyardProgrammer
Fri Jan 19, 2018 9:27 pm
Forum: C/C++
Topic: Two motors simultaneous with the 1064 board
Replies: 5
Views: 296317

Re: Two motors simultaneous with the 1064 board

Both motors are working. Changed channel 1 to -1. Could the channel number have been changed on channel 1 on the 1064 Phidget? PhidgetLog_enable(PHIDGET_LOG_INFO, NULL); PhidgetDCMotorHandle dcmotor1; PhidgetDCMotorHandle dcmotor2; PhidgetDCMotor_create(&dcmotor1); PhidgetDCMotor_create(&dcm...
by BarnyardProgrammer
Fri Jan 19, 2018 7:56 am
Forum: C/C++
Topic: Two motors simultaneous with the 1064 board
Replies: 5
Views: 296317

Re: Two motors simultaneous with the 1064 board

The additional error handling code was tried and it did not output an error. (I'm running the recent version of Ubuntu Linux and compiling in eclipse). The first motor runs but the second one does nothing. It is possible to switch which motor runs by changing between Phidget_setChannel((PhidgetHandl...
by BarnyardProgrammer
Mon Jan 15, 2018 9:43 pm
Forum: C/C++
Topic: What is CCONV?
Replies: 2
Views: 35148

Re: What is CCONV?

Thanks!
by BarnyardProgrammer
Mon Jan 15, 2018 9:41 pm
Forum: C/C++
Topic: Two motors simultaneous with the 1064 board
Replies: 5
Views: 296317

Two motors simultaneous with the 1064 board

Control of one motor on a 1064 works. Use of one motor or the other seems to work; however, I am having trouble figuring out how to use both motors at once. Can anyone help me with the issue in this code? Thanks! Jerry PhidgetLog_enable(PHIDGET_LOG_INFO, NULL); PhidgetDCMotorHandle dcmotor1; Phidget...
by BarnyardProgrammer
Tue Jan 09, 2018 9:32 pm
Forum: C/C++
Topic: What is CCONV?
Replies: 2
Views: 35148

What is CCONV?

I am just starting into using C programming for Phidgets. What is CCONV?

Example:
static void CCONV ssleep(int);

Thanks!