From 21251e1dccfb1cc4b910f9e980259ee4dfa5358c Mon Sep 17 00:00:00 2001 From: Jens Eden Date: Mon, 17 Mar 2014 17:35:27 +0000 Subject: [PATCH] add 0.5 secs pause before sending init string --- motorApp/OmsAsynSrc/omsBaseController.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/motorApp/OmsAsynSrc/omsBaseController.cpp b/motorApp/OmsAsynSrc/omsBaseController.cpp index e4739097..a2a66a3b 100644 --- a/motorApp/OmsAsynSrc/omsBaseController.cpp +++ b/motorApp/OmsAsynSrc/omsBaseController.cpp @@ -462,6 +462,9 @@ asynStatus omsBaseController::Init(const char* initString, int multiple){ /* Stop all axes */ sendOnlyLock("AM SA;"); + /* wait before sending init commands */ + epicsThreadSleep(0.5); + /* send InitString */ if ((initString != NULL) && (strlen(initString) > 0)) { if (multiple){