‎05-31-2007 09:37 AM
‎06-01-2007 04:39 PM
Hi Devnull,
The PCIe-6537 is a basic card and was not designed to be retriggered; it will only support a start trigger. There are two workarounds for this application. The first method is to create and stop the task every time you receive a trigger. This method should take longer than the time in between each trigger.
The second method is to create a retriggerable counter task on another board. When you receive a trigger, the counter will output a predefined pulse train at a specific frequency. This signal can then be routed to the PCIe-6537 and used as the sample clock. This method will not work for your application because you are writing different data every time you receive a trigger.
The reason that this card does not support retriggerable generation is due to the driver (NI-DAQmx). If you use any of the other HSDIO boards, they would support this functionality. Unfortunately they are not available for the PCIe bus.
‎08-01-2007 08:50 AM
‎08-02-2007
10:44 PM
- last edited on
‎02-07-2024
04:44 PM
by
migration-bot
Hi Leo,
The PCIe-6537 is capable of hardware re-triggering with a little bit of work. A counter board such as the PCI-6602 can be used to add this functionality to your PCIe-6537.
The basic scheme is the counter board will use one counter as a re-triggerable finite pulse generator, when active this will gate on a second
counter that will output a 40Mhz signal. This 40Mhz will then be used as the sample clock for the PCIe-6537. The PCIe-6537 does support a non-free running clock in Sample Clock mode. See the NI-6536/37 help documentation, search for Choosing a Sample Timing Type for your Application.
This would be the low cost solution to hardware re-triggerable generation with the PCIe-6537.
The PCI-6541 is really worth a look at too. It is the entry level to NI-HSDIO devices, these provide tools like scripting. Take a look at the help file for the HSDIO series, it's here. In particular, look at the Programming->Programming Flow->Generating Dynamic Data section.
Please post back if you have any questions.
Have a great evening!
MatthewW
Applications Engineer
National Instruments
Message Edited by Matthew W on 08-02-2007 10:44 PM
‎08-03-2007 07:25 AM
‎08-06-2007
06:49 PM
- last edited on
‎02-07-2024
04:46 PM
by
migration-bot
Hi DevNull,
The re-triggerable solution using a 660x board is a hardware timed operation. There is no Task stopping/starting required for this to work.
Here is a DAQmx example for re-triggerable analog acquisition that uses a counter card to enable the re-triggerable functionality.
The 6602 has a minimum input pulse width of 6.25nS... There should be no problem seeing the 40uS pulse as a trigger to begin data generation!
The PCIe-6537 uses NI-DAQmx drivers, not the HSDIO drivers... If you would like to check them out, they are located here.
Have a great evening!
MatthewW
Applications Engineer
National Instruments