Jump to content

Intelligent shift registers


Recommended Posts

Hi,

I'd appreciate the following functionality. When initializing the shift register outside the loop, the developers should be able to define if the shift register will be initialized only for the first call or for each call of the containing VI. This way the first call? case strucure inside the loop would be unnecessary.

There is also another advantage. In the future there may be labview data types like objects and references that always need initialization. For objects developer defined constructor may need to be called and references naturally need to point to something to be properly initialized. If there would be a possibility to have LV2 style globals that would still always be initialized, then these globals could also be used with data types that require initialization. Compiler could generate an error if developer tries to wire such a type to a normal uninitialized shiftregister.

Third, this kind of initialization makes it possible for the compiler to generate a slightly more efficient code.

As a summary, loop left side shift registers should have a context menu option to define if the shift register will be initialized from outside the loop for each call or only for the first call. At persent all initialized shift registers are initialized for each call and to initialize only for the first call a separate "first call?" strucure is needed inside the loop.

Link to comment
loop left side shift registers should have a context menu option to define if the shift register will be initialized from outside the loop for each call or only for the first call.

with an appearance change...like NI did with the while loop conditional terminal between version x.x and x.x (don't remember)

Link to comment
with an appearance change...like NI did with the while loop conditional terminal between version x.x and x.x (don't remember)

How about very irritating blinking and beeping loop terminal, you can't help noticing it. If it would still have a such a black hole effect that it would such the mouse cursor passing by, it would defenitely be noticed. :laugh: :P :headbang:

Seriously, there should defenitely be a visible difference between these two kinds of terminals. And really not blinking... :)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.