Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66748

separate ADCs values from UART for many string

$
0
0

Hi, 

I am transferring DAC created and ADCs acquired using PSoC UART, I have created for loop to send signal. Each string sent to UART has the form: DAC[space]ADC[CR]

I have successfully send this string through UART using VISA Read as in the Examples and I used Match Pattern Function to separate the signal but in only ONE FIRST LINE of the read buffer. I have also used String Subset but the results are the same. 

I want to separate DAC and ADC in each line, put them in array and use them to build a XY graph but I am stuck at the separation stage. 

I attached my VI below. Please take a look and give me some advice, I have spent a few days to read some thread on the forum related to my subject but I couldn't find a proper answer. 

I am newbie to LabView so any suggestion would be appreciated. Thanks in advance! 


Viewing all articles
Browse latest Browse all 66748

Trending Articles