![Colby Instruments PDL-100A Скачать руководство пользователя страница 61](http://html1.mh-extra.com/html/colby-instruments/pdl-100a/pdl-100a_operating-and-programming-manual_2635111061.webp)
Chapter 6
System Commands
© 2010 Colby Instruments. PDL-100A Operating and Programming Manual Page 52
NET?
NETWORK ADDRESS
QUERY
The NET? query retrieves the values for the
currently set
network addresses. Note: if no network cable is connected, the
IP address returned is invalid (e.g. 0.0.0.0).
Command
Syntax
NET?
Example
NET?
Returns
<ASCII TEXT><NL>
IP=192.168.100.8,NM=255.255.255.0,GW=192.168.100.1,
PORT=1234,DHCP=OFF
Programming
Example
HP : OUTPUT 705;"NET?"<NL>
ENTER 705;NETWORK$
PRINT (NETWORK$)
NI : DIM RESPONSE As Variant
CWGPIB.Write “NET?”
RESPONSE = CWGPIB.Read(250)
MsgBox (“Network settings : ” & RESPONSE)
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com