LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph Multiplot Help

I think this is what you are looking for.

 

 

0 Kudos
Message 11 of 23
(1,897 Views)

OK, so it appears that it's REALLY necessary to be able to duplicate the scale and create one for each plot.  Without it, I can NOT set the Active Y scale.  In my real program, since there is only one scale, I can only set Active Y Scale to zero (any other value returns error 1077).

 

So what could cause the original program NOT to be able to swap sides (duplicate works).

0 Kudos
Message 12 of 23
(1,894 Views)
in your for loop use a shift register instead of the local variable.
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 13 of 23
(1,890 Views)
Without seeing the original VI, I can not know what was wrong. As I mentioned, it could have gotten corrupted.
0 Kudos
Message 14 of 23
(1,882 Views)
Can you please post the fix?  Remember, I'm VERY new to LabView.
0 Kudos
Message 15 of 23
(1,879 Views)
I don't know what fix you are talking about. The VI I posted has a shift register to create an array of XY waveforms. Try using that as a model and see how far you get.
0 Kudos
Message 16 of 23
(1,865 Views)
 
0 Kudos
Message 17 of 23
(1,827 Views)
Okay, how's this now?  It works but would like to make sure I'm not doing any other less efficient/stupid things (like the shift register).  Also, the order of the members of the property node is important.
Message Edited by miyamky on 08-25-2009 01:25 PM
0 Kudos
Message 18 of 23
(1,816 Views)

Hi mimyanky,

 

Your VI looks good.  The one suggestion that I have is to place those property nodes outside of the while loop.  Since you are setting the same value to them every time, you don't need to call them on every iteration of the while loop, as this would slow down your program.  Place them outside of your while loop, and wire up the error wires to the border of the while loop so that you will ensure that these are executed before the while loop.

 

Happy programming!

Marti C
Applications Engineer
National Instruments
NI Medical
0 Kudos
Message 19 of 23
(1,702 Views)

Marti...thanks but they're in there because in the real application, they're set dynamically w/ differrent values (I tried to make the example as close as possible to the original).

 

BTW, my application now works w/ no flickering and the overlays look great.  With communicating w/ the PNA-X and displaying multiple plots, I'm only less than 1/2 second behind the VNA.

 

Thanks for all the help.

0 Kudos
Message 20 of 23
(1,700 Views)