05-18-2024 11:55 AM
05-18-2024 12:03 PM - edited 05-18-2024 12:04 PM
What is a variable? (In LabVIEW, typically "the wire is the variable")
What have you tried?
Where is the input coming from? Where is the output used?
What is the input datatype (dynamic, scalar, waveform, array, integer, floating point, etc. etc.)
Is the program complete after that operation or should it continue?
All you probably need (code-wise) is in the comparison and numeric palettes.
05-18-2024 12:20 PM - edited 05-18-2024 12:22 PM
Assuming the input is a control, here's one possibility (NOT recommended!):
Note that LabVIEW is a dataflow language and controls are for user interactions. Except for very specific UI related tasks, is not recommended that the code fights with the user for control of an input. Maybe you could tell us in more general terms what you are trying to achieve and how it fits into the big picture of your algorithm.
Have you looked at any of the learning resources listed at the top of the forum yet? I strongly recommend you do so.
05-19-2024 02:07 AM
thank you 🙂