================================================================= Installing the Wireless XVQ/CAD Viewer software This documents describes the steps needed to set up the DeskArtes Wireless CAD Viewer (WCV) software environment. Before installing the software, please read the "license.txt" included in the installation package. The WCV software uses DeskArtes View Expert software equipped with the XVQ video compression package developed by VTT, Technical Research Center of Finland. To be able to use the package you will need to install necessary software components on your Windows server workstation and in your Compaq iPAQ Pocket PC. It is also necessary to set up the modem/Internet connection between the workstation and the Pocket PC. 1 Dial-in configuration for XVQ server 1.1 Windows NT 4.0 1.2 Windows 2000 1.3 Pocket PC client 2 Internet use 3 Installing DeskArtes View Expert 4 Installing the XVQ software 4.1 XVQ server 4.2 XVQ client 5 Running the system 6 How to get a license 7 Supported hardware 8 Required disk space for installation 9 Simple user guide 9.1 Starting the XVQ server 9.2 Starting the XVQ client 9.3 Using the client 9.4 Closing the client Last updated the 30th of April, 2002 ----------------------------------------------------------------- 1 Dial-in configuration for XVQ server ====================================== 1.1 Windows NT 4.0 ------------------ It is assumed here that you have already installed the modem and TCP/IP and NetBEUI network protocols. If that is not the case, the network protocols can be installed from "Start->Settings->Control Panel: Network: Protocols: Add" and the modem from "Start->settings->Control Panel: Modems: Add". 1. Installing the Remote Access Service (RAS) - Open the services page of the Windows NT Network dialog with "Start->Settings->Control Panel: Network: Services". - If the "Remote Access Service" is included in the service list, it is already installed and you can continue with step 2. (Configuring RAS). - Select the "Add" button. - In the "Select Network Service" window select the "Remote Access Service" and click the "OK" button. - When the installation asks it, put the Windows NT 4.0 CD into drive and select the path to point into I386 directory on the CD, then click "Continue". 2. Configuring the Remote Access Service (RAS) - Open the services page of the Windows NT Network dialog with "Start->Settings->Control Panel: Network: Services". - Select the "Remote Access Service" in the service list and then click the "Properties" button. - If your modem is not found in the RAS device list, use the "Add" button to add it to the list. - Select your modem in the RAS device list and then click "Configure" button. - In the "Port usage" selection choose "Receive calls only" or "Dial out and receive calls", so that the modem will answer the incoming calls, and click "OK" button. - Select your modem in the RAS device list and then click "Network" button. - In the "Server settings" choose the NetBEUI and TCP/IP for "Allow remote clients running" option and "Allow any authentication" for the "Encryption setting". - Click the "Configure" button beside the "NetBEUI" checkbox and select the "This computer only" for the "Allow NetBEUI clients to access" option, then click "OK". - Click the "Configure" button beside the "TCP/IP" checkbox and select the "This computer only" for the "Allow TCP/IP clients to access" option. - Select the "Use static address pool" option and then set the pool addresses to the following: "Begin: 10.0.0.1" "End: 10.0.0.2", then click "OK". - Click "OK" to get back into "Remote Access Setup" window. - Click "Close" at the Network dialog and reboot the machine when prompted. 3. Defining xvq user account - Start Windows NT user manager with "Start->Programs->Administrative Tools->User Manager" - Add a new user account with command "User->NewUser". - Fill in the name (for example xvq), password and other information in the fields of the dialog. - Click the "Dialing" button and select the "Grant dialing permission to user" and "No callback", then click "OK". - Click "OK" to close "New user" dialog. - Select "User->Exit" to close the User Manager. 4. Starting and stopping the Remote Access service - Open the Remote Access Admin dialog with "Start->Programs->Administrative Tools->RemoteAccess Admin" - To start the service run command "Server->Start Remote Access Service" - To stop the service run command "Server->Stop Remote Access Service" 1.2 Windows 2000 ---------------- It is assumed here that you have already installed the modem to your computer. If that is not the case, the modem can be installed from "Start->Settings->Control Panel: Phone and Modem options" Select there the "Modems" page and then click "Add" to start the "Add/Remove hardware wizard". 1. Creating a new incoming connection - Start the "Network Connection Wizard" with "Start->Settings->Control Panel: Network and Dial-up connections: Make new connection" - In the "Welcome page" click "Next" button. - For the "Network connection type" select "Accept incoming connections" and then click "Next". - In the list of "Devices for incoming connection" select the item corresponding your modem, then click "Next". - In the "Incoming Virtual Private Connection" page select "Do not allow Virtual Private Connection", then click "Next". - In the "Allowed users" page click the "Add" button to create a new user account for XVQ connections. Fill in the name (for example "xvq"), the password and other information as requested, then click "OK". - When a new checkbox for the created user account (xvq) appears in the list of users, make it checked to allow incoming connections for this user, then click "Next". - In the "Networking components" page make sure that the "Internet protocol TCP/IP" and "NetBEUI protocol" are found in the list and checked. - If either of the protocols is missing from the list, click the "Install..." button. In the "Select network component type" dialog select "Protocol" and in the "Select network protocol dialog" the protocol that you want to install. - Click "OK" to get back to the "Networking components" page. - Select "NetBEUI protocol" in the list and click "Properties" button. - Uncheck the option "Allow callers to access my local area network", then click "OK". - Select "Internet protocol TCP/IP" in the list and click "Properties" button. - Uncheck the option "Allow callers to access my local area network". - For the "TCP/IP address assignment" select "Specify TCP/IP addresses" and set the addresses to the following: "From: 10.0.0.1" "To: 10.0.0.2", then click "OK" and "Next". - In the "Completing the Network Connection Wizard" page the name of the connection cannot be changed. It is always "Incoming connections". Just click "Next" to finish the wizard. 2. Enabling/Disabling the incoming connections - Open the properties dialog of the incoming connections with "Start->Settings->Network and Dial-up connections->Incoming connections" - Select the "General" page of the dialog. - By checking and un-checking the check box of the modem in the list "Allow connections on these devices", you can enable/disable the incoming connections to the modem. - Also the other settings for incoming connections, which were originally set with the "Network Connection Wizard", can be changed in this properties dialog. 1.3 Pocket PC client -------------------- Please look to your Pocket PC guide on how to connect the Pocket PC with a modem or phone connection. You can either use the Compaq iPAQ infrared port to connected to your portable phone or use the Compaq iPAQ Expansion Pack with a phone card. The modem settings are done through Program/Connections in your Pocket PC. ----------------------------------------------------------------- 2 Internet use ============== To use the WCV software on a server connected to the Internet, fill in the appropriate IP address to the XVQ Client software as shown in Chapter 4.2 XVQ client. The WCV service uses 2 ports (8641 and 8642). The first is used to send the video stream and the latter is for control messages. ----------------------------------------------------------------- 3 Installing DeskArtes View Expert ================================== Uncompress the contents of the WCV.zip package you have downloaded from DeskArtes web pages or received on a CD. Unzip the package onto your hard diskwith sufficient space, about 9 Mbytes. This generates a "XVQ" directory which subdirectories will contain necessary software components both for your Workstation and your Compaq iPAQ Pocket PC. The necessary software components for View Expert installation are located in the "XVQ/View Expert" directory. One step is needed: - Install the DeskArtes View Expert software from the "dave50.exe" installation package. You will be taken through the installation step by step. - When asked, choose "Typical" installation. After installing the software you should set correct display settings for the View Expert program to generate the best quality image for your Pocket PC. The following should be done: - Start the View Expert program. - Select the "Viewing" tab on the left hand side of the program window. - Perform the following selections Display mode: Shaded Shading accuracy: medium Visual effects: Show curves through surfaces -> tick Single colored objects -> tick All other options not ticked (off). Object selection: Display when selected -> tick All other options not ticked (off). - Select the "Colors" tab. - Set the Basic Background Slide not ticked (off). - Now give command File/Exit to store the settings for the following program invocations. Now your View Expert installation is ready. ----------------------------------------------------------------- 4 Installing the XVQ software ============================= The XVQ software video compression software consist of two parts, the 1) XvqServer running on the Windows workstation and the 2) XvqClient running on your Pocket PC. 4.1 XVQ server -------------- The necessary software components for the XVQ server are located in the "XVQ/Workstation" directory in your installation package. To install the server: - Create a "XVQserver" directory into the root of your C: drive (or any drive with suitable disk space). - Copy the contents of "XVQ/Workstation/XVQserver" directory into the newly generated "XVQserver" directory. - Get a license from DeskArtes to continue the installation, see chapter 5 "How to get a License". - After installing the licenses, start the XvqServer by clicking the "XvqServer.exe" in the "XVQServer" directory. - Start the IniEdit editor with the "Options" command. - Set the following variables in the in the IniEdit window. Here we assume that the server and the View Expert are both installed in the C: drive: ---------------------------- [Grabber] WorstQuality=30 TargetBytes=300 Complexity=0 Correction=0 MinMe=0 IntraSendCycle=15 [Server] Log=C:\XvqServer.log INetPort=8641 SendResolution=224x168 AutoStillFrameCount=10 JpegQuality=70 XvqdDir=C:\XVQserver\ XvqdDefault= [Xvqd] DeskartesDir=C:\Program files\DeskArtes View Expert 5.0\ DeskartesSharedDir=C:\Program files\DeskArtes View Expert 5.0\samples\ DeskartesDefaultFile="C:\Program files\DeskArtes View Expert 5.0\samples\cubic.stl" -------------------------- - Press "Save" in the IniEdit window to save your settings - Press "Close" to finish editing The settings are stored in the "Winnt/XvqServer.ini" file. You may want to change the "DeskArtesSharedDir" to point your actual data storage now. The system can only access files under this directory. The "DeskArtesSharedDir" directory on your hard disk may be necessary to be set for shared use. This is done through the right mouse command "Properties" for the selected directory. Now your XVQ server installation is ready. 4.2 XVQ client -------------- Your Pocket PC runs the XvqClient software which connects to the XvqServer though a modem/Internet connection. The necessary programs for the XvqClient installation can be found in the "XVQ/Mobile Device" directory. To install the software: - Create a directory "Program Files/XVQClient" into your Pocket PC. - Copy the contents of the "XVQ/Mobile Device/Program Files/XVQClient" directory into the newly created "Program Files/XVQClient" directory in you Pocket PC. - Make a shortcut "Windows/Start Menu/XVQClient" pointing into the "Program Files/XVQClient/XvqClient.exe" in your Pocket PC. - Edit the "ip.txt" file in the Pocket PC "XVQClient" directory. This file includes the IP address for the server workstation. The format is like #10.0.0.1#. For multiple servers, use format #10.0.0.1#192.168.1.13#. - Copy the .dll files in the "XVQ/Mobile Device/Windows" directory into the "Windows" directory in you Pocket PC. If you are configuring the system to run over Internet connection, reserve port 8641 for XVQ service. Your XVQ client installation is now ready. ----------------------------------------------------------------- 5 Running the system ==================== 5.1 Starting the system ----------------------- To be able to use the software, you must have the following things in place and running: - The server must be connected to Internet or a modem. - The XvqServer must be running in the servers station. First start the "XVQSever/XvqServer.exe" program then press "Start" to start the server. - Go to Program/Connections in your Pocket PC and start the wanted modem connection. - Wait until you are connected to your dial-in modem. - Click the XVQClient in the Start Menu of your Pocket PC. - Select the wanted server IP address from the topmost input field appearing in your Pocket PC and press "Connect". - Wait until the text "Connected to the XvqServer" appears on the screen - Select the wanted application from the lover input field on the screen. Currently you have only "XVQDeskArtes.dll" available. - You will see the Wireless CAD Viewer client screen on your Pocket PC after a while. - With the different commands you can look at your CAD models from different angles, zoom in and out, take measurements and open new CAD files in your server station. 5.2 Closing the system ---------------------- - Press "0k" on the upper right hand corner to quit the Viewer. - Press "Disconnect" to disconnect the TCP/IP connection. - Press "Ok" on the upper right hand corner to quit the XVQClient - Close the modem connection ----------------------------------------------------------------- 6 How to get a license ====================== You will need two licenses to run the WCV software. The necessary system id for the licenses can be found from the View Expert/Help About DeskArtes View Expert dialog. Start the View Expert, check the number and email it to DeskArtes with "Request for Wireless CAD Viewer license". DeskArtes will deliver you two licenses, one for the View Expert software and one for the XVQserver software. The View Expert license is installed by copying the license string into the Help/About DeskArtes View Expert... dialog edit field. XVQserver license is installed by saving the given license string into "dalic." file into the "XVQserver" directory in your workstation. ----------------------------------------------------------------- 7 Required hardware ==================== Currently the system runs on Compaq iPAQ 3630/3850 Pocket PC and Windows NT and Windows 2000 workstations. Minimum memory for iPAQ is 8 Mbytes and for the server station 125 Mbytes. The download package size is 8.1 MBytes. The used memory for installation on the Pocket PC is 287 KBytes. The required disk space on the workstation is 20.6 MBytes. ----------------------------------------------------------------- 9 Simple user guide =================== After installing the XVQ server and XVQ Client components you are ready to run the WCV system. 9.1 Starting the XVQ Server ----------------------- The server is started by double clicking on the XvqServer.exe in the "XVQServer" directory in your workstation. Then press "Start" to activate the server to wait for a connection from the Pocket PC. 9.2 Starting the XVQ Client ------------------------- To start using the XVQ client, you must first create a connection between the Pocket PC and the server workstation. This is done either by modem or through Internet if the workstation is connected in the Internet. Please see the Pocket PC users guide on how to create the connection. - After the connection is established, the XVQ client software is started from the start menu item "XVQClient" if you have followed the installation instructions carefully. This opens a dialog with two input fields and a "Connect" button. - First select the IP address of your server station from the upper drop down list. Then press "Connect". After a few seconds you should get the message "Connected to the XvqServer" in the middle of the screen. - Now you can select the "XVQDeskArtes.dll" from the lover drop down list. This will start the graphical user interface for the Wireless CAD Viewer on your Pocket PC. It also commands the XVQ Server to start running the View Expert software on the workstation. The graphical user interface for WCV consist of graphical area for displaying the CAD model, two icon rows for different commands and two message lines, one for aiding command typing and one for returning model information from the workstation. 9.3 Client commands ------------------- The Wireless CAD Viewer has several commands to inspect the model and to open new models for inspection. The commands are used through simple icon based interface. Normally giving a command involves pressing an icon and then pressing the screen with the stylus to define the wanted action. The Commands in two rows: Fit ,Rotate,X-view,Z-view ,Point ,Distance,Zoom rect.,Still image Spin,Pan ,Y-view,3D-View,Radius,Angle ,Zoom in ,Zoom out ,File open Explanations: Fit: Press to fit the model in the middle of the screen. Rotate: Press and give two points on the screen to define the amount to rotate. Pan: Press and give two points on the screen to define the amount to pan. Spin: Press once to start spinning the model around z-axis. To stop the spin press again. To control the speed of the spin, press the graphical are and select the speed from a drop down list. X/Y/Z-view: Press to get projective view from the wanted direction. Second press give the opposite view. 3D-view: Press to get the previous 3D view. Point: Press and show the wanted point on the model. The system returns the 3D value of the selected point in the model, p:(x,y,z). Distance: Press and give two points on the model. Returns the distance between the two points, d: n.nnn Angle: Press and give three points to measure angle. Returns the angle between the two lines, a: n.n. Radius: Press and give three points to define the circle on the model. Returns the radius and center point for the circle, r: n.n c:(x,y,z). Zoom rect.: Press and give two points to define the window to zoom in. Zoom out: Press once to zoom out. Zoom in: Press once to zoom in. Still image: Press once to download a .jpg image from the View Expert screen. File open: Press once to open a File browser dialog. The dropdown list allows you to browse the directory tree and the lover list box allows you to select files in the currently selected directory. Press "OK" to accept the selection or "Cancel" to reject the selection. 9.4 Closing the client -------------------------- To close the WCV client: - First press the "ok" in the upper right corner of the Pocket PC screen. - Press "Disconnect" to break the XVQ client and XVQ connection. - Press "ok" in the upper right corner of the Pocket PC screen to close XVQ Client dialog. - Close the Phone/Internet connection between the Pocket PC and the service provider.