Created
February 26, 2026 18:53
-
-
Save Roman-Port/191385b4b20ee68ada7f7b9f0de5b8ae to your computer and use it in GitHub Desktop.
Tripping Optos with NexGen Generic UDP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Tripping Optos with NexGen Generic UDP | |
| The following will allow you to use simple UDP commands to trigger optos into NexGen. | |
| First, add a "generic UDP" board to the CPU in the NexGen config window. Assign a port and a network adapter index. Then, create an input opto with the "generic UDP" type. Restart NexGen. | |
| To determine which network address it's listening on, use ``netstat -a -o -n -b`` from an elevated command prompt window. Search for the port you assigned running under Coyote and verify it's the address you want. Increment the network adapters until it's the desired address. | |
| Then, using a UDP client, send ``OPT:<opto index, starting at 1>`` to it. For example, to trip opto 1, send ``OPT:1``. If this doesn't work, try adding a null character to the end (it doesn't seem to clear out buffers). | |
| There appear to be other command headers, ``TMP:``, ``LSZ:``, ``NSZ:``, ``OFF:``, and ``SBL:`` though I'm not sure what they do. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment