Previous Next        Current Page: NeXtMidas Training / RMIF & Remoting / Remoting Lab / Instructions
back
Start Here   
Background   
Common Midas Concepts   
Getting Started - Part 1   
Getting Started - Part 2   
Working with Files   
Option Trees   
Macros - Part 1 (Basics)   
Macros - Part 2 (Graphics)   
NetBeans - Part 1 (Setup)   
NetBeans - Part 2 (GUIs)   
NetBeans - Part 3 (Profiler)   
Eclipse - Part 1 (Setup)   
Eclipse - Part 2 (GUIs)   
Primitives   
WebStart   
Maps & Imagery   
X-Midas Interoperability   
RMIF & Remoting   
   + RMIF Overview   
   + RMIF Lab   
   + Remoting Overview   
   - Remoting Lab   
      - Instructions   
      - Solution   
Installing NeXtMidas   
Support & Maintenance   
File Handlers   


  • update: This lab assumes access to our NMS server via http://nextmidas.com, which is not currently available.
  • Before You Start:
  • Lab 1 (Part A):
    • In this part you will review and run an X-Midas application before remoting modifications are made.
    • What you need to do:
      1. Download the initial X-Midas application remoteorig.txt and save it as in the mcr area of your TRAIN option tree.
      2. Review with the X-Midas macro instructor.
      3. Open an X-Midas shell, if the NXM option tree is not already on your X-Midas path, add it now...
        X-Midas> xmopt nxm $NMROOT/nxm/sys
        X-Midas> xmp nxm
      4. Set your home path to the mcr area of the train option tree.
        X-Midas> home $NMROOT/nxm/train/mcr
      5. Translate the X-Midas macro:
        X-Midas> mtrans %remoteorig
      6. Run it as follows:
        X-Midas> %remoteorig
  • Lab 1 (Part B):
    • In this part you will review the modifications to the X-Midas necessary to remote the macro in Part A with RMIF.
    • What you need to do:
      1. Download the modified "remoted" X-Midas server application (remoteserver.txt).
      2. Review the differences with the instructor
      3. In the X-Midas shell you used in part A, translate the macro and run it as follows:
        X-Midas> mtrans %remoteserver 
        X-Midas> %remoteserver
  • Lab 1 (Part C):
    • In this part you will review the NeXtMidas remote client macro then run it in conjunction with the X-Midas server macro in Part B.
    • What you need to do:
      1. Download the "remoted" NeXtMidas client application (remoteclient.mm).
      2. Review the NeXtMidas client with the instructor
      3. Run the X-Midas server macro as in Part B.
      4. In another terminal, start a NeXtMidas shell and run the client macro...
        nM> home mcr train
        nM> %remoteclient
      5. Click the OPEN button to open a connection to the server.
      6. Raster data should start to flow in the plot window.
      7. Move the mouse over the raster and watch the X-Midas server plot change.

back