Command line arguments

The PcVue main process sv32.exe supports command line arguments can be used to perform various operations such as starting a specific project version, get a license from a hardware protection key on another station, starting in VCR playback mode and much more.

To access the command line, right-click on the PcVue program icon and select Properties. If necessary, the command line arguments can be combined. For example, the following would cause the Select Project dialog to be displayed and also the selection of the project version to load.

"C:\Program Files\ARC Informatique\PcVue 17\Bin\sv32.exe" -s -d

If parameters within the command line contain spaces, they must be enclosed in quotation marks.

For instance, using -d proj=x.y.z,lib=x.y.z with no space in parameters will work, but it is recommended to use "-d proj=x.y.z, lib=x.y.z" with quotes to accommodate the presence of space characters in parameters.

Command line options

Argument Parameter Purpose

-ansi

-ansip

  Interpret all project plain text files, including the trace and audit files, as ANSI. Normally they are treated as ASCII.

-s

 

Display the Select project dialog when PcVue starts.
If host protection is in place, restricting a host to running only a specific project, the -s switch is still effective and the project selection dialog box is displayed. But if you select a project other than the one the host is bind to, the startup will be aborted.

-p

<ProjectName>

Run the project <ProjectName>.

<ProjectName> can be up to 255 characters in length.

If host protection is in place, restricting a host to running only a specific project, the -p switch is no longer effective. If the project passed as argument is different from the one the host is bind to, the startup will be aborted.

-k

<KeyNum,SlotNum,StationNumber>

To get a license from a network dongle.

SlotNum identifies the address from which the license is obtained: Slot 1 (NETWORK1) or Slot 2 (NETWORK2).
Keynum is always 1.

StationNumber is the station number of the PcVue station into which the dongle is plugged.

This was mandatory when running PcVue in a session on an RDS host with a version earlier than 10.0 SP1. For later versions, -k is deprecated for this purpose. Use -wts instead
See topic Deploying PcVue on a RDS host for more information.

It can also be used with a classic architecture such as a single client station with a single server station that holds the license key.

-wts

<ProjectName,ClientStationListName>

Run PcVue in a Windows Remote Desktop Session on RDS, and automatically get the station number from the ClientStationListName.

The -wts and -station_number command line arguments cannot be used altogether as both set the station number.
See topic Deploying PcVue on a RDS host for more information.

-station_number

<StationNumber>

Run PcVue as station number <StationNumber>.
If host protection is in place, the -station_number switch is ignored.

The -wts and -station_number command line arguments cannot be used altogether as both set the station number.
See topic Deploying PcVue on a RDS host for more information.

-r

 

Start the reference version of the project and libraries.

-r_delta  

Start the reference version of the project and libraries.

Only those files that have changed are copied from the reference project.

-preref  

Start the pre-reference version of the project and libraries.

-d

 

Display the Version Selector dialog when PcVue starts. Here the Version Selector displays development, operational and reference versions.

-d "proj=x.y.z, lib=x.y.z" Starts the specified version of project and libraries.

You can either omit the proj or lib parameter, or use both together.

-d

"tag_proj=myProjTag [tag_lib=myLibTag]"
or "tag_lib=myLibTag [tag_proj=myProjTag]"

Starts the version of the project and libraries specified by the associated tags.

If tag_lib or tag_proj is omitted, the local project or libraries are used.

In case the specified tag is not associated to any project or library version, a message is logged in the Event viewer.

-x

 

Display the Version selector dialog when PcVue starts. Here the Version Selector displays operational and reference versions only.

-vcr

 

Starts PcVue in VCR playback mode.

See topic The VCR facility for more information.

-vcrrecordall  

Forces all variables to be recorded in the VCR archive unit.

See topic The VCR facility for more information.

For more information on command line arguments related to project version management refer to the topic How to select a project version at start-up.