I am writing a VB NET program for my Siglent spectrum analyzer. Admittedly I am a VB Net newbie but I have communications working well. Next I wanted to start playing with trace data. For example I use a Siglent command for getting screen trace data
I am only getting str lengths of 1024 bytes. Using NI Max and checking by adjusting buffer size, the TRACe? command returns about 20,000 bytes of data and the size will vary depending on the spectrum analyzer function. Is there some method to use RawIO.ReadString() to read the entire data string stream? In VB Net declaring str as string should allow it to become any string length up to >1 Mbyte. Is the 1024 byte limit a RawIO.ReadString() issue??
Any advice would be greatly appreciated.