LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reading from serial communication port

i design  program to send string value from pic16f877 to serial port and i want to read this values in labview and plot it using serial port
0 Kudos
Message 1 of 8
(2,993 Views)
Have you gone through the examples in the Example Finder (Help -> Find Examples)? Also, there are so many tutorials available on the NI website (just search for 'serial tutorial'). If you are having any issues, let us know.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 8
(2,986 Views)
I have to ask, as this is a quite common beginner mistake. Do you have a proper TTL to RS232 level converter on the pic16f877 side? Like some max232 type circuit.
Message Edited by Coq Rouge on 05-22-2010 12:03 PM


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 3 of 8
(2,978 Views)
yes, offcourse i have
0 Kudos
Message 4 of 8
(2,959 Views)

but how to plot the converted signal taken in account that it is a string

i take the output of read string that is in labview example and convert it in to byte array and display it on waveform graph is that right , but it didnt give the same shape of  signal that i send it

0 Kudos
Message 5 of 8
(2,956 Views)
That's a completely different question from what you started asking.  What does the string look like?  Use the appropriate string to number conversions in the string palette.
0 Kudos
Message 6 of 8
(2,948 Views)

its the same question i asked about converting a string to the real value of my signal and plot it thats all

is string to number will display my analog signal or there is a change 

 

thanks

0 Kudos
Message 7 of 8
(2,940 Views)
Your question was how to read the serial port.  Now the question is how to convert the string you read to a number.  As I said, look on the string palette for string to number conversion functions.
0 Kudos
Message 8 of 8
(2,906 Views)