08-27-2007 01:37 AM
08-27-2007
06:02 AM
- last edited on
07-14-2025
01:23 PM
by
Content Cleaner
Hi Geoff,
According to this document, the USB-6009 is only supported using the latest NI-DAQmx driver. The traditional NI-DAQ driver will not recognise the USB-6008. Unfortunately you will have to re-write your code to use the DAQ Assistant or NI-DAQmx VIs instead. Here are some resources to get you started with NI-DAQmx:
NI-DAQmx Express VI Tutorial
Getting started with NI-DAQmx
Please let me know if you have anymore questions.
08-28-2007 09:13 PM
Sorry to perseverate here, but just to clarify: does this mean that there are no drivers that will let you use VIs like AI Config, AI Read, AI Start, and the rest with the USB-6009?
Geoff
08-28-2007
10:00 PM
- last edited on
07-14-2025
01:23 PM
by
Content Cleaner
NI has the Traditional DAQ Compatability VIs. At some point though, you should think about rewriting to use the DAQmx functions.
08-28-2007 10:23 PM
Fantastic. Thank you.
Geoff
08-29-2007 12:25 AM
I downloaded and installed the compatability VIs, but when I run a traditional 'analog in' VI the following error message appears:
Error -200220 occurred at Traditional NI-DAQ Compatibility VI: AI Group Config --> DAQmx Create Channel (AI-Voltage-Basic).vi
Is there something I've failed to do correctly?
Regards,
Geoff
08-29-2007
02:55 AM
- last edited on
07-14-2025
01:24 PM
by
Content Cleaner
Geoff,
Here is a link you can try to resolve this issue: here
I have a feeling that you may not be using the correct device name. Here is an excert from the Traditional NI-DAQ Compatiblity VIs Help file that shows you how to set the names for DAQmx devices:
To use the Traditional NI-DAQ Compatibility VIs with NI-DAQmx devices, you must configure the NI-DAQmx device descriptors in Measurement & Automation Explorer (MAX) to be similar to Traditional NI-DAQ device descriptors. Use the following guidelines to configure the device names in MAX:
Message Edited by Abhinav T on 08-29-2007 02:55 AM
08-29-2007 08:36 PM
Abhinav
Thanks for your advice. Your hunch was correct, and giving the device a numeric name eliminated the Error -200220.
However, I didn't get much further, and attempting to run the traditional AI Config VI returned a different error:
Error -200452 occurred at Traditional NI-DAQ Compatibility VI: AI Clock Config --> Property Node DAQmx Timing (arg 1) in AI Clock Config.vi --> AI Config.vi
The error code seems to indicate that AI Config.vi tries to use a property that is not supported by the USB-6009.
Any help is greatly appreciated ...
Geoff
08-31-2007
07:45 AM
- last edited on
07-14-2025
01:25 PM
by
Content Cleaner
Hi Geoff,
What are you using AI Clock Config.vi for? This Knowledge Base article talks about 3 different uses for AI Clock Config. The Knowledge Base is specific to E Series Devices since they work with Traditional DAQ and have the option of having an external channel clock. I was looking at the USB-6009 User Manual and did not see that you could specify an external channel clock. You may be using functionality that is not available to you on the USB-6009.
09-09-2007 08:12 PM
Hi Ima
Thanks for your reply, which I've only just got to. I didn't specifically use the AI Clock Config.vi; rather, I just used the higher-level AI Config.vi, which in turn must have called the AI Clock Config.vi. I had though that hte comp[atibility VIs would extend to the level of the lower-order sub-VIs.
I see that it's sensible to make the transition to DAQmx, but still welcome any help in getting the traditional DAQ VIs working with the USB-6009.
Thanks to all,
Geoff