hi guys
I'm new to this board and have a bit of a Labview Issue..............
I'm doing a piece of work in labview 7.1.1 & 7.1 @ the moment............(assuming the software differences are minimal and won't affect my work - @ home it's 7.1.1 and uni it's 7.1
got a problem i've encountered in the past and it's seriously annoying me!
ok.............
I have an 8-bit boolean array - i'm taking each bit and storing it into a boolean indicator via a variable
the actual variables themselves on the block diagram are elsewhere outside of this loop and i'm writing to a local variable from the 8-bit array
so the bit from the array stores into the local variable no worries
I have another local variable elsewhere on my VI in a differing while loop that reads the value of this and will react to a change in an event structure
the local variable that is reading in this other loop is not getting the updated value from the boolean indicator, despite it storing into the local variable ok there in another while loop
I was under the impression that local variables were a reliable way of getting info in and out of running loops?
my tutor has suggested it may be thrashing, but my loops are all set with a uniform 'wait until next ms multiple' value in them - he also suggested it may be race conditions and i'm setting a differing value to this variable elsewhere, but there is only the variable itself and the 2 local variables related to it which I have mentioned
does anyone have any suggestions or things to try please? really stuck and this problem is getting my behind
😞sorry my description is a bit poor, I could provide a screenshot of the work if necessary?
thanks in advance for any help,
Mike
Message Edited by Michael Burgess on 03-13-2005 10:29 AM