Hi,
I am trying to read a measurement from a device (an HP3457A) and no matter how I set the termination properties window the instrument keeps giving me multiple readings. In other words, when I try to make a voltage measurement I send an ibrd(device, buffer, 50) and I get three different measurements in the buffer seperated by <CR><LF>. Even if I use the EOS byte of 10 of 13 to terminate the transmission it still always sends me 50 bytes. Do you have any suggestions on how to rectify this? By the way, how come so many read commands in any language have to know how many bytes to read? I only know how many bytes to read about 1% of the time. The rest of the time I am reading in variable length information. I want to be able to tell it to read 50 bytes OR UNTIL a <CR> OR <LF> is detected.
Buck