Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install USB driver base on device model's driver 
  2. Verify the COM port is available when USB is connected with the Maya Device with Maya's ERC apps running

  3. Unzip MayaWINX.zip downloaded from https://nextcloud.ehors.com:9880/s/JWdQ85k5QKqTbBP
    Windows, directly under C: driver or system drive


  4. Under folder C:\MayaWINX, use "start_server.bat" and can create a shortcut and assign to Taskbar or Start Menu (Righ click on the file "start_server.bat")

    Then the shortcut can be rename and move to Desktop or pin to start or taskbar

  5. Create another copy of the file and assign to the start menu

    For Windows:

    1. Create a Shortcut of the Batch File:

      • Navigate to C:\MayaWINX\.
      • Right-click on the start_server.bat file.
      • Select "Create shortcut."
    2. Move the Shortcut to the Startup Folder:

      • Press Win + R, type shell:startup, and press Enter. This will open the Windows Startup folder.
      • Move the shortcut you created in Step 1 into this folder.
    3. Test the Setup:

      • Restart your computer to ensure that the batch file runs automatically upon boot.

    This method ensures that the batch file will run when the user logs in.

    For Linux:

    On Linux, you can create a systemd service that will run your batch file (start_server.bat or start_server.sh) when the system boots up.

    1. Create a Systemd Service:

      • Open a terminal and create a new service file using a text editor:

        sudo nano /etc/systemd/system/start_server.service

    2. Add the Following Configuration: Replace /root/MayaWINX/start_server.batsh with the path to your batch file.

      [Unit]
      Description=Start Server Script

      [Service]
      ExecStart=/root/MayaWINX/start_server.batsh
      Restart=always

      [Install]
      WantedBy=multi-user.target
    3. Reload the Systemd Daemon:

      sudo systemctl daemon-reload

    4. Enable the Service: This command will enable the service to run on boot:

      sudo systemctl enable start_server.service

    5. Start the Service Immediately (Optional): If you want to start the service right away, run:

      sudo systemctl start start_server.service


    These steps will ensure that your batch file runs on system boot for both Windows and Linux. Let me know if you need more customization or help with specific errors.

  6. Double click on the short cut or the direct file "start_server.bat" and it should have a tray icon


  7. You may also right click on the try icon to exit if any problem

...