05-14-2007 05:23 AM
05-14-2007 10:17 AM
You DO NOT wire the return count output to VISA Read. The return count is the number of bytes written and has nothing to do with how many bytes you should read. You can look in the programming manual to get an idea of how many bytes the query will return. You can, however, put some large number for the number of bytes to read. The instrument will assert EOI at the end of the data so the VISA Read will automatically terminate when the EOI is detected.
The simplest thing to do is to use the existing driver for the E3646A. Is there a reason you don't want to? You can use the Tools>Instrumentation menu option to search for it or to go to the Instrument Driver Network.