07-25-2012 02:27 PM
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?
Thanks,
John O.
07-25-2012 03:34 PM
Are these normal RS-232 ports or USB-COMM ports? I have seen similar strange errors on some devices connecting to the PC over USB-COMM.
07-26-2012 03:17 PM
Hello JohnO159,
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?
Best Regards,
09-06-2012 04:35 AM
Do you find any soultion?
05-20-2014 02:56 PM
Check for any IP conflict on the network if you are using ENET modules
05-29-2014 07:44 PM
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.
01-07-2015 09:32 AM
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.
Thank you.
BR
EW
01-07-2015 09:52 AM
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
See image
What do you think?
01-08-2015 09:44 AM
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.
Jim