Hi,
In the attached image, I am trying to take an 8 bit Boolean array and compare bit by bit using an equal function. I then invert the result. I am tryinb to build a new results output array.
I believe the replace subset array is not the answer to logic error.
Any suggestions?
4Boysdad
07-14-2011 09:36 AM - 편집 07-14-2011 09:37 AM
Um.... is this what you're trying to do?

As for the code:
Hi;
The actual code I am working with is attached as an image. In the lower left of the image, I am taking in a 1D 8bit boolean array. I am comparing this bit by bit to see if the value is still True. If the value is still true, it ha been True long enough and I need to turn the bit off. If the value is False, the bit has not been set long enough. The resulting array needs to be fed into the Write DAQmx function.
Does this help clarify what I am trying to do?
4BoysDad
날짜: 07-14-2011 10:40 AM
If the value is still true, it ha been True long enough and I need to turn the bit off. If the value is False, the bit has not been set long enough.
That sounds like an Invert operation to me. What does it sound like to you?
Of course, I have no idea what you mean by "long enough".
And you're still not autoindexing, and you're still comparing a Boolean to True.
Hi;
I think I was able to resolve my issue.
Thank you for your help I did save your input for future reference.
4BoysDad
07-14-2011 11:28 AM - 편집 07-14-2011 11:32 AM
Saverio just smacks his head and shakes his head, and returns to his work...
But just to make this time worthwhile, he submits this to the Rube Goldberg thread.