02-12-2016 02:50 AM
Hi everyone,
When I use CLR Visa After I open a session I got this error:
−1073807360 | Unknown system error (miscellaneous error). |
Does anyone know why I am getting this error?
Thanks.
Regards,
F
02-16-2016 02:27 AM
Hello,
What Instrument do you use?
Have you ssen this KB? http://digital.ni.com/public.nsf/allkb/FB39997E48321E3B86256540000F45DD?OpenDocument
Regards,
02-16-2016 04:31 AM - edited 02-16-2016 04:34 AM
Reading the documentation for the VISA Clear command, it looks like for Serial (you are using Serial, right? It's not clear from your screenshot) it clears the buffers and sends a break. I could see that potentially it would error if it couldn't send the break (e.g. because of a device error) but I think it could also be that the serial device you are using might not support flushing the buffers.
Can you try to replace the Clear command with it's Serial equivalent code (2x Serial Flush IO buffer, and a Serial Break) function and try the different options and see if it returns the same errors (and which one returns the error)?
10-28-2016 03:50 AM
I have the same problem. Is there any solution up to now? I tried to use the serial flush io buffer function with different options but none of them works. Can anybody help?
Best
Christian