Products > Test Equipment
AR- 488 first time.
(1/3) > >>
simba15:
So I built a arduino mega/AR488 adapter.

I used 1/2 of an old gbib cable from a box and a authentic arduino mega.

I uploaded the code ( after adding devnull) and it didn't seem to have any indication of working.

Maybe I am missing too many of the configuration steps. Is there a guide to show a basic operation like *idn?

I read alot of the documentation but I was unsure if I need to modify the config from default ( I enabled macro 0 and startup and set the address to 22 ( for my 34401) , but I didn't see any thing in the arduino serial console. Should I?

TIA. 
simba15:
So I can get a response from ++ver, thats a good sign.

I will test further with sending ++auto 2 and ++addr 22 then *idn?

I am trying to communicate with a 34401 or a HP5316A

Thanks,
simba15:
So I tried with the 34401 ( set to addr 22 and gpib 488) and I tried ++idn 1 and *idn?

Both get no response. I tried enabling ++verbose mode and it shows sending idn but no reply.

Any suggestions on how to troubleshoot? I am confident in the wiring ( but I will re check all connections.)

Thanks.
Hexley:
Maybe this snippet of dialog (taken from TestController) for a similar instrument with a Prologix interface will be of help. Specifically, don't forget to "++read eoi" to get the data back:

--- Code: ---;; Start thread for: PrologixEthernet A:3 - HP 53131A
;; 192.168.0.36: Tx: <++auto 0.> 2B 2B 61 75 74 6F 20 30 0A
;; 192.168.0.36: Tx: <++mode 1.> 2B 2B 6D 6F 64 65 20 31 0A
;; 192.168.0.36: Tx: <++addr 3.> 2B 2B 61 64 64 72 20 33 0A
;; 192.168.0.36: Tx: <*IDN?.> 2A 49 44 4E 3F 0A
;; 192.168.0.36: Tx: <++read_tmo_ms 3000.> 2B 2B 72 65 61 64 5F 74 6D 6F 5F 6D 73 20 33 30 30 30 0A
;; 192.168.0.36: Tx: <++read eoi.> 2B 2B 72 65 61 64 20 65 6F 69 0A
;; 192.168.0.36: Rx: <HEWLETT-PACKARD,53131A,0,3703> 48 45 57 4C 45 54 54 2D 50 41 43 4B 41 52 44 2C 35 33 31 33 31 41 2C 30 2C 33 37 30 33 0A
--- End code ---
simba15:
Thanks, Hexley

I will review and try these commands manually and with Testcontroller.

How do you set a device to use GPIB in Testcontroller?

Thanks,
Navigation
Message Index
Next page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod