08-19-2007 12:12 PM
08-19-2007 12:43 PM
08-19-2007 08:56 PM - edited 08-19-2007 08:56 PM
Message Edited by Raghunathan on 08-19-2007 08:57 PM
08-19-2007 09:16 PM
08-19-2007 10:06 PM
08-20-2007 10:58 AM
08-20-2007 11:03 AM
@Raghunathan wrote:
WIth String values this is possible as we can check for a null value.
08-20-2007 11:03 AM - edited 08-20-2007 11:03 AM
Yes I understand that part and it was intentionally put together to highlight my actual problem as closely as possible ( maybe I could have used a flat sequence to avoid the race ). In the actual code such race condition do not exist. There is never an instance where two writes "try" happen together.
Your program still has a serious race condition. If the case is TRUE, you are running the VI twice in parallel, and there is no way to tell which instance executes first. Most likely, the lower executes first, writing empty strings to all shift registers of the functional global (except the bottom one).
Replace normal Global variables.There are many ways to program around that, but we would need to know what you actually want to do with all this.
Message Edited by Raghunathan on 08-20-2007 11:08 AM
08-20-2007 11:06 AM
08-20-2007 11:13 AM