From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-29-2006 09:27 PM
05-29-2006 10:25 PM
You are right, this is typical of a race condition with local variables. The local is read before the control is updated.
Do not use locals. Go to the Data communication subpalette (LV 😎 or Advanced subpalette (LV 7 and before) and have a look at the synchronize functions. Study the corresponding examples shipped with LabVIEW.
Alternatively, consider using the event structure in a single loop.
05-30-2006 08:10 PM
05-30-2006 08:23 PM
05-30-2006 08:36 PM - edited 05-30-2006 08:36 PM
Message Edité par chilly charly le 05-31-2006 03:47 AM