09-23-2014 09:11 AM
i need to connect my electronic hardware/instrument with labview serial visa. i need to enter multiple entries as input like frequencies, data patterns in binaries. but labview serial write accepts only single string as input. pls suggest how should i proceed?
09-23-2014 09:14 AM
@vinay1 wrote:
i need to connect my electronic hardware/instrument with labview serial visa. i need to enter multiple entries as input like frequencies, data patterns in binaries. but labview serial write accepts only single string as input. pls suggest how should i proceed?
use concanate strings
09-23-2014 09:16 AM
09-23-2014 10:45 AM
It really depends on the command format your instrument wants. Some instruments will let you insert a semicolon between commands and write the one long string. Others will require separate writes. I would use a FOR loop in this case (iterate on an array of strings).