HI all,
I'm working on VSA from remote, using SCPI commands over LAN. The connection is being made through matlab, using the 'tcpip' function.
Recently, the company installed new version of VSA on the server (new version is 15, the old one is 13). So currently both versions are installed on the server.
Now, when I'm trying to establish the LAN remote connection (in the same way I always did), I keep getting connected to the 15 version (and I want to connect to 13 version).
I tried changing the SCPI port, but it doesn't help... In addition, I see that the versions have different tcp/ip port.
How do I configure, to which version/port the matlab will connect?
Thanks, Amir
I'm working on VSA from remote, using SCPI commands over LAN. The connection is being made through matlab, using the 'tcpip' function.
Recently, the company installed new version of VSA on the server (new version is 15, the old one is 13). So currently both versions are installed on the server.
Now, when I'm trying to establish the LAN remote connection (in the same way I always did), I keep getting connected to the 15 version (and I want to connect to 13 version).
I tried changing the SCPI port, but it doesn't help... In addition, I see that the versions have different tcp/ip port.
How do I configure, to which version/port the matlab will connect?
Thanks, Amir
SYSTem:VSA:STARt
command/query
Starts an instance of the 89600 VSA if one is not running already.
Command Syntax:
:SYSTem:VSA:STARt [newInstance] [,version] [,hostname] [,port] [,waitSecs] [,createOptions] [,commandLineArgs]
Query Syntax:
:SYSTem:VSA:STARt?
Returns ::= 0 | 1
Remarks:
newInstance: Boolean with value of 1 or 0. Default is 1.
version: Version of the 89600 VSA Software to start. Default is empty string which indicates
to pick the latest available version.
hostname: String of the hostname (currently localhost or an empty string are the only valid values).
Default is empty string which indicates to use localhost.
waitSecs: How many seconds to wait before timing out. Use a value less than or equal to 0 to wait indefinitely.
Default is 0 (wait indefinitely).
port: Integer port number of the 89600 VSA Software to use. Default is -1 and indicates to use the default
port number which is 60189.
createOptions: Integer bit field of the startup options (see the equivalent .NET API documentation for more detail)
0 = None
1 = Use 32-bit application
2 = Use 64-bit application
Default value is 0 which uses whatever the startup preferences are in the 89600 VSA Software.
commandLineArgs: String of command line arguments. Default is empty string. See the equivalent .NET API documentation for more detail.
The optional arguments support was added in version 15.0.