SIGLENT
150 SSG5000X Programming Guide
# Body: send the SCPI commands *IDN? 10 times and print the return message
s = SocketConnect()
for i in range(10):
qStr = SocketQuery(s, b'*IDN?\n')
print (str(count) + ":: " + str(qStr))
count = count +
1
SocketClose(s)
input('Press "Enter" to exit')
if __name__ == '__main__':
proc = main()
The run result
:
4.2.2
Telnet Example
Telnet SCPI: Provides the ability to send single SCPI commands from a remote PC to the
signal generator
using LAN port number 5024.
How to send single SCPI commands using Telnet:
1.
On the remote PC, click Start, then Run
2.
Type: telnet <ip address> 5024
3.
A Telnet window with a >> prompt should appear on the remote PC screen.
Содержание SSG5000X Series
Страница 1: ...SSG5000X Series Signal Generator Programming Guide PG0805X E01A...
Страница 14: ...SIGLENT 14 SSG5000X Programming Guide...
Страница 131: ...SIGLENT SSG5000X Programming Guide 131...
Страница 152: ...SIGLENT 152 SSG5000X Programming Guide To close the normal telnet window type Quit and press Enter...