Hello ssylee,
You are trying to read the value of your signal directly from the NI-DAQmx Task. The NI-DAQmx Task is not the value itself, but represents the measurement or generation you want to perform, including timing, triggering, and other properties. You can read more about this in the section called "Tasks in NI-DAQmx" in the
NI-DAQmx Help (
Start>>All Programs>>National Instruments>>NI-DAQ). The
NI-DAQmx Help has a great deal of useful information and is a great resource. In addition, we have a helpful series of articles online which should help you get started in NI-DAQmx
here.
Specifically, I would recommend that you examine the tutorial
here which explains how you can use the NI-DAQmx Express VIs. To get you started, I have written a brief example program which is shown in the image below and attached to this post.
Message Edited by Matt A on 09-13-2007 07:51 PM
Matt Anderson
Hardware Services Marketing Manager
National Instruments