Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

EPOS2 Error "error reading USB data. (0x23000002)"

Hi,

 

I am using libEposCmd.so to control an EPOS2 motor controler on linux (Ubuntu).

 

I am using the following port and interface to connect to the motor controller:

        char* DEVICE = (char*)"EPOS2";
        char* STACK = (char*)"MAXON SERIAL V2";
        char* COM = (char*)"USB";
        char* PORT = (char*)"USB0";

 

The VCS_OpenDevice() and VCS_SetProtocolStackSettings() are successfull. However, for almost all the other commands such as VCS_ClearFault, VCS_GetOperationMode, etc , it returns:

"error reading USB data. (0x23000002)"

 

Do you have any recomendation for me.

 

Cheers

 

0 Kudos
Message 1 of 2
(5,478 Views)

Initially, it seems like you might not be using any NI software or hardware to accomplish this. What environment are you using within Linux? Perhaps Eclipse? Have you been able to replicate the issue on another OS or perhaps with LabVIEW?

Ravi A.
National Instruments | Applications Engineer
0 Kudos
Message 2 of 2
(5,466 Views)