Stobber Posted August 19, 2016 Report Share Posted August 19, 2016 I'm using a Keithley instrument driver that works over RS-232 on a cRIO. Our app is leaking memory somewhere, and the component that uses this library is highly suspect. I've been refactoring a bunch of it to use shift registers and IPE structures, and I just found these two doozies (attached, LV 14.1). Together, they build a string byte-by-byte when read from VISA and then convert it to an array of DBL element-by-element. Here's a screenshot of one of them: What's the best way to modify these two so they're better citizens of LVRT (i.e. no memory copies, or as few as absolutely possible)? Query Command.vi Real 64 Converter.vi Quote 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.