Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

UART to LabVIEW

$
0
0

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


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>