08-11-2005 10:40 AM
08-12-2005 07:20 AM
I think you need to set the VI_ATTR_IO_PROT attribute to VI_PROT_4882_STRS. The viClear wants to send a *cls to a SCPI based instrument and you need to set this attribute for it to work.
08-15-2005 07:20 PM
Serial's viClear() behaviour has changed from VISA spec 3.0 a bit. It now performs Send Break and does not require VI_ATTR_4882_STRS being set. You should upgrade to the latest NI-VISA version.
08-17-2005 07:40 AM
I did set the VI_ATTR_IO_PROT per cymrieg's suggestion and it did fix the problem. I am running VISA 2.6.1 and will try the VISA update per Makoto's suggestion as an alternative. Thanks for your prompt and helpful reply.