I have code for the Fluke 8840A multimeter. I don't know how similar the command set is.
My code is just a simple database that consists of 2 asyn records and 2 scalcout records. I have appended it below. This code does not allow changing the measurement type, etc. That is just done once in the initialization.
Mark
corvette> more Fluke_8842A.db
# Database for Fluke multimeter
# Mark Rivers, December 12, 2001
# Converted from gpib to asyn record March 23, 2004
# Initialize meter to following conditions
# Medium speed acquisition (S1)
# Volts DC (F1)
# 200 mV range (R1)
# Auto Range (R0)
# Trigger mode continuous on talk (T0)
# Terminate with CR only (W3) (or is this 3 millisecond delay?)
# W3 seems to be making the meter be in Talk mode constantly, remove for
# now
record(asyn,"$(P)$(M)_Init")
{
field(PORT,"$(PORT)")
field(IMAX,"100")
field(PINI,"YES")
field(ADDR,"$(A)")
field(AOUT,"S1 F1 R0 T0")
}
# Read value
record(asyn,"$(P)$(M)_Read")
{
field(PORT,"$(PORT)")
field(IMAX,"100")
field(ADDR,"$(A)")
field(AOUT,"?")
field(FLNK, "$(P)$(M)_Convert PP MS")
}
# Convert string to number
record(scalcout,"$(P)$(M)_Convert")
{
field(INAA,"$(P)$(M)_Read.AINP NPP NMS")
field(CALC,"DBL(AA)")
field(PREC,"3")
field(FLNK, "$(P)$(M)_Calc PP MS")
}
# Convert to user units. Dummy calculation here, actual
# calculation will be remembered in save/restore
record(scalcout,"$(P)$(M)_Calc")
{
field(INPA,"$(P)$(M)_Convert.VAL NPP NMS")
field(CALC,"A")
field(PREC,"1")
field(EGU,"TC")
}
________________________________
From: Kiman Ha [mailto:[email protected]]
Sent: Mon 7/4/2005 7:01 AM
To: [email protected]
Subject: Asyn driver for FLUKE 8508A
Hi All,
Does anyone using Asyn driver for FLUKE 8508A multimeter?
Thank you,
Kiman,
Pohang Light Source
- Navigate by Date:
- Prev:
maybe off topic, maybe not :-) Liyu, Andrei
- Next:
RE: UDP send, errno=0x37 Jeff Hill
- 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:
Asyn driver for FLUKE 8508A Kiman Ha
- Next:
UDP send, errno=0x37 Geoff Savage
- 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
|