background image

Model 2306-LAN Communications and Firmware Upgrade Instructions 

071377001 

April

 2022 

11 

Raw socket NI-VISA protocol example 

In the example program, you can query the model information of the instrument using the 

*idn?

 command, as

shown in the following figure. 

Also, the list below and the following figure indicate the items that need to be configured: 

TCPIPO

Send End En

Suppress End En

TermChar En

TermChar

Figure 8: Model 2306-LAN NI-VISA programming example 

Use a semicolon (;) after each command when you send a command through ethernet with NI-VISA (see the 
example in the following figure). Using a semicolon keeps commands separated so they are not combined into 
one command. If the commands are combined, they will not execute properly. 

Figure 9: Model 2306-LAN NI-VISA programming semicolon 

Summary of Contents for Keithley 2306-LAN

Page 1: ...y detects the network speed Figure 1 Model 2306 LAN connection location Contact your network administrator to confirm your specific network requirements before setting up a LAN connection If you have...

Page 2: ...rk Contact your corporate IT department for permission before you connect the 2306 LAN to a corporate network When the 2306 LAN is shipped the IP configuration is set to manual and is set to the follo...

Page 3: ...is is the instrument default 192 168 0 2 Figure 3 Model 2306 LAN configure computer Check communication settings Before configuring the LAN you can check the communications settings on the instrument...

Page 4: ...mask port and LAN configuration on the instrument from the front panel Contact your corporate information technology IT department to secure a valid IP address for the instrument when placing the inst...

Page 5: ...take effect and return to the main menu LAN configuration through a computer You will need to download the 2306 LAN Configuration Tool from the Product Support and Downloads web page This tool provide...

Page 6: ...uration setting Description 1 Local IP address of your computer 2 Instrument serial number 3 Instrument MAC address 4 Instrument IP address 5 Port 5025 is the default 6 Select Clear to clear all of th...

Page 7: ...ols to communicate with the 2306 LAN instrument Port number Protocol 1024 VXI 11 5025 Raw socket You can only use one remote interface at a time Although multiple ethernet connections to the instrumen...

Page 8: ...timeout value to 60 seconds system_dmm TimeoutMilliseconds 60000 system_dmm SendEndEnabled true system_dmm TerminationCharacterEnabled true return character system_dmm TerminationCharacter 0xa system_...

Page 9: ...CP port 5025 ipe new IPEndPoint ip 5025 clientSocket new Socket AddressFamily InterNetwork SocketType Stream ProtocolType Tcp Connect to instrument through LAN clientSocket Connect ipe send message st...

Page 10: ...ou already have NI software such as LabVIEWTM or LabWindowsTM installed you have a valid license that can be used with Keithley drivers and application software If you do not have NI software installe...

Page 11: ...ng figure indicate the items that need to be configured TCPIPO Send End En Suppress End En TermChar En TermChar Figure 8 Model 2306 LAN NI VISA programming example Use a semicolon after each command w...

Page 12: ...ed to download the firmware you want to install on your Model 2306 LAN instrument from the Product Support and Downloads web page Go to LAN configuration through a computer on page 5 for more informat...

Page 13: ...192 168 0 3 as shown in the following figure Figure 11 Upgrade LAN firmware 4 Select Scan The IP information of the instrument is displayed the default IP address is 192 168 0 2 5 Select Select Fw to...

Page 14: ...at the correct ethernet configuration information for the card was used during the setup procedure Verify that the network card in the computer is enabled Verify that the IP address of the instrument...

Page 15: ...will be marked as category II or higher Unless explicitly allowed in the specifications operating manual and instrument labels do not connect any instrument to mains Exercise extreme caution when a s...

Page 16: ...components that are not safety related may be purchased from other suppliers as long as they are equivalent to the original component note that selected parts should be purchased only through Keithley...

Reviews: