Hi J2005,
You may want to try to use simple VISA functions in LabVIEW to only reset the device and see if it works that way. Just open, configure, and write the reset command. Leave all other functions out. If this works correctly, there is something within the program preventing the command from being sent to the instrument correctly. Since it is working in MAX, you may want to open NI Spy to see the exact command being sent to the instrument in MAX. Then, run your program and use NI Spy again to capture the VISA functions containing the reset command. You can compare these two and see if they are the same. MAX may be automatically sending a termination character that your program isn't. It sounds like something small, so hopefully we can track it down. Please check the spy captures and try a simple program to reset the device and let me know if you are still having problems. Best of luck and have a great day!
Chris R.
Applications Engineer
National Instruments
Chris R.
Applications Engineer
National Instruments