LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple case structure

Hi,

I am a beginner in labview. I am trying to use case structure to reset an output number (basically, if the output is greater than 360, subtract 360 from it and display the remainder). I checked the help section for case structures, but couldn't figure out. I know this is very simple task, but I'd appreciate if anyone could help me make a block diagram showing this case structure.

thanks.
0 Kudos
Message 1 of 3
(2,583 Views)
Try this.

Note the Case definition at the top shows one case defined as "360.." The two dots after the number say to run this case if the number is 360 or greater.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 2 of 3
(2,583 Views)
You don't need a case structure.

Simply use the "quotient & reminder" function. (See attached image.)
0 Kudos
Message 3 of 3
(2,583 Views)