Additional Nexus reference PDFs:

Nexus legacy documentation:

This information is for Vicon Nexus 2.10. For up-to-date help, see the latest Nexus documentation.

Vicon Nexus banner

To set up Python to work with Nexus:

  1. Click Start, point to All Programs and then start to type Python.
  2. Click the Python symbol.
  3. To automatically configure Python for scripting with Nexus, at the command prompt, enter the following:
    import ViconNexus
    vicon = ViconNexus.ViconNexus()


For information on how to access the help provided on the relevant Python commands, see Python commands for use with Nexus. For more information about how to use Python, see https://www.python.org/about/gettingstarted/.

Important
If you disconnect your Ethernet cable and disable wifi, when you enter a Python command, the following error may be displayed:
Host Application is not connected, unable to retrieve command list
This is because Python connects to Nexus over TCP/IP and if you are working entirely offline, Python and Nexus cannot connect.
To solve this issue, install the Microsoft Loopback Adapter. For instructions on how to do this, see Install the Microsoft loopback adapter.

Install the Microsoft loopback adapter

To install the Microsoft loopback adapter on Windows 10:

  1. Right-click the Windows Start menu icon and select Device Manager (or use your preferred method of opening the Device Manager).
  2. In the Device Manager, click on an item in the list of devices and then click the Action menu and select Add legacy hardware.



  3. In the Welcome screen, click Next.
  4. In the Add Hardware screen, select Install the hardware that I manually select from a list and then click Next.
  5. In the next screen, scroll down the Common hardware types list, select Network adapters and then click Next.



  6. From the Manufacturer list, select Microsoft, and then select Microsoft KM-TEST Loopback Adapter card model and click Next.



  7. In the next screen, click Next.
  8. Click Finish.