Hi Mike,
I don't have software for that Agilent 33522A. However, I did recently write EPICS support for the Tabor 8024 Arbitrary Waveform Generator using StreamDevice. Like the Agilent 33522A it uses the SCPI protocol and the commands are pretty well standardized for such devices. So you may be able to start with what I've done:
https://subversion.xray.aps.anl.gov/synApps/ip/trunk/ipApp/Db/Tabor8024.db
https://subversion.xray.aps.anl.gov/synApps/ip/trunk/ipApp/Db/Tabor8024.proto
https://subversion.xray.aps.anl.gov/synApps/ip/trunk/ipApp/Db/Tabor8024_settings.req
https://subversion.xray.aps.anl.gov/synApps/ip/trunk/ipApp/op/adl/Tabor8024.adl
https://subversion.xray.aps.anl.gov/synApps/ip/trunk/ipApp/op/adl/Tabor8024_more.adl
This is the startup script I used to test it. Note that the Tabor 8024 is GPIB only, so I used an Agilent E5810B LAN/GPIB/USB Gateway to connect to it.
*************************************************************
corvette:CARS/iocBoot/ioc13Tabor>more st.cmd
errlogInit(5000)
< envPaths
# Tell EPICS all about the record types, device-support modules, drivers,
# etc. in this build from CARS
dbLoadDatabase("../../dbd/CARSLinux.dbd")
CARSLinux_registerRecordDeviceDriver(pdbbase)
vxi11Configure("L0","164.54.160.16",0,"0.0","gpib0",0,0)
asynOctetSetInputEos("L0",0,"\n")
asynSetTraceIOMask("L0",0,2)
#asynSetTraceMask("L0",0,0x9)
dbLoadRecords("$(IP)/ipApp/Db/Tabor8024.db", "P=13Tabor1:, R=AWG:, NELM=64536, PORT=L0, ADDR=0")
#var streamDebug 1
< ../save_restore_IOCSH.cmd
save_restoreSet_status_prefix("13Tabor1:")
dbLoadRecords("$(AUTOSAVE)/asApp/Db/save_restoreStatus.db", "P=13Tabor1:")
epicsEnvSet(STREAM_PROTOCOL_PATH, $(IP)/ipApp/Db)
date
iocInit
### Start up the autosave task and tell it what to do.
# The task is actually named "save_restore".
# (See also, 'initHooks' above, which is the means by which the values that
# will be saved by the task we're starting here are going to be restored.
#
# save other things every thirty seconds
create_monitor_set("auto_settings.req", 30, "P=13Tabor1:, R=AWG:")
*************************************************************
Cheers,
Mark
From: [email protected] [mailto:[email protected]] On Behalf Of Michael Johnson
Sent: Wednesday, January 08, 2014 9:42 AM
To: [email protected]
Subject: Agilent 33522A Function / Arbitrary Waveform Generator
Agilent 33522A Function / Arbitrary Waveform Generator: Has anyone controlled this from EPICS?
- Mike Johnson
- JLab
- References:
- Agilent 33522A Function / Arbitrary Waveform Generator Michael Johnson
- Navigate by Date:
- Prev:
Agilent 33522A Function / Arbitrary Waveform Generator Michael Johnson
- Next:
Re: Increasing scan rate to 10 kHz Till Straumann
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Agilent 33522A Function / Arbitrary Waveform Generator Michael Johnson
- Next:
RE: Agilent 33522A Function / Arbitrary Waveform Generator tom.cobb
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|