HPDVM

From DaqWiki
Jump to navigation Jump to search

About

TBW

Links

TBW

Hardware

TBW

Setup

  • connect DVM:
    • use DB9-male--DB9-female straigh-through serial cable
    • in the HPDVM, set communications to 115200 baud, RTS/CTS flow control, 8bit, no parity
  • setup ser2net:
### HP DVM
3001:raw:600:/dev/ttyS0:115200 -XONXOFF -RTSCTS LOCAL
#3003:raw:600:usb-4-2.3-1.0:115200 -XONXOFF -RTSCTS LOCAL
    • in start_daq.sh, add this before start of mhttpd:
$HOME/packages/ser2net/ser2net -c $HOME/online/ser2net.conf -p 3000
    • start ser2net using above command
    • "telnet localhost 3001", type "*IDN<enter>", the DVM should respond with it's model number identification
  • setup fedvm:
  • setup ODB:
    • set /eq/dvm/settings/device to "localhost:3001" (address of ser2net)
    • restart fedvm
    • set /eq/dvm/settings/Config to:
[0] func "volt:dc",(@101:120);volt:dc:range:auto on,(@101:120)
[1] SENS:VOLT:DC:NPLC 10,(@101:120)
    • set /eq/dvm/settings/scan to:
[0] rout:scan (@101,102)
    • set /eq/dvm/settings/ScanPeriod[0] to "60000" (in milliseconds)
    • restart fedvm
    • it should read the voltages on channels 101 and 102 into ODB /eq/dvm/variables