On 03/09/2016 05:20 PM, Vitor Finotti wrote:
> I need to control a SMA100A signal generator through EPICS. Have anyone
> already done the respective IoC? Thanks!
I am attaching the protocol file that we use. (The include line is
resolved by an extra make rule, you can delete it.)
Cheers
Ben
--
"Make it so they have to reboot after every typo." ― Scott Adams
Terminator = CR LF;
ExtraInput = Ignore;
include "../SCPI.proto"
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:
- IoC support for Rohde & Schwarz SMA100A Vitor Finotti
- Navigate by Date:
- Prev:
Re: appropriate version of sequnecer jun-ichi.odagiri
- Next:
Re: Scan problem when the ioc behave as client Tasaddaq Khan
- 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:
Re: IoC support for Rohde & Schwarz SMA100A Eric Norum
- Next:
In search of BIC 1000C current integrator manual Brian McAllister
- 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
|