wiki:epics/streamdevice/proto_AG53181

Agilent 53181 周波数カウンタ

  • KEK 下ヶ橋さん作成
  • ページ最下部から、直接ダウンロード可能
Terminator = LF;

#LockTimeout = 10000;
#WriteTimeout = 10000;
ReplyTimeout = 10000;  ## 10000ms
#ReadTimeout = 10000;

#
############### *IDN? ###############
getIDN {
    out "*IDN?";   in "%39c";
}

############## *RST ###############
setRST {
    out "*RST";
}

############## *CLS ###############
setCLS {
    out "*CLS";
}

############## *SRE0 ###############
setSRE0 {
    out "*SRE 0";
}

############## *ESE0 ###############
setESE0 {
    out "*ESE 0";
}

############## STATUS PRESET ###############
setSTPR {
    out ":STAT:PRES";
}

############## FILTER OFForON ###############
getFILT {
    out ":INPUT1:FILTER?";   in "%{0|1}";
}

setFILT {
    out ":INPUT1:FILTER %{OFF|ON}";
    @init { getFILT; }
}

############## TRIGGER LEVEL AUTO ###############
getLEVAU {
    out ":EVENT1:LEVEL:AUTO?";   in "%{0|1}";
}

setLEVAU {
    out ":EVENT1:LEVEL:AUTO %{OFF|ON}";
    @init { getLEVAU; }
}

############### TRIGGER LEVEL ###############
getLEV {
    out ":EVENT1:LEVEL?";   in "%f";
}

setLEV {
    out ":EVENT1:LEVEL %f";
    @init { getLEV; }
}

############## COUPLING ###############
getCOUP {
    out ":INPUT1:COUP?";   in "%{AC|DC}";
}

setCOUP {
    out ":INPUT1:COUP %{AC|DC}";
    @init { getCOUP; }
}

############### IMPEDANCE ###############
getIMP {
    out ":INPUT1:IMP?";   in "%f";
}

setIMP {
    out ":INPUT1:IMP %f";
    @init { getIMP; }
}

############## TRIGGER SLOPE ###############
getSLOP {
    out ":EVENT1:SLOPE?";   in "%{POS|NEG}";
}

setSLOP {
    out ":EVENT1:SLOPE %{POS|NEG}";
    @init { getSLOP; }
}

############### CHANNEL SELECT ###############
getSENS {
    out ":FUNC?";   in "%39c";
}

setSENS {
    out ":FUNC 'FREQ %{1|2}'";
#    @init { getSENS; }
}

############## GATE MODE ###############
getGAMO {
    out ":FREQ:ARM:STOP:SOUR?";   in "%{IMM|EXT|TIM|DIG}";
}

setGAMO {
    out ":FREQ:ARM:STOP:SOUR %{IMM|EXT|TIM|DIG}";
    @init { getGAMO; }
}

############### GATE TIMER ###############
getGATI {
    out ":FREQ:ARM:STOP:TIM?";   in "%f";
}

setGATI {
    out ":FREQ:ARM:STOP:TIM %f";
    @init { getGATI; }
}

############### FREQUENCY? ###############
getFREQ {
    out ":READ:FREQ?";   in "%f";
}

############### DATA? ###############
getDATA {
    out ":DATA?";   in "%f";
}

getRUN {
    out ":INIT:CONT?";   in "%{0|1}";
}

setRUN {
    out ":INIT:CONT %{OFF|ON}";
    @init { getRUN; }
}

Last modified 7 years ago Last modified on 07/09/12 17:26:01

Attachments (2)

Download all attachments as: .zip