Measure

cancel
Showing results for 
Search instead for 
Did you mean: 

Use NI-488.2 to Query Signal Source Analyzer trace info.

I am trying to use a SCPI query to pull trace information from a
Agilent Signal Source Analyzer (Model E5052A).

The results are comma seperated string types (ASCII).
They are around 904 points and is about 20 Kilobytes.

My actually code is as follows:

Dim resultsData     As String * 18080

Call Send(BoardID, GPIBAddr, ":CALCulate:PN1:TRACe1:DATA:SDATa?", DABend)
Call Receive(BoardID, GPIBAddr, resultsData, DABend)

Now once I do this the "resultsData" shows me partial results (comma seperated values).
Since a string limitation is 255 characters it is truncating.

1. How do I get the complete trace information.
2. Is their a way wherein I could read the data in chunks.

I would appreciate any help on this ASAP.
0 Kudos
Message 1 of 2
(6,338 Views)
0 Kudos
Message 2 of 2
(6,329 Views)