Agilent Technologies InfiniiVision 2000 X-Series Programmer's Manual page 849

Oscilloscopes
Hide thumbs Also See for InfiniiVision 2000 X-Series:
Table of Contents

Advertisement

End Sub
Private Sub DoCommand(command As String)
End Sub
Private Function DoCommandIEEEBlock(command As String, _
End Function
Private Function DoQueryString(query As String) As String
End Function
Private Function DoQueryNumber(query As String) As Variant
Agilent InfiniiVision 2000 X-Series Oscilloscopes Programmer's Guide
Next lngI
' Close output file.
Close hFile
' Close file.
MsgBox "Waveform format BYTE data written to " + _
"c:\scope\data\waveform_data.csv."
err = viVPrintf(vi, command + vbLf, 0)
If (err <> VI_SUCCESS) Then HandleVISAError vi
CheckInstrumentErrors
lngBlockSize As Long)
retCount = lngBlockSize
Dim strCommandAndLength As String
strCommandAndLength = command + " %#" + _
Format(lngBlockSize) + "b"
err = viVPrintf(vi, strCommandAndLength + vbLf, paramsArray(1))
If (err <> VI_SUCCESS) Then HandleVISAError vi
DoCommandIEEEBlock = retCount
CheckInstrumentErrors
Dim strResult As String * 200
err = viVPrintf(vi, query + vbLf, 0)
If (err <> VI_SUCCESS) Then HandleVISAError vi
err = viVScanf(vi, "%t", strResult)
If (err <> VI_SUCCESS) Then HandleVISAError vi
DoQueryString = strResult
CheckInstrumentErrors
Dim dblResult As Double
err = viVPrintf(vi, query + vbLf, 0)
Programming Examples
849
38

Advertisement

Table of Contents
loading

Table of Contents