LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

open a graph in a new page by clicking on it

Solved!
Go to solution
I want to be able to open the graph by clicking on it in a new page. I've done some searching in the forums, but couldn't come up with anything that was this specific. If this isn't something that is possible, that would be nice to know as well, then I can move on. I can upload my VI as well if somebody wants to look at it.
 
Thanks
0 Kudos
Message 1 of 13
(4,214 Views)

Hi yasmain,

 

when you have a question you should not write it in small light-gray font...

 

Well, you should explain in more detail your problem.

- What is a "new page" in LabVIEW terms? Do you want to open a (sub)VI frontpanel?

- Why do you want to "open a graph" by clicking on it? When you can click on the graph, it is already "opened"!

- You can detect mouseclicks using the event structure...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 13
(4,204 Views)

Hi ,

 

Sorry for writing my question in small font...

 

I want to get a large graph by clicking on it.

The same as, fit control to pane

 

thanks

0 Kudos
Message 3 of 13
(4,195 Views)

Hi yasmain,

 

use an event structure to detect mosueclicks on your small graph. In case of mouseclick open a subVI with a bigger graph...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 13
(4,192 Views)

Hi GerdW,

 

I do not know what do I do now. I'm not the professional in LabVIEW.

May you describe it for me in more detail.

 

thanks

 
 
 
 
 

 

0 Kudos
Message 5 of 13
(4,160 Views)

Here is a small example.  Instructions;

 

1- Run Main.vi

2 - Click "Generate Data"

3 - Click on Graph

4 - Be Happy

 

 

PS:Relink the SubVI if need

0 Kudos
Message 6 of 13
(4,142 Views)

Hi

The version of my labVIEW is 11 and I can not open vi.

 

 

0 Kudos
Message 7 of 13
(4,123 Views)

Hi

I attached the main vi and 2 sub vi.

I want to open graph.vi from my main vi (event handler6.vi) by push "Acquire Data" button in main vi.

It must show my waveform in new window, but do not work correctly ( that is, it dose not open my graph sub vi).

 

thanks

Download All
0 Kudos
Message 8 of 13
(4,106 Views)

Hi yasmain,

 

well, you just open the subVI, but you don't wire any data to it. You have to transport also data to the subVI, either by wire (preferred) or by reference.

 

Also the most part of the main VI will be finished as there is no loop around your DAQ code. What's the sense in displaying the same static data in a different graph?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 13
(4,102 Views)

Hi GerdW,

 

thanks for your attention.

 

I wire data to my sub VI. My sub VI open by clicking a switch. That is, I could open my Graph by clicking "Show Graph" switch.

I aatached my main and sub VIs.

Acquire Data is within uievents.llb

 

But I was faced with another problem. I could not apply graph palette (for eample, I could not zoom my graph),

Because my VI is within a loop and alternatively run.

 

May you help me. I do not know what do I do.

 

Best Regards,

Yasamin

 

0 Kudos
Message 10 of 13
(4,028 Views)