LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

single pulse output on USB-6212 PFI

I am trying to generate a single pulse output on one of the PFI I/O lines on a USB-6212.

 

How do I go about creating the task?  The pulse witdh is 100ms.

 

Also, how do I trigger from one I/O line to start another I/O pulse?

0 Kudos
Message 1 of 2
(3,203 Views)

Hello johnswan,

 

The first thing you need to do is make sure that you have the NI-DAQmx driver installed.  This should've came with your device, but if not you can download it from ni.com/updates.  After the driver is installed it will add examples for LabWindows CVI.  In LabWindows CVI you can go to Help » Find Examples to open the NI Example Finder and then navigate to Hardware Input and Output » DAQmx » Generating Digital Pulses.  There is a DigPulse.prj which will show you how to create a digital pulse with a specific pulse width.  There is also a project called DigPulseTrain-Cont-DigStart.prj that you can look at to see how to implement a digital start trigger.  Take a look at these and let me know if you have any additional questions.

 

Regards,

0 Kudos
Message 2 of 2
(3,179 Views)