I have more information, I started this a few years ago and received limited help like most people just getting started.
Unfortunately at the time not much literature existed on programming a Phidget but there was lots of information on how an Arduino works.
The code I supplied before communicates with a Sketch written for the Arduino, usually written in C language, because there is a sketch written by you and installed onto the micro processor by you, you can define what I/O does what, for example if you want "X" to be I/O "0" and Y to be I/O "1" you can define it.
Phidgets on the other hand requires a programmer to develop a GUI only, the library is already written for you, the sketch has already been installed on the Micro.
To help with our software problem:
This is using a Tracking Bar, you can define the motor I/O's like this:
TrackBar1.SetRange((stepper.steppers(1).CurrentMin * 100.0), (stepper.steppers(0).CurrentMax * 100.0)) (This is for Motor 0)
TrackBar2.SetRange((stepper.steppers(1).CurrentMin * 100.0), (stepper.steppers(1).CurrentMax * 100.0))
TrackBar3.SetRange((stepper.steppers(1).CurrentMin * 100.0), (stepper.steppers(2).CurrentMax * 100.0))
TrackBar4.SetRange((stepper.steppers(1).CurrentMin * 100.0), (stepper.steppers(3).CurrentMax * 100.0))
Now how do you get the motor to move using a simple button is beyond me, but I will try to figure it out, currently I can run a motor by clicking a button but the Trackbar needs to be set first.
Hope this helps, and hope someone can help me.
Thanks,
Rob
http://whatisacnc.com