From 5531f1f7074e3f5464c734ead5cb2be6d5e7abd5 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Fri, 20 Apr 2001 21:07:42 +0000 Subject: [PATCH] For a 1 CPU board configuration, both initGpibGsTi9914() and HiDEOSGpibLinkConfig() must have the same GPIB server name. --- iocBoot/iocWithAsyn/st.cmd | 5 +++-- iocBoot/iocWithAsyn/st_mpfserver.cmd | 3 ++- iocBoot/iocWithMPF/st.cmd | 5 +++-- iocBoot/iocWithMPF/st_mpfserver.cmd | 3 ++- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/iocBoot/iocWithAsyn/st.cmd b/iocBoot/iocWithAsyn/st.cmd index 5c681707..26181bbb 100644 --- a/iocBoot/iocWithAsyn/st.cmd +++ b/iocBoot/iocWithAsyn/st.cmd @@ -63,7 +63,8 @@ MM4000Setup(1, 0, 10) # (4) GPIB address or hideos_task #IM483SMConfig(0, 1, 0, "a-Serial[0]") -# !MPF-2-CPU! #GPIB_ServerName = "GPIB0" -# !GPIB! #HiDEOSGpibLinkConfig(GPIB_Link, GPIB_Addr, GPIB_ServerName) +# !MPF-1-CPU! #Server_Mod_Name = GPIB_Module_Name +# !MPF-2-CPU! #Server_Mod_Name = "GPIB0" +# !GPIB! #HiDEOSGpibLinkConfig(GPIB_Link, GPIB_Addr, Server_Mod_Name) iocInit diff --git a/iocBoot/iocWithAsyn/st_mpfserver.cmd b/iocBoot/iocWithAsyn/st_mpfserver.cmd index 5e220f9e..390c7c31 100644 --- a/iocBoot/iocWithAsyn/st_mpfserver.cmd +++ b/iocBoot/iocWithAsyn/st_mpfserver.cmd @@ -14,7 +14,8 @@ initIpacCarrier(carrier, 0) ############################################################################### # Initialize GPIB module -# !GPIB! #initGpibGsTi9914("GS-IP488-0",carrier,"IP_d",104) +# !GPIB! #GPIB_Module_Name = "GS-IP488-0" +# !GPIB! #initGpibGsTi9914(GPIB_Module_Name,carrier,"IP_d",104) # !GPIB! #GPIB_ServerName = "GPIB0" # !GPIB! #initGpibServer(GPIB_ServerName,"GS-IP488-0",1024,1000) diff --git a/iocBoot/iocWithMPF/st.cmd b/iocBoot/iocWithMPF/st.cmd index 5c681707..26181bbb 100644 --- a/iocBoot/iocWithMPF/st.cmd +++ b/iocBoot/iocWithMPF/st.cmd @@ -63,7 +63,8 @@ MM4000Setup(1, 0, 10) # (4) GPIB address or hideos_task #IM483SMConfig(0, 1, 0, "a-Serial[0]") -# !MPF-2-CPU! #GPIB_ServerName = "GPIB0" -# !GPIB! #HiDEOSGpibLinkConfig(GPIB_Link, GPIB_Addr, GPIB_ServerName) +# !MPF-1-CPU! #Server_Mod_Name = GPIB_Module_Name +# !MPF-2-CPU! #Server_Mod_Name = "GPIB0" +# !GPIB! #HiDEOSGpibLinkConfig(GPIB_Link, GPIB_Addr, Server_Mod_Name) iocInit diff --git a/iocBoot/iocWithMPF/st_mpfserver.cmd b/iocBoot/iocWithMPF/st_mpfserver.cmd index 5e220f9e..390c7c31 100644 --- a/iocBoot/iocWithMPF/st_mpfserver.cmd +++ b/iocBoot/iocWithMPF/st_mpfserver.cmd @@ -14,7 +14,8 @@ initIpacCarrier(carrier, 0) ############################################################################### # Initialize GPIB module -# !GPIB! #initGpibGsTi9914("GS-IP488-0",carrier,"IP_d",104) +# !GPIB! #GPIB_Module_Name = "GS-IP488-0" +# !GPIB! #initGpibGsTi9914(GPIB_Module_Name,carrier,"IP_d",104) # !GPIB! #GPIB_ServerName = "GPIB0" # !GPIB! #initGpibServer(GPIB_ServerName,"GS-IP488-0",1024,1000)