Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

Read data to file, buffersize?

Hi all,

I have written some visual basic code to read (ASCII data) from a
hp 3562A Dynamic Signal Analyser.

Visual Basic code:

Dim strPad As String
strPad = "c:\temp.txt"

Call ibrdf(strDev, strPad)
If (ibsta And EERR) Then
Call GPIBCleanup("Error")
End If

The size of the file is 11 kB.
There are totaly 721 lines in this file.

I suspected 1668 lines, the 721 lines are the last lines of the totaly suspected 1668 lines.

Where are the other 947 lines?
What is the maximum buffer size?
Otherwise, how can I get the other lines?

Thanks for your help and advice,
Stageman
0 Kudos
Message 1 of 2
(6,226 Views)
The ibrdf() operation terminates normally when END is received. The operation terminates with an error if the transfer could not complete within the timeout period. The actual number of bytes transferred is returned in the global variable ibcntl. What is the return status? You could try increasing the timeout value, ibtmo, if you get error EABO.

Hope you have the latest drivers from ni.com > Support > Troubleshooting > Installation/Getting Started > GPIB.
0 Kudos
Message 2 of 2
(6,226 Views)