This is the final post in this series, and we’re going to add some finishing touches to the user interface. One thing that’s been bothering me is that our system instantly turns on and off. This doesn’t work in the real world: equipment takes a moment to turn on and off. Even if we don’t match the exact status of the equipment (it’s all faked in our program anyway), it’s good to have a minimal startup and shutdown time to prevent the user from getting things into an unknown state.
Continue reading “NetLinx: A Real Program”Category: programming
NetLinx: Modules
Using and writing modules has some tangible benefits:
- They are reusable code that we can polish over time
- They break up large programs into smaller, testable units
- They abstract away details we don’t need to worry about
Grab the code for this post from the GitHub repo.
Continue reading “NetLinx: Modules”NetLinx: SNAPI
In this post, we’ll explore the Standard NetLinx API–or SNAPI, for short. This is one of those topics I didn’t fully embrace when I started programming AMX, but over time, I grew to appreciate the benefits of adhering to a standard.
I’ve updated the touchpanel layout in this post, so if you want to grab the latest code, it’s available on GitHub.
Continue reading “NetLinx: SNAPI”NetLinx: Testing
This post will cover how we can use NetLinx Studio to test our program, especially in the absence of real equipment.
Continue reading “NetLinx: Testing”NetLinx: Your First Program
In the last post, we got started by making sure our tools worked and blinked some lights. In this post, we’ll dive deeper into how the NetLinx language works and write a legitimate program.
Continue reading “NetLinx: Your First Program”NetLinx: Getting Started
I want to write a few posts about programming AMX NetLinx controllers. While I started my career programming AMX systems, I’m lucky now if I see 1 or 2 in a year. Strangely, every time I’ve started with (or returned to) a company, I’ve been handed a NetLinx system to figure out. It’s sort of a welcoming return to AV because programming in the NetLinx language is well-suited to automation tasks and something about it brings me joy.
Continue reading “NetLinx: Getting Started”Setting Up the AV Programmer for Success
Nice post on rAVe Pubs from my old colleague and friend, Murphy Daley.
www.ravepubs.com/setting-up-av-programmer-success/
Thank you, Murphy!
CWS: Part 4
This post is going to be the last one covering CWS (for now). We’ve created an API that lets us view the current system settings, now we just need a way to update them. In this part, I’ll go over how to take in and apply new settings.
Continue reading “CWS: Part 4”CWS: Part 3
In this part, we’ll build out a system configuration page that uses CWS to make changing system settings easier.
Continue reading “CWS: Part 3”CWS: Part 2
In this part, I’m going to look at adding route handlers to our CWS server. I’ll continue adding to the program we wrote in CWS: Part 1, so grab those files from GitHub if you’d like to follow along.
Continue reading “CWS: Part 2”