diff --git a/iocBoot/iocvxWorks/gpib.cmd b/iocBoot/iocvxWorks/gpib.cmd index 1d4f95a6b860ff079082b95fcd163a0d95dd3650..257cb4967a40b4c005f6b3ae23f0899ad291b0c5 100644 --- a/iocBoot/iocvxWorks/gpib.cmd +++ b/iocBoot/iocvxWorks/gpib.cmd @@ -4,6 +4,18 @@ # SBS IP488 GPIB # gsIP488Configure(char *portName, int carrier, int module, int vector, # unsigned int priority, int noAutoConnect) +# portName - An ascii string specifying the port name that will be +# registered with asynDriver. +# carrier - An integer identifying the Industry Pack Carrier (numbered +# from 0) +# module - An integer identifying the module on the carrier (numbered +# from 0) +# intVec - An integer specifying the interrupt vector +# priority - An integer specifying the priority of the portThread. A value +# of 0 will result in a defalt value being assigned +# noAutoConnect - Zero or missing indicates that portThread should automatically +# connect. Non-zero if explicit connect command must be issued. + gsIP488Configure("gpib1",1,1,0x69,0,0) # GPIB addresses: 1=Tektronix scope, 2=Keithley 2000, 3=Fluke meter @@ -30,6 +42,10 @@ dbLoadRecords("$(IP)/ipApp/Db/Keithley2kDMM_mf.db","P=xxx:,Dmm=D2,PORT=gpib1 2") # (was GPIB_OI_block) #dbLoadRecords("$(IP)/ipApp/Db/deviceCmdReply.db","P=xxx:,N=1,PORT=gpib1,ADDR=1,OMAX=100,IMAX=100") +# Second gpib module dedicated to devSkeletonGpib Link-10 devices +# gsIP488Configure(char *portName, int carrier, int module, int vector, +# unsigned int priority, int noAutoConnect) +#gsIP488Configure("L10",1,2,0x6A,0,0) # Heidenhain AWE1024 at GPIB address $(A) #dbLoadRecords("$(IP)/ipApp/Db/HeidAWE1024.db", "P=xxx:,L=10,A=6")