ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

UART to LabVIEW

Hello i am wondering how to seperate form voltage sine wave with data from the adc on my microcontroller.  My code works as follows, im sending sets of 512 numbers and i have a $ that insitates the begining of each 512 numbers, then between each number there is a comma, there is 8 digits between each comma representing its own number, So now i need a way to find each comma and $ sign. I used the match pattern to find the $ and comma and it does but only one $ sign and comma. I need every one. Then i need to join numbers to replicate the same AC sine wave that my circuit produces. I have attached images of the data in the read buffer and my VI code.  If somone can please help me separate this data and then form a sine wave with it for analysis. There is also a image of the data in virtual uart terminal

0 Kudos
Message 1 of 2
(4,461 Views)

Duplicate post.  Please keep the discussion in a single thread.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(4,443 Views)