LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convert string to waveform

Hello 2 everyone.firstly i hav a problem bout how to build a waveform from the string using RS232 serial comm.I'm using instrument I/O assistant (IIOA) to communicate with message-based my hardware and graphically parse the response.The list of numbers below shown from ASCII from microcontroller. After I configure my hardware using IIOA, i can build  the string V n I easily.so my problem is i hav no idea how to convert this string into waveform.before that,i had using function string to byte array and then create a waveform graph.it is correct? n the last result i've got  the wrong graph bcoz the graph seen did not match from the string.here, i attach the files to anyone n i hope that you all can fix me the prob of this.thank u......Smiley Sad

   
         
V= 2, I = 4          
V= 3, I = 5          
V= 4, I = 6
V= 5, I = 7
V= 6, I = 8
V= 7, I = 9
V= 8, I = 10V= 6, I = 8
V= 7, I = 9
V= 8, I = 10
V= 9, I = 11
V= 10, I = 12
V= 2, I = 4
V= 3, I = 5
V= 4, I = 6
V= 5, I = 7
V= 6, I = 8
V= 7, I = 9
V= 8, I = 10
V= 9, I = 11
V= 10, I = 12



Download All
Message 1 of 9
(6,647 Views)
Refer to this thread. The delimiters to search for are different, but the problem is the same...

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 9
(6,637 Views)
Thank u very much...you're helped me a lot...but i almost forget 1 thing...actually...i didn't mean that value of V n I should be converted into XY graph...all i want to do is to make each V n I string convert into waveform graph versus time...that mean...I vs time & V vs time graphs.so i hope this prob will solve soon...I expected from u guys...thank uSmiley Happy
0 Kudos
Message 3 of 9
(6,572 Views)
Thank u very much...you're helped me a lot...but i almost forget 1 thing...actually...i didn't mean that value of V n I should be converted into XY graph...all i want to do is to make each V n I string convert into waveform graph versus time...that mean...I vs time & V vs time graphs.so i hope this prob will solve soon...I expected from u guys...thank uSmiley Happy
0 Kudos
Message 4 of 9
(6,572 Views)
The code from the thread I referred you to is still mostly what you want - just plot each array separately instead of combining them into an XY plot.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 5 of 9
(6,544 Views)
Hi Mr.Mike....

Thanks 4 ur advises and suggestions.Now...I'm be able to built the graph after I refer n learn the thread that u given......Sorry if i ask u so much...bcoz i'm newbie here in labview..so...i'm still learn until now...here i'm posting the example vi from my question above...i hope this example from my project can help the other members 4 the future references...thank u very much again mr.mike.
Message 6 of 9
(6,512 Views)

Hi,

I am with same problem. Will anyone help this? 

Thanks,

Cem

0 Kudos
Message 7 of 9
(5,581 Views)
It may be 7 years later, but same problem -- same answer. Have you tried the solutions already presented?

When you have, post some code.

Mike..

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 8 of 9
(5,565 Views)
0 Kudos
Message 9 of 9
(5,558 Views)