08-19-2005 09:28 AM
08-22-2005 08:57 AM
Hello,
Can you post a screenshot of the error? I initially suspect one of two things here:
1. Perhaps the operation is timing out due to the large record size, in which case we can increase the timeout value (see the Timeout parameter of the VISA Open function under VISA Advanced).
2. The VISA buffer is too small, in which case we'll need to increase the buffer size (see the VISA Set I/O Buffer Size function under VISA Advanced -> Interface Specific).
Also, there may exist a driver for that instrument, which presumably will have taken these large record read/write scenarios into account. For existing drivers, the best places to search are:
a). ni.com\idnet
b). the manufacturer's website.
Ok, definitely get back to me if you continue to have trouble with this!
Thank you,
Best Regards,
08-23-2005 09:12 AM
08-23-2005 12:28 PM
well, we're tried all the suggestions regarding the settings in NI-Visa and, unfortunately, still have the same problem.
the error kicked out by the Visa write VI when trying to send more than 8k bytes of data is:
Error -1073807239 occurred at VISA Write in ag33220A-WRITE.vi->MyWaveformLoader.vi
Possible reason(s):
VISA: (Hex 0xBFFF0079) The protocol specified is invalid.
i appreciate the suggestions and welcome any more anyone might have.
08-24-2005 07:50 AM
08-24-2005 09:04 AM
08-24-2005 04:15 PM
08-25-2005 10:30 AM
10-14-2005 04:40 PM
10-17-2005 07:00 AM
i was finally able to get the VI to send >8kb waveforms on both computers i have running with an Agilent 33220A.
the first system uses WinXP pro and all i had to do there was load the Agilent Visa with the NI Visa already loaded. the Agilent Visa took over control and everything worked just fine.
the second system uses Win2000 and i had to completely uninstall the NI Visa, then load the Agilent Visa to get proper waveform loading. the only side effect on both was that i can't get my aliases to show up in the VI--the full TCP/IP addresses for the 33220A are all that show up in the Visa Session window. but other than that, everything works just fine now.