Based on the resource name read from a file,i have to configure the serial port.How would it be possible to convert the string read from file to resource name for serial port configuration?
You can wire a string directly to the VISA Resource Name input. If the string is a valid name such as Com1 or ASRL1::INSTR, then no conversion is necessary.