Quantcast
Channel: Measurement Studio for .NET Languages topics
Viewing all articles
Browse latest Browse all 1999

NI-VISA 19.0 and MessageBasedSessions -?

$
0
0

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.

 


Viewing all articles
Browse latest Browse all 1999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>