Jump to content

orangefob7

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by orangefob7

  1. You should be able to change each plot's name using a property node in the main VI. IIRC, you have to set ActivePlot first and then you can adjust all of the Plot properties.

    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. :)

  2. 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

  3. 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

  4. 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.