I am having difficulty getting TC working with my Fluke 8502a and AR488.
At a serial terminal (baud 115200) all I need to do is type the following with a linefeed to get the voltage returned
++addr 5
++auto 1
V?
and I get the voltage returned
-009.4110E-3
I have setup a GPIB controller in TC with baud 115200, port 7, Id A, and I add ++auto 1 into the Settings box.
I then try the following device file, my attempt anyway
----------------------------------------------
#idString FLUKE8502A
#name Fluke-8502a
#handle FLUKE8502A
#port GPIB
;#port comfixedbaud
#baudrate 115200N82
; using a AR488 so the DTR has to be set correctly:
#driver ascii
#eol \n
; A list of possible column name with unit and formatter (SI, Time, Int, D0..D6)
#value VoltageDC V D6 VDC
; 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 V?
;++read_tmo_ms is controlled with #readingDelay
#readingDelay 1
;++read eoi is controlled with #gpibReadEol
#gpibReadEol 10
; Switch meter to this mode during start, leave empty to avoid any switching
#initialMode
; Strings to configure device in different modes
; First parameter must match a #value (4 parameter) and second parameter must match what #askMode returns
; First parameter is also used in shortcut menu
;#cmdMode VDC V?
;#cmdMode VAC VA?
; Initial commands to meter when establishing connection
; syst:rwl locks keypad during remote operation
#initCmd
; Final command to meter before breaking connection
#finalCmd
---------------------------------------------------
and the debug window shows
Starting
;; jSerialComm version: 2.9.1
;; COM7: Set params: 115200
;; Start thread for: AR488 A:5 - Fluke-8502a
;; Start thread for: COM4
;; Start thread for: COM9
;; COM7: Tx: <++default.> 2B 2B 64 65 66 61 75 6C 74 0A
;; COM7: Tx: <++auto 1.> 2B 2B 61 75 74 6F 20 31 0A
;; COM9: Set params: 9600
;; COM4: Set params: 9600
;; Found Fluke-8502a on AR488 A:5
;; COM4: Tx: <*IDN?.> 2A 49 44 4E 3F 0A
;; COM9: Tx: <*IDN?.> 2A 49 44 4E 3F 0A
;; COM4: Rx: timeout
;; COM9: Rx: timeout
;; COM4: Tx: <*IDN?.> 2A 49 44 4E 3F 0A
;; COM9: Tx: <*IDN?.> 2A 49 44 4E 3F 0A
;; COM4: Rx: timeout
;; COM9: Rx: timeout
;; Stopping thread for: COM9
;; Stopping thread for: COM4
;; COM4: Close
;; COM9: Close
If I then try to enter a command line input like V? I get
;; FLUKE8502A: Tx <V?>
;; FLUKE8502A: Rx Timeout
Any help appreciated. I am just trying to get a minimal device setup file going at the moment or even get the device responding to the command line. I am not sure I am even entering the commands into the command line correctly. I would benefit from a similar GPIB device that accepts simple commands like V?, I? etc
Cheers Richard