Stim0r
2006-10-25 19:10:13 UTC
After reading a bunch of examples, I got this
program to run correctly....but only on channel 0 (P0.0, the first
digital channel). I am using a PCI-6221 to output a square wave of N
samples, using an array as an input. It works perfectly on
dev0/port0/line0, but not for anything else. Can you please tell me
what I'm doing wrong? I can use the Digital IO examples to write data
to the channels, which I can measure using an oscilliscope, but i'm
missing something here. I'm
wondering if the 10kHz counter i'm using is only being sent to
/dev0/port0/line0 (P0.0). Is there a way to multiplex this to the
other digital out pins, or even better, to the digital I/O pins (PFI
series of pins)? Or is the problem occuring because i'm not using one
of the MHz counters?Thanks,Steve
Trig8_100kHz.vi:
http://forums.ni.com/attachments/ni/70/5699/1/Trig8_100kHz.vi
program to run correctly....but only on channel 0 (P0.0, the first
digital channel). I am using a PCI-6221 to output a square wave of N
samples, using an array as an input. It works perfectly on
dev0/port0/line0, but not for anything else. Can you please tell me
what I'm doing wrong? I can use the Digital IO examples to write data
to the channels, which I can measure using an oscilliscope, but i'm
missing something here. I'm
wondering if the 10kHz counter i'm using is only being sent to
/dev0/port0/line0 (P0.0). Is there a way to multiplex this to the
other digital out pins, or even better, to the digital I/O pins (PFI
series of pins)? Or is the problem occuring because i'm not using one
of the MHz counters?Thanks,Steve
Trig8_100kHz.vi:
http://forums.ni.com/attachments/ni/70/5699/1/Trig8_100kHz.vi