04-06-2025 05:22 AM
Hi, I am measuring voltage across a potentiometer. I first tested my hardware through Arduino IDE to see whether hardware is correct or not. It is correct. But now in LABView when I do the same thing I am getting this error: Error -1073807360 occurred at VISA Clear in LabVIEW Interface for Arduino.lvlib:Init.vi->mini_testing.vi. I had closed all other applications using COM3 and also had verified COM3 wherever required. I am attaching the LABView block diagram below. Please help me assisting this problem.
04-07-2025 04:52 AM
I don't know your hardware, but the use of VISA Clear seems very strange to me. VISA Clear also sends a break signal. This was commonly used in the Stone Age. It must have been 20 years since I last needed a break signal, and that was for a fairly old device back then. I recommend checking first whether a break signal is really needed. If not, then VISA Clear needs to be removed or replaced with a VISA Flush I/O Buffer. Unfortunately, the error -1073807360 from VISA isn't very informative and could mean anything. The Windows API provides more detailed information about the cause in such cases, but VISA doesn't. It could be a defective serial interface (USB-RS232 converter) or a malfunctioning Windows driver. The break signal could also be causing problems.