I'm using Visual C++ with the ComponentWork ActiveX and I'm tring to plot a
CWGraph using the data coming from a GPIB device. When I write command such
as "*IDN?" to the GPIB device, everythings if fine and I can read what the
GPIB device return me. But when I send a command like "SOUR:FUNC SIN;SENS
DATA?", the writing seems to be okay, but when I try to read the data, I
alway get a "Timeout expired before operation completed" error message. I
have tried with the CWGPIB and with the CWVISA but the result are the same
with both.
My reading code looks like this:
COleVariant vReadBuffer;
vReadBuffer = m_VISA.Read( COleVariant( (short) 2000 ) );
and it work fi
ne for "*IDN?" or for multimeters command.
I want to know how I must read the data for function generator commands.
Thank alot