EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: SMA100A Signal Generatordriver
From: Benjamin Franksen <[email protected]>
To: "Ha, Kiman" <[email protected]>, "[email protected]" <[email protected]>
Cc: "Caracappa, Anthony" <[email protected]>
Date: Mon, 9 Apr 2018 16:31:50 +0200
On 02/13/2018 05:35 PM, Ha, Kiman wrote:
> Does anyone have a driver for the R&S®SMA100A Signal Generator ?
> 
> https://www.rohde-schwarz.com/us/product/sma100a-productstartpage_63493-7566.html

We have been using it for years with asyn and streamDevice. A protocol
file is attached.

Cheers
Ben
-- 
"Make it so they have to reboot after every typo." ― Scott Adams
Terminator = CR LF;
ExtraInput = Ignore;

# get identification
inIdn {
    out "*IDN?";
    in "%#s";
}

# get STB
inStb {
    out "*STB?";
    in "%i";
}

# reset to default state
outRst {
    out "*RST; *WAI";
}

# set event status enable register
outEse {
    out "*ESE %i";
}

# set event status enable register
inEse {
    out "*ESE?";
    in "%i";
}

# set service request enable register
outSre {
    out "*SRE %i";
}

# set service request enable register
inSre {
    out "*SRE?";
    in "%i";
}

# for quickly testing new commands and queries
test {
    out "%s";
    in "%39c";
}

setupSweepMode {
    out "SOUR:SWE:FREQ:MODE STEP";
    out "SOUR:SWE:FREQ:SPAC LIN";
    out "TRIG:FSW:SOUR EXT";
}

inFrq {
    out "FREQ?";
    in "%f"
}
outFrq {
    out "FREQ %f";
    @init { inFrq; };
}

inStartFrq {
    out "FREQ:STAR?";
    in "%f";
}
outStartFrq {
    out "FREQ:STAR %f";
    @init { inStartFrq; };
}

inStopFrq {
    out "FREQ:STOP?";
    in "%f";
}
outStopFrq {
    out "FREQ:STOP %f";
    @init { inStopFrq; };
}

inStepFrq {
    out "SWE:FREQ:STEP:LIN?";
    in "%f";
}
outStepFrq {
    out "SWE:FREQ:STEP:LIN %f";
    @init { inStepFrq; };
}

inLvl {
    out "LEVEL?";
    in "%f"
}
outLvl {
    out "LEVEL %f";
    @init { inLvl; };
}

inFmFrq {
    out "FM?";
    in "%f"
}
outFmFrq {
    out "FM %f";
    @init { inFmFrq; };
}

inRfOn {
    out "OUTP?";
    in "%i";
}
outRfOn {
    out "OUTP %{OFF|ON}";
    @init { inRfOn; };
}

# phase continuous frequency setting
inPhasCont {
    out "FREQ:PHAS:CONT:STAT?";
    in "%i";
}
outPhasCont {
    out "FREQ:PHAS:CONT:STAT %{OFF|ON}";
    @init { inPhasCont; }
}

inFrqMode {
    out "FREQ:MODE?";
    in  "%{CW|SWE|LIST}";
}

outFrqMode {
    setupSweepMode;
    out "FREQ:MODE %{CW|SWE|LIST}";
    @init {
        setupSweepMode;
        inFrqMode;
    }
}

Attachment: signature.asc
Description: OpenPGP digital signature


References:
SMA100A Signal Generatordriver Ha, Kiman

Navigate by Date:
Prev: Re: GpibBoardDriverConfig not found Mark Rivers
Next: Re: Problem with autosave module making it crash at random basis. Michael Davidsaver
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: SMA100A Signal Generatordriver Ha, Kiman
Next: Autosave -- debug output when field is updated Daykin, Evan
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 09 Apr 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·