12-20-2005 06:49 AM
12-20-2005 08:30 AM
12-20-2005 09:24 AM
12-21-2005 04:57 PM
12-22-2005 07:37 AM - edited 12-22-2005 07:37 AM
Message Edited by AntLee29 on 12-22-2005 07:38 AM
12-27-2005 10:40 AM
12-28-2005 03:03 AM
Hi Anthony,
I'm not familier with the 6259, but most/many of NI's Analog-input boards can be configured to acquire (rapidly/repeatedly) on an external trigger. If the 6259 has this capability, perhaps you could trigger each DAQ on a pulse-edge. It may take a little ingenuity to construct a pulse that re-inits your D to A shortly after NI_DAQs A to D ![]()
Cheers!
12-28-2005 07:56 AM
Anthony,
You are right. The 6259 can do high speed externally triggered data acquisition. But, the problem here does not lie within the capabilities of the board, but within the parameters of the system. It will be extremely difficult to trigger the board at the specific moment when your DtoA goes low. You are running on Windows (I assume), which is very non-deterministic. It will be very improbably that you can repeatedly grab that LAST sample prior to zeroing out and bring JUST that one point back. This issue of just grabbing that last sample is the road block we are going to run into. That is why I suggested bring all of the values in and then disgarding the ones that you don't want. If you can come up with a way to know exactly when that last point is, you are a smarter man than I, which isn't saying much. ![]()
-Jeff P.
12-28-2005 02:06 PM - edited 12-28-2005 02:06 PM
Hi Jeff, Anthony,
Please forgive me if I misunderstand the scenario, here. It sounds like Anthony needs to acquire 256 samples, at ~65KHz, with each sample representing voltage at the AtoD of the 6259 - immediately prior to the reset of an external DtoA. I'm suggesting that Anthony use the same pulse he now generates for his DtoA as an external scan-clock - falling-edge-triggered. Let the hardware accumulate the 256 samples - no need to worry about the OS, once the NI-DAQ acquisition is configured/armed. ~65KHz seems to be well within the capability of the 6259. NI-DAQ triggers are (typically) very flexible with respect to edge direction.
The question (as I see it) is whether the edge-triggered AtoDs will complete before the DtoA reset occurs. If necessary, perhaps some delay can be encorporated in the DtoA device, or some delay circuitry could be inserted between The Pulse and the DtoA, to make the DtoA wait a bit.
Again, sorry if this idea is way off-base! ![]()
P.S. LV7.1 shipped with an example called "Acquire N Scans - ExtScanClk.vi"
@Jeffrey P wrote:
the problem here does not lie within the capabilities of the board, but within the parameters of the system. It will be extremely difficult to trigger the board at the specific moment when your DtoA goes low...
Message Edited by Dynamik on 12-28-2005 02:07 PM
Message Edited by Dynamik on 12-28-2005 02:11 PM
Message Edited by Dynamik on 12-28-2005 02:12 PM
12-28-2005 05:53 PM