11-16-2023 11:15 AM - edited 11-16-2023 11:16 AM
Craig,
Hi friend,
I am trying to pull data from Advantest R3273 with GPIB to USB adapter and I am pulling the data through COM port by using VISA operations (initialize/ open/read/close). I selected binary data format because each trace point occupies '2' bytes while ASCII does '4'. With ASCII I have the correct data, but with binary I receive strange characters that needs to be translated. I used ASCII to close the project but the issue is still unresolved for me. I try what Minions said and let everybody knows.
Many Thanks
Ben
11-16-2023 11:29 AM
If you are reading the binary data as ASCII, it is possible that one or more of the binary bytes will contain the same value as the <LF or CR> termination character and that will end the read. You may need to use {Bytes at Port} until value is 0 to determine if there are any additional binary bytes and concatenate those to your string along with the termination character used when {Bytes at Port} is not equal to 0 in order to get the complete message response from the instrument.