Agilent Technologies InfiniiVision 3000 Programmer's Manual page 1147

X-series
Hide thumbs Also See for InfiniiVision 3000:
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 3000 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
1147
39

Advertisement

Table of Contents
loading

Table of Contents