04-24-2008 04:30 PM
04-25-2008 06:51 AM
Gary,
Several types of tasks, one of each type can be active at any given time. The names are self documenting and include:
Analog Inputs
Analog Outputs
Digital I/O
Here is a link to a tutorial on tasks. http://zone.ni.com/devzone/cda/tut/p/id/5374
You may also wish to study up on the Task State Model in the DAQmx documentation. This gives a clear picture as how a task works and what is allocated when.
04-25-2008 08:32 AM
Thanks a lot! I tried multitasks and it works. Can I ask one more question? How can I use the internal clock for AI sampling to output as the frequency for external event? Is there any syncronization approach to realize one data point in while one counter pulse out exactly at the same time?
Thanks again,
Gary
04-25-2008 08:47 AM
04-25-2008 09:59 AM
Gary,
Have not done this myself. Should be able to route internal clock through PFI pin.
I found this on the NI site. http://digital.ni.com/public.nsf/allkb/3A7F1402B2A1CE7686256E93007E66C0
04-25-2008 10:20 AM
05-02-2008 02:33 PM
05-05-2008 12:43 PM