LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform graph problem

Solved!
Go to solution

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

0 Kudos
Message 81 of 95
(1,251 Views)

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

Download All
0 Kudos
Message 82 of 95
(1,234 Views)

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.

0 Kudos
Message 83 of 95
(1,231 Views)

Hi raven,

        So then guide me how to deal with this.

Thank you,

Regards,

Dinesh

0 Kudos
Message 84 of 95
(1,229 Views)

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.

0 Kudos
Message 85 of 95
(1,223 Views)

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

Download All
0 Kudos
Message 86 of 95
(1,209 Views)

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

Download All
0 Kudos
Message 87 of 95
(1,256 Views)

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

0 Kudos
Message 88 of 95
(1,217 Views)

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:

  • How do you stop your program? Most of the stop buttons are hidden to the user. 
  • Do you need all those graphs, since you are only viewing two at a time? You could re-use the graphs and just change which data set is plotted.
  • Can you illustrate your problem? We need to know what you are seeing and what you want to see, since we don't have your hardware and cannot run the application.
0 Kudos
Message 89 of 95
(1,221 Views)

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.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 90 of 95
(1,206 Views)