06-01-2023 06:13 PM
Hello,
I have a general question about how/if I can get more information about an error code (-1073807360). The Message that comes with this code is "VISA Write in microController_Comm.vi"
To provide a bit more context: This error occurs sporadically, and without a clear cause. I have a VI that communicates with a Teensy microcontroller about 50 times a second. Each communication step involves a write, followed by a read. When the error first occurs, the microcontroller times out for about 3-4 minutes, then normal functionality returns.
I have searched the web for a more detailed description of this error code to no success. Any help or suggestions would be greatly appreciated!
Thanks,
Matt
06-02-2023 06:55 AM
Unknown Error...those are fun to figure out...
What are you using to talk to your device? I'm guessing a USB-Serial converter that is then using RS-232 to talk to your microcontroller. With that assumption, a couple of things I would look at:
1. Make sure you have the latest driver for the converter.
2. Go into your computer's device manager and go into the settings for every USB hub. There is a Power Management or similarly named tab that has a checkbox to allow the computer to turn off the bus to save energy. Turn that off. This has been known to randomly turn off and back on many different devices.