03-28-2019 10:58 AM
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
03-28-2019 11:32 AM
What version of NI VISA, LabVIEW? what OS? What does device manager report? Did you recently get a OS update?
03-28-2019 12:42 PM
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
03-02-2023 02:46 PM
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.
03-02-2023 11:32 PM
How do you usually stop the run? Do you use a stop button or the abort?
03-03-2023 11:31 PM
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.
03-04-2023 02:09 AM
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.