![SIGLENT SSG5080A Series Скачать руководство пользователя страница 120](http://html.mh-extra.com/html/siglent/ssg5080a-series/ssg5080a-series_programming-manual_1267464120.webp)
118 SSG5000A Programming Guide
' will use in later VISA functions. The AccessMode and Timeout
' parameters in this function are reserved for future
' functionality. These two parameters are given the value VI_NULL.
For
i = 0
To
numInstrs
If
(i > 0)
Then
status = viFindNext(findList, instrResourceString)
End
If
status = viOpen(defaultRM, instrResourceString, VI_NULL, VI_NULL, instrsesn)
If
(status < VI_SUCCESS)
Then
resultTxt.Text = "Cannot open a session to the device " +
CStr
(i + 1)
GoTo
NextFind
End
If
' At this point we now have a session open to the USB TMC instrument.
' We will now use the viWrite function to send the device the string "*IDN?",
' asking for the device's identification.
status = viWrite(instrsesn, "*IDN?", 5, retCount)
If
(status < VI_SUCCESS)
Then
resultTxt.Text = "Error writing to the device."
status = viClose(instrsesn)
GoTo
NextFind
End
If
' Now we will attempt to read back a response from the device to
' the identification query that was sent. We will use the viRead
' function to acquire the data.
' After the data has been read the response is displayed.
status = viRead(instrsesn, Buffer, MAX_CNT, retCount)
If
(status < VI_SUCCESS)
Then
Содержание SSG5080A Series
Страница 1: ...SSG5080A Series Signal Generator Programming Guide PG0805A E01A ...
Страница 2: ......
Страница 124: ...122 SSG5000A Programming Guide ...
Страница 136: ......