04-11-2008 10:42 AM
04-14-2008
03:30 PM
- last edited on
09-30-2025
06:55 AM
by
Content Cleaner
Hi Cindy,
I was wondering what driver you were using with the PCI-6013. If you are using DAQmx, there is a good example which shows how to use a counter output task to generate a pulse with a specified pulse width when it receives a digital trigger. If you are using LabVIEW, the DAQmx examples can be found in the Example Finder which can be accessed through the Help menu. This example can then be found browsing by task under Hardware Input and Output » DAQmx » Generating Digital Pulses » Gen Dig Pulse-Dig Start.vi. Let me know if this helps.
Regards,
Kent
Applications Engineer
04-14-2008 03:35 PM
Hello Cindy,
You can definitely do this with your PCI-6013. What you'll want to do is configure a counter output pulse generation task with an external start trigger. Then you'll route your signal from device A into a PFI line on the PCI-6013 to be the start trigger of your task. Then the task will start and you can generate a longer pulse to send to device B. Here's how to find a LabVIEW example of how to do this:
1. Open LabVIEW and go to Help>> Find Examples...
2. Navigate to Hardware Input and Output>> DAQmx>> Generating Digital Pulses>> Gen Dig Pulse-Dig Start.vi
Depending on the exact requirements of your system you'll want to use a different example. For instance if you need to be able to trigger device B more than once you'll need to make your pulse train retriggerable (see example Gen Dig Pulse-Retriggerable.vi). You can read through the descriptions available in the Example Finder and more than likely find exactly what you want. If not its likely you can modify one or more of the examples fairly easily.
I hope this helps and have a great day!
Cheers,