Read the manual. You will see that your Instrument does not know the *IDN? command. What you need to do is command the instrument to output at the rate you want (command to set rate and then command to start) before your loop. Now it will continually send the data. So you just read inside the loop. And do NOT use the Bytes At Port. The data ends with your termination character, so just tell VISA Read to read 20 bytes and you will get exactly one reading per iteration.


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5