Chapter 6
NET?
NETWORK ADDRESS
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
HP : OUTPUT 705;"NET?"<NL>
Programming
Example
NI : DIM RESPONSE As Variant
© 2010 Colby Instruments. PDL-100A Operating and Programming Manual
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
ENTER 705;NETWORK$
PRINT (NETWORK$)
CWGPIB.Write "NET?"
RESPONSE = CWGPIB.Read(250)
MsgBox ("Network settings : " & RESPONSE)
System Commands
QUERY
Page 52