EuroMove fix "addrCommand" bug in controller
This commit is contained in:
@ -5,7 +5,7 @@ USAGE... Motor driver support for the EuroMove motor controller from LLB.
|
||||
This is a driver for the EuroMove motor controller from LLB. This device talks to us either via
|
||||
GPIB or USB. The controller is fairly simple. It can control quite a number of motors.
|
||||
|
||||
Reworked in 06/2021 to work with the Prologix GPIV-Ethernte converter
|
||||
Reworked in 06/2021 to work with the Prologix GPIV-Ethernet converter
|
||||
|
||||
mark.koennecke@psi.ch
|
||||
*/
|
||||
@ -58,7 +58,7 @@ EuroMoveController::EuroMoveController(const char *portName, const char *EuroMov
|
||||
|
||||
/* Save gpib address and prepare addr string */
|
||||
this->gpibAddr = gpibAddr;
|
||||
snprintf(addrCommand,strlen(addrCommand), "++addr %d", gpibAddr);
|
||||
snprintf(this->addrCommand,sizeof(addrCommand), "++addr %d", gpibAddr);
|
||||
|
||||
/*
|
||||
Configure the Prologix interface to our liking
|
||||
|
Reference in New Issue
Block a user