cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

How to plot data sent through serial port by controlling knobs simultaneously

¡Resuelto!
Ir a solución

Hi 

I want to plot data by controlling two knobs simultaneously and plot the values according to my control using serial port communication but the problem is that the plot on the graph alternates between the two controls its not changing according to my control for eg if i move the knob1 to 1000 and knob 2 to 4000 these values alternate on the graph i have placed a select control still the problem is not solved can u help me please thank you in advance

 

With regards

Samatha

0 kudos
Mensaje 1 de 13
4.837 Vistas

Hi samatha.k,

can you upload your vi?

 

Mike

0 kudos
Mensaje 2 de 13
4.836 Vistas
i have attached my vi please find it in the attachments thank you in advance....
0 kudos
Mensaje 3 de 13
4.827 Vistas
Run the VI again and when the values are plot on the graph, go to Edit -> Make Current Values Default. Then post the VI.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 kudos
Mensaje 4 de 13
4.814 Vistas
i did as u said
0 kudos
Mensaje 5 de 13
4.809 Vistas
Hmm there is nothing on the chart. Is it possible for you to post a screenshot of the chart after you run the VI?
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 kudos
Mensaje 6 de 13
4.806 Vistas
0 kudos
Mensaje 7 de 13
4.801 Vistas

Your VI CANNOT plot more than once since you do not have the code in a loop. Do NOT use the run continuous button. I also fail to see how you think anything can be simultaneous since you are using the same port. The for loop you have is also very strange. That doesn not belon there at all.

 

 

0 kudos
Mensaje 8 de 13
4.782 Vistas

i know there is something wrong with my code because i am new to labview i am just trying to build to new VI anyways so what do i need to do now pls tell me

thank you in advance .....

Message Edited by samatha.k on 05-03-2009 01:04 AM
0 kudos
Mensaje 9 de 13
4.763 Vistas
Thank you sir i have got the solution i have put whole code under while loop and placed two cases..............
0 kudos
Mensaje 10 de 13
4.752 Vistas