04-22-2010 08:55 PM
Dear All,
I have snap shot a small part of the program. My application requires me to do a serial read for a few times., i cant send the whole data in one short. Therefore i have broken the data into array and sens in pieces. May i know how can i reduce the serial read function and make the code more efficient? I may need more serial read icon if the data is even longer.
Can anyone help out on this? My data is an array of strings.
Thank you!
l
Solved! Go to Solution.
04-22-2010 09:22 PM - edited 04-22-2010 09:26 PM
First, Index Array is exandable so you don't have to copy it 8 times.
You could use array subset to get those first 8 elements. Then use concatenate and wire that into one VISA write.
04-22-2010 11:43 PM
Dear Ravens,
My application is such that i can only write very small data at one time. Can the VI you write cater for mulitple writing?
If i use contencate in the function, the string length may be long and i cant send it at one short to the visa read. The visa read only allows a small string length to pass through. I have to loop the visa read somehow but not sure how to do it.
The problem is i can send the input with smaller size and write to mutiple visa read but not all one short into one single visa. Though the data contencate is correct, but this total data cant be send one short into one single visa.
The data has to be small as i am using for modem application, too large data will not be send.
04-23-2010 12:39 AM
Hi,
I hope this is helpful for u.