11-23-2010 01:38 PM
I am trying to get a Stanford Research Systems DS345 synthesized function generator to run using the example code that came with the NI-driver. I've attached the example code below. The first time I ran the program I was given an error message #1074003951...ID Query Failed. The function generator is hooked up correctly and will communicate through Measurement and Automation Explorer without an error. When I troubleshooted this error further, it was recommended to try disabling the query. I set the query to false and it communicated with the instrument. Unfortunately, the program freezes after I hit run and there is no way to stop it (even abort won't work).
I have started using labview only 2 weeks ago and am very new to it's programming. Should this code have a while loop or is there something in there that is continuously running the instrument that I don't see? Do I need to add a stop button, if so, where?
Thanks in advance.
Nicole
11-23-2010 02:03 PM
You have to first provide the driver you are using. It is not the one on NI's or Stanford Research's site. I would suggest you contact the vendor of the driver for help. The initialize function should be fixed.