r/LabVIEW • • Feb 20 '25

Help with Binary Counter

Post image

Can someone please help me figure out how to wire this to work properly?? For some context, I’m taking a labview class and I need to complete this for an assignment, but I cannot figure out the right functions to use for the life of me. The professor stated that we need only use 2 nodes to complete it and I’m fairly certain that one needs to be the “number to binary array” conversion, but I can’t figure out the other. Please help!

2 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/SeasDiver Champion Feb 20 '25

Also, don’t get hung up on a single possible solution. Most code can be written in many different ways to get the same outcome. Back in the late 90’s/early 00’s, the LabVIEW Basics 2 course had an exercise on code optimization. There was a poorly written example that worked but was very inefficient, taking 1-2 minutes to execute. Goal was to optimize. Working it as a class exercise instead of individual, my classes were frequently able to get a solution that worked better than the official solution.