LabVIEW

cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

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

Solved!
Go to solution

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
Message 1 of 13
(4,018 Views)

Hi samatha.k,

can you upload your vi?

 

Mike

0 Kudos
Message 2 of 13
(4,017 Views)
i have attached my vi please find it in the attachments thank you in advance....
0 Kudos
Message 3 of 13
(4,008 Views)
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
Message 4 of 13
(3,995 Views)
i did as u said
0 Kudos
Message 5 of 13
(3,990 Views)
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
Message 6 of 13
(3,987 Views)
0 Kudos
Message 7 of 13
(3,982 Views)

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
Message 8 of 13
(3,963 Views)

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
Message 9 of 13
(3,944 Views)
Thank you sir i have got the solution i have put whole code under while loop and placed two cases..............
0 Kudos
Message 10 of 13
(3,933 Views)