03-02-2010 02:01 PM
The error I receive is:
Possible reason(s):
NI-DAQ LV: The specified device is not a National Instruments product, the driver does not support the device (for example, the driver was released before the device was supported), or the device has not been configured using the Measurement & Automation Explorer.
The device pops up as NI USB-6221 (BNC):"Dev1" in the Measurement & Automation panel, however, the device is not listed when I try to create a new channel using the following path: Data Neighborhood => Traditional NI-DAQ Virtual Channel
03-02-2010 02:08 PM
03-02-2010 03:13 PM
03-03-2010 09:45 AM
Dennis is right; the driver for the USB 6221 is DAQmx. Version 8.7.1 will support LabVIEW 8.0 and this is designed to let you use the DAQ device in LabVIEW. There are also a bunch of examples in the Examples finder to help you get started.
03-03-2010 01:19 PM
I installed DAQmx, and when I try to run my labview program it does not work.
My program simply consists of the DIG LINE function, with inputs of (1) device is set to the number "1" since the DAQ is displayed as "Dev1" in the Measurement & Automation Program. (2) Line is set to the number "0" since the only output I have connected to the DAQ is line 0 of the Digitial I/O. (3) Line State is set to "true". (4) I assume that "Channel" means the port number (the port number is "1" for the Digital I/O of my DAQ), and there are no devices available in the dropdown menu of the "digital channel" input, so I just plugged in the integer "1".
I know there is something wrong with what's going on (not sure whether its what I am doing or whether available channels are actually supposed to popup in the "digital channel" menu). Please let me know your thoughts.
03-04-2010 09:57 AM
The “Dig Line” VI, or “Write to Digital Line” is part of the Traditional DAQ driver and cannot be used to control you new device. You need to use the DAQmx driver for that device. There are also a lot of good examples that you can open in order to get an idea of how to write you program. If you go to Help>>Find Examples you can find lots of pre written code to do various basic functions. In the hardware input output, DAQmx, Digtial Generation there are lots of examples to help you get started. The Write Dig Chan.VI is pretty basic and will let you write digital information onto your digital lines.
03-04-2010 03:42 PM