Hello NI Forums,
We have a somewhat large labview program that we have been using for years. Recently we have had problems when the viWrite returns an error of 0xBFFF0000 (VI_ERROR_SYSTEM_ERROR), Unknown system error (miscellaneous error) every so often while performing normal operations. Attached is one of these instances caught using I/O Trace.
Could you give me some feedback on what could cause this? It seems to happen randomly but does only seem to affect one of the two instruments the software is communicating with. The instrument was issued a very similar command a few seconds before the error without problems. Both instruments are using RS-232. Could this be caused by EMI in the equipment environment?
The only reference I’ve found for this error code is the one in the KB viEnableEvents Returns 0xBFFF0000 VI_ERROR_SYSTEM_ERROR. It explains that this error is displayed for cases in which VISA cannot accomplish an OS-dependent task. Have you made changes in the environment (i.e. drivers)? One of the options would be that the device does not support the tasks, but if it has worked for years without problems, then we can discard it. Just to double check, is this right?
Any updates to this post? Did you find a solution? I just had basically the exact same program occur. Fifty thousand iterations of basically the exact same viWrite and then it failed.
Did anybody find a solution?
I also get sometimes 0xBFFF0000 from my connected devices. It makes my test equipment useless.
I use 2 Stepper Motor Drivers (from Nanotec) which are connected over USB (so there are internally a USB->COM port chips which generate Virtual Com Ports)
See attachment for my Virtual Com Port Infos from System Information.
Hmm, I am currently running a small (standard) test exe where I permanently send commands to the virtual port, and everything seems to be OK for some time now - NO ERRORS ...
Perhaps the problem is
What do you think?
I have had these sorts of troubles with early NI Daq systems(before cDAQ)...after trying a few more things suggested by NI support, I think I'll be trying some non-NI RS232 parts, and last I'll be ditching the RS232/4 for a PCIe board that I know works.
Hope this helps someone out there.