11-16-2007 10:13 AM
11-19-2007 01:16 PM - last edited on 02-02-2024 01:50 PM by migration-bot
Hi,
The NI 6034E is a multifuntion DAQ device, this means you have:
(2) counters
(8) DIO lines (software timed)
(16) AI, single ended
(0) Analog Output
You have a couple choices here:
1. Software timed digital output of all three signals, max 1khz loop rate, non-deterministic.
2. Hardware timed digital output of 2 signals, max 20Mhz.
3. Hardware timed digital output of 2 signals and software timed digital output of 1 signal.
4. Find another NI MIO board such as the NI 6251. This board will do 10Mhz pattern generation for (8) DIO lines.
For the hardware connection, you are correct, the output for the counters will be taken from pin 2 & pin 40. Here's the pinout for the NI 6034E for reference:
The output of the Counters can be routed to some of the PFI's or to the RTSI connector. You can see this in MAX
Message Edited by Matthew W on 11-19-2007 01:24 PM
11-19-2007 01:36 PM - last edited on 02-02-2024 01:51 PM by migration-bot
To finish my post from earlier:
Measurement & Automation Explorer will tell you where you can route the Counter outputs to:
I would advise looking at the ANSI C examples for DAQmx, these are complete, ready to run examples with the right syntax for everything.
The locations of these examples is detailed in this KnowledgeBase article.
The code looks correct, I would start with the shipping examples, ensure that you can get them to run as designed then modify them to suit your specific needs.
Best regards,
MatthewW
Applications Engineer
National Instruments