LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS232 values to graph

Hi,

yes you're right, i didn't put the value in the box.
Thank you.

However, I don't get anything on the serial port. Graphics still run without having the simulation turned on.
0 Kudos
Message 11 of 16
(650 Views)

Hi Majk,

 


@MajklS wrote:
However, I don't get anything on the serial port. Graphics still run without having the simulation turned on.

Mind to share your current VI to help us to help you?

How does a "graphics still run" when you "don't get anything on the serial port"?

 

Don't you think it would help you to learn some LabVIEW basics?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 16
(647 Views)

Hello 

 

Right now, when I have an RS232 serial port connected and sending data, nothing is displayed.
The graph is running, but the rendering is zero.

Yes, you're right with the basics, I'm currently studying one book.
 
0 Kudos
Message 13 of 16
(625 Views)

Why are your chart terminals outside the while loop?

 

That means they don't get any data until the loop ends.  Then it will only get the last value, and it will probably look like nothing since a single point doesn't show up by default on a waveform chart.

 

I would recommend you learn more about LabVIEW from here. How to Learn LV

0 Kudos
Message 14 of 16
(621 Views)
Oh, good knowledge, thank you for your advice. I put 2 graphs in a loop, but how does it know I want to render RdData [0]?

Thank you for the link to Labview tutorial.
0 Kudos
Message 15 of 16
(617 Views)

Hi Majk,

 


@MajklS wrote:
I put 2 graphs in a loop, but how does it know I want to render RdData [0]?

Do you even read the answers you got for your questions?

To index an array element (like RdData[0]…) you should use the IndexArray function!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 16
(611 Views)