07-25-2007 12:14 PM
07-26-2007 03:17 PM
07-26-2007 03:20 PM
Thanks a lot. I also have NI 6541 card. Should I be using this DIO lines or lines from the NI-6289?
Can I measure all that stuff with that NI 6541 DIO lines?
What lines do you reccommend for ISA Bus?
Thanks a lot
07-26-2007 03:30 PM
07-27-2007 08:28 AM
Since each 6541 and 6289 have 32 clocked digital lines, and my ISA Bus is using around 40 lines, how should I connect those 40 lines among these two cards and which signals should be connected between 6541 and 6289 (i.e. clock, BALE, ) ?
07-27-2007 08:43 AM
07-27-2007 11:44 AM - edited 07-27-2007 11:44 AM
Message Edited by Jennifer O on 07-27-2007 11:45 AM
07-27-2007 11:50 AM
Can't comment on the 654x board, but from reading this thread it sounds like it may be the most appropriate choice.
Still, here's a tidbit on the M-series 6289 board: you can potentially use the change detection feature of this board to handle your measurement. If you do, you would need to wire into the Port 0 DIO lines which are probably not mapped as PFI pins. You would configure DAQmx Timing to use change detection as the sampling method, and identify the digital lines on which you wish to detect transitions. You can then configure one of the counters to measure the times when an internal signal named "change detect pulse" (or something like that) goes off.
You'd wind up with a DI task where you buffer up the digital line states everytime one has a transition and you'd have a corresponding counter task that buffers up a "timestamp" on each transition. Then the fun starts as you have to perform post-processing on your array of digital data. Nothing real hard conceptually, but the finer points of the implementation will require attention to detail.
Sorry, don't have time to go into all the gory details, just giving you an idea of what's possible.
-Kevin P.
07-27-2007 01:24 PM
"I know that Static DIO (NI 6509) has only static lines and those are used for
ensuring whether the signal is HIGH or LOW and that’s it." True.
"I have bunch of signals that needs to
time, checked the pulse width, triggered at different times, delayed, etc.
Should I use PFI or Clocked lines for these?"
You
never really use a PFI line directly for this type of measurement. It
may help if you look at the LabVIEW Examples (Help>>Find
Examples). You can create a digital task of a counter task with your
M-Series board. There is no "PFI" task. Counters can directly measure
the pulse width, however since you need more than 2 lines you would
want to work with clocked DIO. This would sample if the line is high
or low at a given clock rate. These signals can be analyzed in LabVIEW
with Signal Processing functions. There is a whole pallette of
waveform measurements. Keep in mind that your accuracy will be 2
periods of your clock for a digital task since the measurements may not
align directly with the transition of the digital signal.
Taking into account that both NI-6541 and NI-6289 have 32-clocked lines, which card should I use for these purposes?
Both
boards do have 32 clocked lines. There are two main differences. 1)
The NI-6289 still has 16 static lines that you could make use of as
well as analog I/O and the two counters that you could possibly make
use of. But you can use those anyway even if you choose to go with the
other board. 2)The NI-6541 can be clocked at 50MHz while the NI-6289
can only go as high as 10MHz. Therefore when measuring timing
resolution the NI-6541 would give you +/- 2x(1/50MHz)=40nS. The
NI-6289 would be 5 times that at 200nS. If both meet your timing needs
then it would be a matter of preference for you.
"If I use Clocked, what is the main purpose of the PFI lines then?"
A PFI line could be used to trigger when you start acquisition for example.
Hopefully this helps clear up your questions.
Regards,
Jennifer O.
07-27-2007 03:02 PM
Jennifer's quote: "With your M-Series board (NI-6289) you can do clocked or correlated DIO on port 0 (i.e P0.0-P0.7) The rest of the lines are static."
Aren't lines P0.8-P0.31 also clocked lines ?