07-10-2017 10:16 AM
Hi butcher,
I cannot see the curves for channel 1 and channel 2 during run-time when i was about to change the channels which i want only the time vs channel is working, just tell me what i have to do?
Regards,
Dinesh
07-15-2017 11:21 AM
Hi butcher,
i have used both of your idea for my work, it works but when i was using it to acquire a voltage signal for 16 channels using daq 6211 and to plot it in a 16 set of graphs with channel selection window and also to change the x-axis and y axis name label with them it was not working fine, am i missing something here? what do i need to get this output here correctly, i have attached my vi to this.
Thanks in advance,
Regards,
Dinesh
07-15-2017 11:57 AM
Your channel selection window doesn't do anything productive.
If you call it, you do nothing with the results. Inside of it, if you hit OK, it does nothing except pass through the data that came in, If hit Cancel, it does nothing except pass through the data that came in.
07-15-2017 12:44 PM
Hi raven,
So then guide me how to deal with this.
Thank you,
Regards,
Dinesh
07-15-2017 01:33 PM
I can't. I don't know what you are really trying to do.
Sit down with a piece of paper and in words describe what you are trying to do and the steps you would take to accomplish that.
07-16-2017 12:09 AM
Actually, i need to acquire a voltage signal using NI 6211 DAQ for 16 channels and i need to display a acquired values in XY graph any channel vs any channel (channel 1 to channel 16) simultaneously for all the 16 graphs and also with any channel with respect to time. I've attached my vi for reference,but in this vi i need to display automatically with the default values set to each graph for example chan1 vs chan2 to display, whenever i start acquiring data and then only if user want to change the channel what they want?they can select it in a channel selection window, this is it if you compare it with previous vi with this you can understand what i really needed.
Thanks in advance,
Regards,
Dinesh
07-17-2017 12:31 AM
Hi to all,
I have created a vi that acquiring voltage signal will be displayed in a xy graph and also i added channel selection window to select which channel values we want can be displayed in a any graph we want, however this was working only for first two graph and other set of graphs which it was not working, i need to set it for all the set of graphs in this vi, if anyone has some idea you can share it here, i need some model examples to rectify my error.
Thank you in advance,
Regards,
Dinesh
07-17-2017 01:42 AM
hi,
i have same problem using it for xy graph to select which channel i want to display it in a xy graph same using 2d array i have used enum control to use it here, here i will attach my 2 different vi to this so you can understand what i was trying to do it works on first two set of graphs but when adding multiple set of graphs it wasn't.
Thank you in advance,
Regards,
Dinesh
07-17-2017 12:11 PM
Hi Dinesh,
Just from opening your VI I cannot tell what your problem is, but I do have some suggestions! Your VI has a lot of redundant code. This means if you find an error in place, you have to fix it in 15 other places as well. (Property nodes, indicators, graphs). It also appears like some of your loops are running as fast as they can even though nothing is probably changing that fast. The dequeue element will regular the speed on some loops, but others will hog your processor. Instead of making a new while loop for each functionality you think of, you should use an event structure inside a while loop to trigger on certain actions.
A couple questions for you:
07-17-2017 11:45 PM
There are Multiple ways to satisfy your condition.
Keep the Acquired data in an array and based on the selection of Channel extract the data related to that particular channel and Update in the XYGraph
If you want individual Graphs for every channel the best way is to use Tabs and Disable Tabs and Enable Page Label Display which will display like an single window.