• update: This lab assumes access to our NMS server via http://nextmidas.com, which is not currently available.
  • Before You Start:
    • Before you start you need to install NeXtMidas as an option tree for X-Midas (NeXtOpt).
    • Please see the NeXtOpt Setup page in the X-Midas Interoperability module for details.
  • 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.