Jump to content

orangefob7

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by orangefob7

  1. All, Thanks again for your replies. Here is the sub VI. I believe what I tried was along the lines of what you suggested, but have a look. Thanks again, David Plot TC - show highest points.vi
  2. Hi asbo - very true, but the advantage in doing everything inside the VI was I knew what exactly each trace represented (for reference, this is plotting the 10 hottest thermocouples out of 40+). While I could also pipe this information out, I'll then have to include some looping in the main VI to rename all the plots. I was hoping I could just leave all that inside the sub-VI. That said, do you think there's no way to accomplish my initial goal? If all else fails, I suppose there's no problem piping out the data array, and an array of plot titles, and handling the titling inside the main VI - I'd just like to avoid it if possible.
  3. I am trying to use a sub-VI to take in an array of data, do some manipulation/extrapolation, and plot the result in a graph inside the main VI. I wish to use a sub-VI because this is done in multiple places in the program. Simply outputting an array of values and piping them into the graph won't work because I must be able to change the name for each trace. I have tried simply passing a reference to the graph to the sub-VI, but I've had no luck. Any ideas? Thanks in advance! David
  4. All - thank you for your suggestions. I ended up using the suggested method with the window appearance. I had tried this initially and the method didn't work well for me. I neglected to mention in my original posting that I wanted to open multiple instances of this sub-VI as the program went through a list of conditions. This method will just recycle the previously opened window. Never the less, I've modified my program to append information in this sub-VI such that all information is retained when the window is recycled. Thanks again for the assistance! David
  5. Hello! I created a sub-VI to notify the user that a piece of test control software didn't hit a target condition. I would like to call this from the program, and leave this error sub-vi open without holding up the calling VI. In other words, sub-VI (1) sets the condition, and calls sub-VI (2) to notify the user. I would like sub-VI (2) to remain open in the background (it doesn't need to run, just stay open), and allow sub-VI (1) to end so the program can move on to the next condition without the user being present. I tried playing with reentrant execution and that didn't seem to achieve my goal. Any help is greatly appreciated. David
×
×
  • Create New...

Important Information

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