Jump to content

YoannG

Members
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • Location
    France

LabVIEW Information

  • Version
    LabVIEW 2010
  • Since
    2006

YoannG's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello ! Thanks for the replies ! Tim_s, using scale all objects on front panel etc.. does nothing good. Especially on complex front panels! If one wants to control behaviour of controls while changing size of FP, there is only one way : program it! Ton, you are perfectly right. Anyway I don't want to change only the size of the FP. So apparently there's no way to change panel size.... Is there any trick to set their sizes ?? Thanks again. Yo
  2. Hello everybody... I'm trying to tidy correctly my front panel, which is not that simple in labview, as there is not a lot of tool to do so. I've managed to create a VI to loop over all the controls or decoration of a messy VI and change their positions or sizes (it is not always possible and type dependent). I'm trying to make this VI change the sizes of an other messy VI panels. Every strait forward method (using property node) is impossible (properties like size of a panel is read only). Is there anyway to change the size of a panel inside a front panel programmatically ? Otherwise is it possible to make a panel get the right size with a build on tool ?? Thanks a lot for any clue (or the answer ! ) Yoann PS apologies for my English, i'm french...
  3. Thanks for those comments. I didn't think about subpanel, cause i thought it was a bit dirty to do that... Anyway I made this code, is it a good way to test those different solutions ? I get the following results while benchmarking it : 1k iterations give me : 1000 ms for direct plotting 8000 ms for reference plotting 1900 ms for subpanel... So subpanel seems a great solution ! Am I doing it right ? Thanks again ! Test_refDirectSubpanel.zip
  4. Hello everybody. I'm working on a big code, using lots of subvis for acquisition, signal processing etc... I have been inspired by the DAQ Reference Design for architecture. My goal is to find the best(fast) way to update a graph in the main vi front panel from other subvis. I think there is at least those possibilities : - send data to plot through a global variable and read and plot it in the main - using references of the graphs in the main and update graph using Value reference node in the sub vi (my actual solution) Maybe there are others ways.... My problem is that updating 2 XY plots from a subvi (one with a spectrum, let's say its 20000 points) and another one with a time trace (100 points) using references takes 100 - 200 ms. So it's very slow compared to the rate at which datas are arriving. Maybe there is a more clever / efficient way to do so ? Any help would be greatly appreciate !! Thanks
×
×
  • Create New...

Important Information

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