03-27-2022 01:45 AM
Dear All,
Could you please help me to plot data on the XY Graph by selection option from menu ring.I run the code and logged the data into table.Instead of having four different XY graph on screen, i want to select the graph of my choice once the program execution done.
Thank you
03-27-2022 02:21 AM
Sorry, we cannot help you by just looking at a picture of the front panel. How is the data arranged? What are the item/value pairs in the ring?
If all data is in a 2D array, you can use the ring output to index into the array (either rows or columns) pick any two and create a complex array wired to the xy graph terminal.
There are millions of other ways the data could be held and we cannot help without significantly more details. Why not attach the VI?
03-27-2022 09:48 AM
Dear altenbach,
I attached my VI.After the execution of Program, i want to plot graph of my interest by choosing from menu ring.
Thank you
03-27-2022 10:54 AM - edited 03-27-2022 10:54 AM
03-27-2022 12:20 PM
Most of your code seems flawed, so I took the liberty to clean it up a bit (Of course I understand that your data probably comes from elsewhere and this is just a simulation. Still it might give you some ideas).
03-29-2022 08:42 AM - edited 03-29-2022 08:49 AM
Dear Gerd,
sorry for my late reply and thank you very much for your suggestions.
Responses of your two questions
According to your code, first we have to select the axis then waveform will be generated according to the selected axis.My question is, after the execution of program,how to get different plots by selecting the different axis i.e. at a same time we can get 12 plots by choosing from ring menu e.g R v/s I, R v/s V, R v/s R, R v/s P and same for others. I have attached a video of what i want to do
best regards,
Salman