03-12-2007 02:35 PM
03-12-2007 05:21 PM
03-13-2007 01:00 AM
03-13-2007 12:59 PM
It sounds to me like the kind of "latching" you're looking for is automatically available to you as a side-effect of LabVIEW's "dataflow" nature.
Once a value exits an output terminal of the "In Range and Coerce" function, all wire paths connected to that output will receive the exact same value. I.e., once a value gets on a wire, it remains constant through all branchings connected to that wire. If you turn on debug highlighting mode, you'll see what this means more visually.
A common source of LabVIEW problems for people experienced in text languages is overuse of local and/or global variables. Perhaps this is the root of your issues with "latching?"
In text languages, data is contained within and "transported" by variables. In LabVIEW, data is contained within and transported by wires. In LabVIEW, variables and controls/indicators are just termination points to allow the data to be displayed or passed to/from calling functions. They aren't really important in and of themselves.
-Kevin P.
03-13-2007 01:43 PM
03-13-2007 01:53 PM
03-14-2007 08:13 AM
03-14-2007 08:24 AM
03-14-2007 01:19 PM - edited 03-14-2007 01:19 PM
Message Edited by steve_bjservices on 03-14-2007 01:21 PM
03-14-2007 01:22 PM