API Read Real-Time Data -- Urgent

1 month 1 week ago - 1 month 1 week ago #29534976 by danielj1
Hi,

I'm trying to use the API (written for C++) to command my SDC 2160 controller to move to a specified encoder count. I'm wanting to be able to read the encoder counts from the controller in real-time as the motor is moving. I created two classes for communicating to the robot, one which sends comands and one which reads from the controller. When I execute these programs, as soon as I send a command from the motor, the read class will die/fail. Does the API allow for multiple connections from different class instances over the same USB port? More broadly, how am I able to read real-time data from the controller using the API so that I can report the real-time motor position? I've attached two source files and corresponding headerfile. I would greatly appreciate any help!
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.117 seconds