02-22-2007 10:09 AM
02-22-2007 11:06 AM
I might add these graphs are in tab controls. I have been playing with "SHort Cut Menu Activiation" and "Selection". Seems the "Activation" event for a tab control will fire regardless of where on the tab control the menu is activated, but the "Selection" event will only fire IF you select a short cut menu item for the tab control, not for the XY graph...
Michael
02-26-2007 12:59 PM
Michael:
If I understand correctly, you are trying to create an event that will control all the waveform graphs on your front panel?. As you eluded to earlier, you can either create individual events that handle each waveform graph or add multiple other objects to one event. I will keep looking into this and let me know if you have additional information for me.
Regards,
Rudi N.
02-26-2007 01:09 PM
Rudi:
I ended up adding every XY graph to a single event ( a very long and tedious task), but after that it was easy. I read in the control ref of the graph, made sure the shorcut was the "Export Simplified Image" selection, then saved my own image of the graph instead of the built in black and white image that LV saves. When I posted this I was kind of hoping there was a way to have a general event for any XY graph on the front panel, but it appears that isn't possible; events have to be specific to the control. Maybe in future LV versions. I think it would be a nice feature. I did think possibly about creating my own User Event, but I haven't played with those much so I don't know if thats even possible for this application.
Thanks for replying!
Michael
02-26-2007 01:53 PM - edited 02-26-2007 01:53 PM
Message Edited by Jarrod S. on 02-26-2007 01:54 PM
02-26-2007 01:56 PM - edited 02-26-2007 01:56 PM
Message Edited by Jarrod S. on 02-26-2007 01:56 PM
02-26-2007 02:37 PM
Great post Jarrod, I've been meaning to figure out Dynamic Events and your example helped a ton. I attached a screen shot of what I did to loop through each page and get the control refnum of the graph on each tab page. It assumes there is one graph per page. Works great.!
Michael