I have Agilent 54622d using POD1 and POD2. In SOFT "LabVIEW" I ask my device with modules VISA-read|write.
For analog channel - no problem: for channel #1 I set "WAV:SOURce CHAN1" and then ":WAV:DATA?" to get data from osc.
But as for digital channel - I need to work with POD1 and POD2, each of them has 8 channels. After command "WAV:SOURce POD1" and then ":WAV:DATA?" I get data not ASCI, but HEX-format, as I know.
So I have some questions:
- how can I get DATA for example from channel D3 (POD1)?
- what is format of DATA, folowing "#800002000"?
- what does 2000 bytes of data after "#800002000" (in answer of device) consist of and how I can separate these data in each of channel?
*sorry for my russian English*
For analog channel - no problem: for channel #1 I set "WAV:SOURce CHAN1" and then ":WAV:DATA?" to get data from osc.
But as for digital channel - I need to work with POD1 and POD2, each of them has 8 channels. After command "WAV:SOURce POD1" and then ":WAV:DATA?" I get data not ASCI, but HEX-format, as I know.
So I have some questions:
- how can I get DATA for example from channel D3 (POD1)?
- what is format of DATA, folowing "#800002000"?
- what does 2000 bytes of data after "#800002000" (in answer of device) consist of and how I can separate these data in each of channel?
*sorry for my russian English*
The 2000 byte return is either the acquisition record of 2000 points or a return
of Pods 1&2 in word format. The data for each line in the pod is in the same order as
a byte. You have to parse out the individual data lines.
Second, our IVI-COM driver will parse out the data lines for you.
Go to www.agilent.com/find/ivi-com to get the necessary IVI-COM
pieces.