From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 5771 DIO example

Solved!
Go to solution

Anybody have an example programming the PFI and/or DIO ports on the 5771?  I am looking to output multiple TTL level pulses with various time skews on separate lines to trigger external components.

 

Thanks in advance,

Rich

0 Kudos
Message 1 of 2
(2,353 Views)
Solution
Accepted by topic author rich3120

Hi Rich,

 

We don't have any shipping examples for the 5771 that make use of the DIO or PFI lines. In this case, your best resource would be the NI 5771 CLIP help, which should install on your machine with FAM support. If you look there, you can see that you'll need to set the write enable bit for the DIO ports/PFI lines accordingly, and beyond that you'd write to them like a standard FAM input/output. Make sure you're aware of the maximum update rate for the DIO lines (6.6 MHz - see here for more info).

 

For an example for a different FlexRIO Adapter Module which uses the DIO lines, I'd recommend looking at the NI 5752 Multi Record Digital Trigger shipping example. Let me know if you have any other questions about these lines and your application. 

 

Best,

Dan N

Applications Engineer

National Instruments 

0 Kudos
Message 2 of 2
(2,318 Views)