Hello!
That error usually occurs when your instrument does not respond to the identification command. Most of our software will automatically send this command, so if your instrument does not support it, it may throw this or a similar error (timeout, etc). Sometimes you will need to turn your instrument off and back on again after it is sent this command. Instruments will often lock if they are sent a bad command, so you may need to reset it. This link (
http://www.ni.com/support/labview/visa/verr1.htm) talks about one way that is known to correct the error you are getting. I found it by searching for "1074003951" at
www.ni.com. I am not sure why your instrument works most of the time, but sometimes you get this error. This may be happening if there is no wait between your port configuration and your write or between your write and your read. Is this error showing up at the beginning of your program or somewhere after it starts? Are you sending the identification command intentionally or is it automatically sent? If you are still having trouble, please send me this information and I will look into it further. I hope this information helps you fix this problem, but let me know if you have any additional questions. Have a great day!
Chris R.
Applications Engineer
National Instruments
Chris R.
Applications Engineer
National Instruments