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.
04-23-2010 02:12 PM
Solved! Go to Solution.
04-23-2010 02:16 PM
04-23-2010 02:17 PM
for Flip-flop
VI properties >>> Execution >>> Reentrant excution
will create a unique instance for each occurnce of Flip-flop.
As you have it now, it is reentrant so all instances are shared.
Ben
04-23-2010 02:20 PM
04-23-2010 03:12 PM
Once upon a time I had some free time on my hands (like I do now). Just for the fun of it, I created some flip-flop vi's. You may be interested in them. I have a clock input with mine. Also, I used shift registers instead of feedback loops, because I personally don't like the look and feel of feedback loops. See the attached zip file.
04-25-2010 12:19 AM
I just wanted to mention that I've just finished the program to do register to register transfer thanks to your help. It works flawlessly. :3 If you'd like to take a look at it, it's in the attachments. Please comment on it and tell me where I can make improvements.
Register to Register Transfer is the VI with the actual interface to be used.
One question I do have though, that may be better asked elsewhere, did I set up the transfers right? I mean, I feel like there are way to many OR gates in there. But that's the only way I know of to prevent the backflow of electricity. And as far as the feedback loops go, I didn't intentionally put those there. Is there a way for me to turn that feature off?
04-26-2010 10:40 AM
Nicholas Rogw wrote:. And as far as the feedback loops go, I didn't intentionally put those there. Is there a way for me to turn that feature off?
You must have the Automatically Insert Feedback Loops option turned on. Go to the tools menu - Options. I think its under Block Diagram. Look for this option and uncheck the checkbox. Then restart Labview. You will have to use shift registers to feedback the data. In my opinion, feedback loops are hard to understand, hard to follow. Shift registers make the code a lot more readable to me. I'm sure there are some who would disagree. To each his own.