Gpib communication with HP Infinium scope.
Trying to retrieve the learnstring.
First a command is sent to the scope -> “*LRN?”
Now, the learnstring can be read, this string is approximately 14000 bytes long.
strReading = m_board.ReadString(address, strReading.Length, intTerminationByte);
address = {PrimaryAddress=7, SecundaryAddress=0}
strReading.Length = 20000
intTerminationByte = 256
After executing the m_board.ReadString function, a System.ArgumentOutOfRangeException is raised.
Screenshots are added in a attachment