From 2fbc0881455aacd39151032ffb840998ff7e7c03 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Tue, 24 Jan 2006 15:37:33 +0000 Subject: [PATCH] Must set EOS for MM4000 from st.cmd file. --- iocBoot/iocWithAsyn/st.cmd.Vx | 9 +++++++++ iocBoot/iocWithMPF/st.cmd.Vx | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/iocBoot/iocWithAsyn/st.cmd.Vx b/iocBoot/iocWithAsyn/st.cmd.Vx index a9ecab42..87ecb7b5 100644 --- a/iocBoot/iocWithAsyn/st.cmd.Vx +++ b/iocBoot/iocWithAsyn/st.cmd.Vx @@ -42,6 +42,15 @@ dbLoadTemplate("motor.substitutions") #!MM4000Config(0, "a-Serial[0]") #!drvMM4000debug=4 +# The MM4000 driver does not set end of string (EOS). +# for RS232 serial, +#!asynOctetSetInputEos( "a-Serial[0]",0,"\r") +#!asynOctetSetOutputEos("a-Serial[0]",0,"\r") +# for GPIB, +#!asynInterposeEosConfig("L0", 10, 1, 1) +#!asynOctetSetInputEos( "L0",10,"\r") +#!asynOctetSetOutputEos("L0",10,"\r") + # Newport PM500 driver setup parameters: # (1) maximum number of controllers in system # (2) motor task polling rate (min=1Hz,max=60Hz) diff --git a/iocBoot/iocWithMPF/st.cmd.Vx b/iocBoot/iocWithMPF/st.cmd.Vx index a9ecab42..87ecb7b5 100644 --- a/iocBoot/iocWithMPF/st.cmd.Vx +++ b/iocBoot/iocWithMPF/st.cmd.Vx @@ -42,6 +42,15 @@ dbLoadTemplate("motor.substitutions") #!MM4000Config(0, "a-Serial[0]") #!drvMM4000debug=4 +# The MM4000 driver does not set end of string (EOS). +# for RS232 serial, +#!asynOctetSetInputEos( "a-Serial[0]",0,"\r") +#!asynOctetSetOutputEos("a-Serial[0]",0,"\r") +# for GPIB, +#!asynInterposeEosConfig("L0", 10, 1, 1) +#!asynOctetSetInputEos( "L0",10,"\r") +#!asynOctetSetOutputEos("L0",10,"\r") + # Newport PM500 driver setup parameters: # (1) maximum number of controllers in system # (2) motor task polling rate (min=1Hz,max=60Hz)