11-20-2006 04:06 PM
11-21-2006 02:38 PM
Greetings Chris,
This could be a problem with your DAQ installation, although it is very strange that you only get these errors intermittently. To ensure that you have CVI support installed for NI-DAQ, please follow these directions:
Please let me know if that fixes the errors, or if you are still having issues.
Regards,
Nicholas B, National Instruments
11-22-2006 12:18 PM
Thanks very much Nicholas,
I checked my NI-DAQ installation as you suggested but the Labwindows/CVI support registers as being installed locally, already. The reason I am stumped at this point is that I am able to open all function panels and the program compiles without any problem, suggesting everything is installed ok. If I reboot the machine and then run my program it will run fine until I exit and then I get the fatal error. It would appear that this fatal error then causes the non-fatal errors.
At this point I'm going to try uninstalling all NI software and re-installing from scratch, making sure I have all of the latest drivers. Any other suggestions would be more than welcome.
Many thanks,
Chris
11-27-2006 03:16 PM
Hi Chris,
Hopefully you will find that an upgrade of the Traditional DAQ driver (make sure to install support for LabWindows/CVI) will solve the problem. In case it doesn't, here are a couple of additional troubleshooting suggestions.
1)Run an analog output example (C:\Program Files\National Instruments\CVIxx\samples\daq\Ao). Do you get the same error? If not, compare differences between your code and the example.
2)Run test panels multiple times. Does this work?
3)This error is generally caused by a problem accessing the function in the dll. Do you have administrative privileges?
What is your reasoning for working with the Traditional DAQ driver. Is there anything preventing you from moving to DAQmx?
Regards,
Jennifer O.