Hello folks,
I really need some help here. I am working on a big project but have limited knowledge about interfacing microcontrollers with GPIB. The final project goal is to use a smartphone to control GPIB analyzer, but my current task is just to connect a microcontroller (probably based on Arduiono board) to the instrument and fetch a couple of measurements so I could transfer them via bluetooth module to a smartphone. I am not looking into graphs or any other complicated data for now. Smth, like "Voltage" value should be sufficient. I researched the web till my eyes get burned and still is very confused how to proceed and what to start with. I read about GPIB connector, studied handshaking procedure, but how can I program my controller to actually send a command via GPIB and get the data back? I guess I can not just connect Microcontroller lines to GPIB lines. I assume I might need some kind of logic in between.
Like, for instance if I want to measure voltage, I guess I should send smth like:
: MEASure:VOLTage:AC? 12, 0.001
But how can I implement that line in microcontroller? I just want to understand how I can send a particular command to an instrument and get the data back.
Sorry for asking such a noob question. I am very new to all that stuff but can pick up rather quickly.
I ll be more specific next time once I get a bit of knowledge how all that stuff works. May be some kind of example would help dramatically.
Thanks a lot,
Paul