ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Example Code

Twisted Ring Counter (Johnson Counter)

Code and Documents

Attachment

Illustrates a 4-bit twisted ring-counter which has 8 states in total. Uses home-built J-K flip-flops.

Tom Moir

AUT University

Auckland

New-Zealand

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

Contributors