02-21-2012 09:24 AM
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
02-22-2012 05:58 PM
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?