08-02-2007 02:05 PM
08-03-2007 04:48 PM
Hello Joal,
What device are you using? It seems that the driver is confused with what channels you are trying to write to. Normally you would name the channels that you are using like this: “Dev1/ao1”. What other basic functions are you using to generate data on these channels? There is a great reference for using the DAQmx functions. (Start >> All Programs >> National Instruments >> NI-DAQ >> NI-DAQmx C Reference Help)
I would suggest running a shipping example or test panel in MAX to make sure that the card is working correctly. A test panel in Measurement & Automation Explorer (MAX) is a great way to verify that the card is behaving as expected. Shipping examples are installed on to your computer when you installed the driver. (C:\Program Files\National Instruments\NI-DAQ\Examples)