

#idString Agilent Technologies,U1272A,
#name Agilent U1272A
#handle A1272
#port com
#driver KeysightDMM
#baudrate 9600


; A list of possible column name with unit and formatter (SI, Time, Int, D0..D6)
#value VoltageDC V d5 VDC,MVDC,DIOD
#value VoltageAC V d4 VAC,MVAC
#value VoltageACDC V d4 VACDC,MVACDC
#value CurrentDC A si ADC,MADC,UADC
#value CurrentAC A si AAC,MAAC,UAAC
#value CurrentACDC A si AACDC,MAACDC,UAACDC
#value Resistance ohm si RES,CONT
#value Capacitance F si CAP
#value Temperature C d1 TEMP
#value Frequency Hz si FREQDC,FREQAC
#value Period s si PWIDDC,PWIDAC
#value DutyCycle % D2 DUTYDC,DUTYAC
#value Conductance S SI nS

; How to poll for data, this is used for table and #values?
; a #askMode, #cmdMode and #prepareSample is used before this is string is used.
; This is a single line command
#askValues FETC?

; String to ask about actual meter mode, 
; This is a single line command
#askMode CONF?
#askModeMathFormat (value=="\"RES,8\"")?"nS":getElement(unQuote(value),0,",")+getElement(unQuote(value),2,",");

#interfaceType DMM
#interface readValue 0


; Strings to configure device in different modes, using these forces a mode check/change
; When used to select mode first parameter must match a #value (4 parameter) and second parameter must match what #askMode returns
; It can also be used for just checking the mode, then the #value (4 parameter) must match what #askMode returns
; First parameter is also used in shortcut menu
#cmdMode Check_mode _ _



