Technical

Tips, Tricks and Technical Information

Running Net-X-Code (no server)

dt logo 1.5inchNet-X-Code is normally run on a server, where the parts of Net-X-Code run automatically as services. For some applications, only part of Net-X-Code needs to be run, or it only needs to be run some of the time. This article explains how to set up Net-X-Code server on Windows so that its parts can be run manually.

 

Net-X-Code Setup

If you are setting up to only use part of the Net-X-Code system, you do not need to install the UwAmp/Apache/PHP/mySQL portions (unless you would like to). You can just install the Net-X-Code installer, and use its built in server at port 1080 when you run it. This means some features, like listing MP4 files on disk, will not work, but most of the major features will.

Once Net-X-Code is installed, you will want to stop the services from running automatically.  In the Control Panel, bring up the Services window:

WindowsServicesPanel

The two startup services for Net-X-Code are Net-X-Base and Net-X-Cmd.  Right click on each, and select the Properties menu item.  This will bring up the Properties dialog, where you can change the Startup Type from Automatic to Manual.  Do this for both services.

ServiceToManual

This will stop Net-X-Base, Net-X-Cmd, Net-X-SDI and other services from automatically running on your machine at startup. 

Service Config and Privileges

When running Net-X-Cmd/Net-X-Base as a service, there are two scenarios:

1. Run as a service with 'Allow Interaction with Desktop' enabled (the default)

2. Run as a specific user, to allow for that user's configuration and access rights (recommended)

If you are running as a user, that user must have administration rights on the local server.  To set up a user, go to the Service's app and right click on Net-X-Cmd (and later Net-X-Base) and select Properties.  Click on the Log On tab, and enter your user's name and password here.

NetXCmd Service User

If your Net-X-Code is running as a service, without specifying a user, then the configuration in Windows will be kept under HKEY_LOCAL_MACHINE in the registry, as opposed to HKEY_CURRENT_USER. If you have specific setups, like server grouping, the settings need to be moved from current user to local machine before running.

Running From Desktop

If you are running manually, you will want to see the graphical user interface as well (this is normally hidden when running as a service). To enable it, run RegEdit.exe from the Run box or command prompt.  Follow the tree on the left to:

Computer\HKEY_CURRENT_USER\Software\Drastic\NetXCmd

Computer\HKEY_CURRENT_USER\Software\Drastic\NetXBase

Computer\HKEY_CURRENT_USER\Software\Drastic\NetXSdi

In each add or modify the "forcegui" string (REG_SZ) to "1".  This will cause the GUIs to show, making it easier to start and stop them.

Using Net-X-Code

Without the startup, you will need to run the components from the startup menu or from the install directory. To get the system running, you need to run Net-X-Base and Net-X-Cmd, in that order:

NetXBase.exe - Net-X-Code Master Control

NetXCmd.exe - Net-X-Code Daemon

The Net-X-Cmd will automatically run Net-X-SDI for you.  Once these three programs are up, you can point a browser at

http://127.0.0.1:1080

and you will get the standard web interface up.

More great products from Drastic

Supported Raw Camera Formats
Supported Raw Camera Formats Drastic software and hardware products support a wide variety of camera raw devices, from standard files like DNG/cDNG, through esoteric files like fhgDI, to ne... Tips, Tricks and Technical Information
Color Space and HDR/HLG in 4KScope
Color Space and HDR/HLG in 4KScope 4KScope, HDRScope, and 2110Scope support 8, 10, and 12 bit color in both YCbCr 4:2:2 and RGB 4:4:4 modes. Correct measurement of signals require the correct set... Tips, Tricks and Technical Information
videoQC Viewing Modes
videoQC Viewing Modes Compare two files with visual viewing and comparison modes in videoQC.  Seamless split, dissolve, 3D modes and more.    videoQC viewing mode... Tips, Tricks and Technical Information
Running Net-X-Code In The Cloud (AWS/GCS/VM)
Running Net-X-Code In The Cloud (AWS/GCS/VM) Net-X-Code can be run on local servers, local VMs or cloud based VMs.  The VMs can be using RedHat/Centos, Windows, Windows Server, or even Docker.  F... Tips, Tricks and Technical Information
How To Report Issues To Drastic
How To Report Issues To Drastic We are always happy to receive product ideas, new file/codec format information and bug/issue reports.  To make these reports as effective as possible, ple... Tips, Tricks and Technical Information
Image

For more than two decades, Drasticâ„¢ has been developing cutting edge solutions for television, post production and sports broadcasting, from real time web delivery to 8K broadcast.

We offer standalone software for the end user or enterprise, integrated solutions for automated workflows, and OEM tools for custom applications or branded devices.

Contact Us

Address:
523 The Queensway, Suite 201
Toronto, ON
M8Y 1J7, Canada

Phone: +1 (416) 255 5636

Email: info@drastictech.com

Fax: + 1 (416) 255 8780