To echo commands, Test the connection, Hyperterminal settings shortcut – Gentec-EO S-LINK User Manual
Page 29: Serial commands, S-link serial commands
S-
LINK User’s Manual Revision 2.4
24
1.7.6
To echo commands
The commands you type do not appear in the HyperTerminal window, unless you set the HyperTerminal
up to do so. Only the response from the S-Link is displayed. If you prefer to see the commands you are
typing, on the HyperTerminal window click the File menu and execute the following sequence:
File
→ Properties → Settings (tab) → ASCII setup → select “Echo typed characters locally” → OK
1.7.7
Test the connection
In the HyperTerminal window type *VER, press
ENTER. If the response you receive tells you the
version of your S-Link, you are successfully connected and ready for serial command action.
1.7.8
HyperTerminal settings shortcut
When you end the session, HyperTerminal asks you if you want to save your settings. To avoid re-
entering the communication parameters, save them by clicking yes. The next time you execute the string
of commands shown in section 3.2.2 above, the name of your session will appear after HyperTerminal.
Clicking on the session name opens the connection using the saved settings. To avoid re-entering the
string of commands, put a shortcut to this file on your desktop:
Find the file name, right click on it and select Shortcut in the drop down menu.
1.7.9
Serial Commands
1.7
S-Link Serial commands
The star (*) is part of each command.
*AT1x
/
*AT2x
To set the Attenuator to Channel 1 or 2
x= 0 = disable, x = 1= enable
Default value is 0.
Example: Enter *AT10 to disable the attenuator for Channel 1.Example: Enter *AT21
to enable the attenuator for Channel 2.
*CA1
/
*CA2
To Send the data points of Channel 1 or 2 through the serial port at the frequency of a
laser for an Energy head or at 100Hz for a power head.
Output in ASCII mode is:
Wattmeter : 6 digit resolution in Watt
Example:
1:0.001101 : 1.1001 mW on channel 1.