LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA error when I use CLR

Hi everyone,

When I use CLR Visa After I open a session I got this error: 

−1073807360Unknown system error (miscellaneous error).

 

Does anyone know why I am getting this error?

Thanks.

Regards,

F

0 Kudos
Message 1 of 4
(3,541 Views)

Hello,

What Instrument do you use?

Have you ssen this KB? http://digital.ni.com/public.nsf/allkb/FB39997E48321E3B86256540000F45DD?OpenDocument

Regards,

 

Jovan N. - Application Engineering
0 Kudos
Message 2 of 4
(3,468 Views)

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)?


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 3 of 4
(3,448 Views)

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 

0 Kudos
Message 4 of 4
(3,188 Views)