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.


 

Trademarks, Registered Trademarks, and Copyrights

 

Trademarks, Registered Trademarks, and Copyrights

Drastic Technologies, Ltd. – trademarks specified here.
Microsoft Corporation – Microsoft: Windows®, Video For Windows (VFW), DirectShow, Microsoft, Skype, Microsoft Azure, Microsoft Teams, Wave Mapper, Microsoft, Windows NT|2000|XP|XP Professional|Server 2003|Server 2008 |Server 2012, Windows 7, Windows 8, Media Player, Media Encoder, Windows Defender, Microsoft Office, .Net, Internet Explorer, SQL Server 2005|2008|2012|2014, Windows Media Technologies and Internet Explorer are trademarks of Microsoft Corporation.
The Apache Software Foundation (ASF) - Apache is a registered trademark of The Apache Software Foundation
All other trademarks are the property of their respective owners.

 

Image

For more than two decades, Drastic™ has been developing cutting edge digital video 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: sales@drastictech.com

Fax: + 1 (416) 255 8780

Follow us on Social Media