LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
_carl

Built-in DVR Call Wrapper

Status: New

DVRs are extremely powerful, yet tedious to work with. Much of the coding is just a matter of following the exact same pattern over and over again, while making the code uglier. And I have yet to come up with a good way to reduce that coding overhead...

 

What if there was a built-in DVR call wrapper that allowed direct access to VIs?

 

_carl_0-1763139909538.png

The UI experience could be a hybrid of the Static VI Reference and Call by Reference functions: drop the "DVR Call Wrapper" on the block diagram, drag your VI into it, then wire it up directly.

 

It could have options for write and read-only.  And it could have right-click options for changing default error behavior.

 

My standard use case would be class calls specifically, but I don't see a reason this couldn't be applied to any data type -- although some serious thought would have to go into expected behavior in terms of which terminal to treat as the DVR (although this could be dynamic based on which terminal a DVR is wired into, or maybe even settable on the wrapper).

 

A tool like this would likely save me countless hours of development time, and make it less likely that I'd make coding mistakes while writing routine code.

 

1 Comment