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.

Example Code

IRIG-B Implementation in LabVIEW FPGA

Code and Documents

Attachment

This example contains an IRIG-B generator and decoder implemented in LabVIEW FPGA. The generator and decoder are implemented in two different LabVIEW FPGA VIs and are intended to run on different FPGA targets. The host VI downloads each FPGA personality to a different card and communicates with both to output an IRIG-B timing signal on one card and read it back in with the other card. The example is set up for a PXI-7811 and a PXI-7831R card, but the FPGA VIs and host VI can be easily updated for any of the RIO hardware targets.

The IRIG-B standard implemented in this example is the IRIG-B 000 variant.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
ARLROB
Member
Member
on

when I try to open the Host IRIG-B Communication.vi I get a fatal error and labiview crashes

cyphish
Member
Member
on

I think there is a bug in the generation part. From what I can understand it does not use 40 and 80 days as shown in the figure below, those bits are always false in the VI parse days.

Contributors