Nullllll Posted May 26, 2007 Report Share Posted May 26, 2007 hi all , i want to do a program i just need the idea how 2 implemnt it. i want to do a program to let th user 2 choose what to display sin or squre , I know this can be done by make buttons and connected to case structiure but I want to display one graph only for all of them how 2 do that ? two cases sharing 1 graph?? Quote Link to comment
crelf Posted May 26, 2007 Report Share Posted May 26, 2007 QUOTE(Nullllll @ May 26 2007, 07:22 AM) i want to do a program to let th user 2 choose what to display sin or squre You could use an event structure fired by a Boolean control to generate and display the waveforms: http://forums.lavag.org/index.php?act=attach&type=post&id=5943''>http://forums.lavag.org/index.php?act=attach&type=post&id=5943'>http://forums.lavag.org/index.php?act=attach&type=post&id=5943 Quote Link to comment
Nullllll Posted May 26, 2007 Author Report Share Posted May 26, 2007 QUOTE(crelf @ May 25 2007, 09:48 PM) You could use an event structure fired by a Boolean control to generate and display the waveforms:http://forums.lavag.org/index.php?act=attach&type=post&id=5943''>http://forums.lavag.org/index.php?act=attach&type=post&id=5943'>http://forums.lavag.org/index.php?act=attach&type=post&id=5943 thnxxx dear but another question plzz ,,, if i choose the sin wave switch I want the program to display sin wave and another graph appear to do operation but this graph must not be shown in case of square ?? how can i do it Quote Link to comment
crelf Posted May 27, 2007 Report Share Posted May 27, 2007 QUOTE(Nullllll @ May 26 2007, 08:24 AM) if i choose the sin wave switch I want the program to display sin wave and another graph appear to do operation but this graph must not be shown in case of square ?? So you want the switch to hide/show graphs that already have data in them and then hide/show other graphs that have data that's been operated on? Or you want the software to detect if it's a sine or square wave and then display them in different graphs? Please provide us with a front panel with all the controls/indicators that you want - that might make it more clear. PS: please stop calling me "dear". In my culture, it's a term used be people that are a *lot* closer than we are Quote Link to comment
JDave Posted May 27, 2007 Report Share Posted May 27, 2007 QUOTE(Nullllll @ May 25 2007, 02:22 PM) ... I want to display one graph only for all of them how 2 do that ? two cases sharing 1 graph?? QUOTE(Nullllll @ May 25 2007, 03:24 PM) ... if i choose the sin wave switch I want the program to display sin wave and another graph appear to do operation but this graph must not be shown in case of square ?? how can i do it Do you want one graph that will display either the sine or square? Or do you want a separate graph for the sine wave? You need to explain what the purpose is behind the graphs. Why are you showing another graph? Knowing this would help in answering you. Quote Link to comment
Nullllll Posted May 27, 2007 Author Report Share Posted May 27, 2007 Look I want one graph for shoing sin or squre , but in case of Sin other graph will be shown but that will not be shown for squre ? got it? Quote Link to comment
crelf Posted May 27, 2007 Report Share Posted May 27, 2007 QUOTE(Nullllll @ May 27 2007, 03:43 AM) got it? You want two graphs: Graph 1 shows Sine or Sqaure signal, depending on the locaiton of the switch Garph 2 shows an operation on Sine only, and is not visable when the switch is in Square mode Did I get it? If so, then use a property node to set Graph 2's "Visible" property. Quote Link to comment
BobHamburger Posted May 29, 2007 Report Share Posted May 29, 2007 QUOTE(crelf @ May 25 2007, 06:51 PM) PS: please stop calling me "dear". In my culture, it's a term used be people that are a *lot* closer than we are You know, Chris, you Aussies are a strange lot... it's OK for one guy to call another one "mate," but you bristle at being called "dear." How do you fellows deal with the conjugal implications of "mate"? Quote Link to comment
crelf Posted May 29, 2007 Report Share Posted May 29, 2007 QUOTE(BobHamburger @ May 28 2007, 12:18 PM) How do you fellows deal with the conjugal implications of "mate"? Exactly the same way we deal with the word "http://dictionary.reference.com/browse/bugger' target="_blank">bugger" In complete denial... When compounded: "Bugger me Bob - how are you mate?" Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.