From 1cc698c7d55faba1ced8a8ff4901c6e3260356d1 Mon Sep 17 00:00:00 2001 From: mp49 Date: Fri, 20 May 2011 17:54:41 +0000 Subject: [PATCH] motor: Tom Cobb added a function that can be used to disable polling in the XPS driver. This is needed to help data corruption during GatheringStopAndSave operations in the trajectory scan SNL code. Forgot to commit header file. --- motorApp/NewportSrc/drvXPSAsyn.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/motorApp/NewportSrc/drvXPSAsyn.h b/motorApp/NewportSrc/drvXPSAsyn.h index 86fc0302..23b220f8 100644 --- a/motorApp/NewportSrc/drvXPSAsyn.h +++ b/motorApp/NewportSrc/drvXPSAsyn.h @@ -19,6 +19,8 @@ int XPSConfigAxis(int card, /* specify which controller 0-up*/ const char *positionerName, /* groupName.positionerName e.g. Diffractometer.Phi */ int stepsPerUnit); /* steps per user unit */ +void XPSDisablePoll(int disablePollVal); + #ifdef __cplusplus } #endif