hi,
i need to send lot of data to a device connected to my parallel port (win2k), it's working well with inp and outp but it is quite slow, so i try the VISA Library.
Using visa with ASRL10::INSTR is faster, but i would like to know how can i check for busy state and others control/status register states under the visa lib.
Also I would like to know how to set timeout for write operation. At the moment i set :
viSetAttribute (deviceHandle, VI_ATTR_TMO_VALUE, 2000);
but if the device is not connected when i send my data using :
viWrite (deviceHandle, dataBuffer, sizeofData, &RtCount);
program blocks and it takes around 10 minutes before getting an error 0xBFFF003E (could not perform operation because I/O error). I woul
d like to obtain a much more rapid error advice.
Thanks in advance for help or suggestions.
Fred!