LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA write function does not work

Hi,

I'm trying to solve an issue related to Visa write function. My program worked without problems until today, when running it I obtained :

[ Error -1073807360 occurred at VISA Write in Send Data.vi->Send Sensor Coefficients.vi->Progetto_opt.vi]

Possible reason(s):

VISA: (Hex 0xBFFF0000) Unknown system error (miscellaneous error).

So, since the COM port is correct (I'm using a PsoC device connected through USB port) what I've done is to check if some other programs (like the examples provided by LV in the detailed help of the Visa write function) worked, but nothing. I also tried to disinstall and re-install the NI-VISA but without success. I didn't fin any solution neither in the NI forum or in Google.

Can someone explain me how to solve this nasty situation?

thanks

0 Kudos
Message 1 of 7
(3,097 Views)

What version of NI VISA, LabVIEW?  what OS? What does device manager report?  Did you recently get a OS update?


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 7
(3,085 Views)

Has anything changed in the code??  I've seen that error code when a VISA session is aborted and the VISA reference isn't closed.  When you try to re-run the code it throws that error.  Try closing LabVIEW and the program, perhaps rebooting, then try again.  

 

Craig

0 Kudos
Message 3 of 7
(3,058 Views)

I faced the same problem. The program always runs for a time maybe 1000s and then shows the same error code. I wonder how to solve it.

0 Kudos
Message 4 of 7
(1,514 Views)

How do you usually stop the run? Do you use a stop button or the abort? 

0 Kudos
Message 5 of 7
(1,490 Views)

No, I reinstalled the LabView problem, and the same error still exists. Maybe when debugging the program, the program will close in an abnormal way. So, I doubt this is the third part equipment (Agilent) Visa problem.

0 Kudos
Message 6 of 7
(1,458 Views)

That's what I'm trying to say. The program program probably stops in abnormal way. Always stop your program with a stop button unless you have no other choice. When you use abort, some function does not close. For example, if you were placing data in array and you use the abort to stop the program, that array will not clear. Yes, try to use the stop button and see if there is any change. 

0 Kudos
Message 7 of 7
(1,448 Views)