08-02-2005 08:41 AM
|
Error
|
Is there something special to open this document?
Thanks. Sergey.
08-02-2005 09:07 AM
08-04-2005 07:00 AM
08-04-2005 07:44 AM
Hi Sergey,
The KB is still being validated. I will post the test from the KB below.
|
Problem: |
I've brought a USB-6008 and I'm having some problems with programming it. Can anyone help me sort it out. |
|
Solution: |
The first question you need to answer is what version of NI-DAQ do you have installed on your system. If you have NI-DAQ 7.4 or earlier installed then this will NOT work with the USB-6008. The 6008 will NOT be shown up under DAQmx Devices in MAX and the DAQmx examples will not run on it. To run the device with these versions of DAQ, you must install NI-DAQmx Base - which is on a CD shipped with the 6008. NI-DAQmx Base is a limited subset of DAQmx, but the two are NOT compatible. The USB-600x Interactive Control example is a ready made example which will run on the 6008 and you can do your datalogging from here. I would recommend that if you want to write custom programs for the 6008 under NI-DAQmx Base, then you should take one of the shipped examples and customise it as this will be much easier and quicker than writing the code from scratch yourself. If you wish to write customised programs for the USB-6008 then it will make life easier for you to upgrade to NI-DAQmx 7.5. You can download this for free from the following link. http://digital.ni.com/softlib.nsf/websearch/CF7ECCEA4C4CC7DE86257038004D88AE?opendocument&node=132060_US You then need to go through the procedure in the KB below. http://digital.ni.com/public.nsf/websearch/1448A8AC665EE0EA8625703F004A4410?OpenDocument You should then be able to see your device in MAX and launch test panels to make sure that you are getting valid signals into the device. From here, launch LabVIEW and start of by putting down a DAQ Assistant, select Analog Input and Voltage and you should see your USB-6008 under supported physical devices. Go through here and try creating a DAQ Assistant to get an analog input. Once you have this working you can try going into the example programs for DAQmx and set the device to the USB-6008. As long as you stay within the limitations of the USB-6008 then there is no reason why the normal DAQmx examples won't work on the device. It will have slower sampling speeds and lower resolution but will still acquire data. |