View Main Course Content
View Main Course Content
3. Coding Basics
Device Naming Conventions
4.75 minutes
Learn about proper device naming conventions, as well as an introduction to Hungarian notation.
DPS Device Number
7.25 minutes
Part 1 of 3; DPS is the foundation of addressing various devices in your NetLinx project. This tutorial focuses on the "D", or Device.
DPS Port Number
5 minutes
Part 2 of 3; DPS is the foundation of addressing various devices in your NetLinx project. This tutorial focuses on the "P", or Port.
DPS System Number
4 minutes
Part 3 of 3; DPS is the foundation of addressing various devices in your NetLinx project. This tutorial focuses on the "S", or System.
Style Guide Overview
3 minutes
The style guide is a reference document on how you should format your code. This video will show you where to find our style guide and why you should follow it.
DEFINE_DEVICE Section
3.5 minutes
This is the first step in writing code in NetLinx Studio. Learn about the "Define_Device" section, proper code writing, and compiling.
Commenting Your Code
2.25 minutes
This tutorial will teach you how to insert comments into your code as well as why we use them. Review both single-line comments, as well as commenting out entire blocks of code.
DEFINE_EVENT Section
2.25 minutes
Learn about the "Define_Event" section of your code template, and understand how the event handler works in our control systems.
BUTTON _EVENTS
3.5 minutes
Creating your first button event! Learn how to write the code necessary to "do something", when a button is pressed on your touch panel.
DEFINE_CONSTANT Section
2 minutes
The process of making your code more reader-friendly. The "define constant" section allows you to use friendly names in place of numbers in your code.
Programming a Touch Panel
5.75 minutes
This video will teach you how to create the links in your touch panel file in order to trigger the events in your code.
Relays and Channels Implementation
6.5 minutes
In this video, you will learn how to build the code necessary to control relays from your touch panel buttons.
DEFINE_MUTUALLY_EXCLUSIVE Section
5 minutes
Learn how to write a mutually exclusive statement in NetLinx
and learn the meaning behind mutually exclusive.
Relays & Channels Exercise
2 minutes
This is your very first exercise to practice what you've learned so far. This exercise will have you building your own button events to control various relays and channels.
Relays & Channels Exercise Solution
8 minutes
This video has the instructor review the previous exercise in great detail.
Loading NetLinx Code to an AMX Controller
3.75 minutes
It's time to load your code into the hardware. Learn about mapping files as well as the file transfer dialog box.
Feedback Overview
5 minutes
This tutorial provides an overview of using feedback in your code. What is feedback? Why is it necessary? And, what are the different types of feedback?
Feedback Implementation
8.25 minutes
Step-by-step tutorial of writing feedback statements in your code. Learn two different methods including channel events, as well as single line feedback in the define program section of your code template.
Feedback Exercise
1 minutes
This exercise focuses on feedback. You are given a set of instructions and you're challenged to work on your own in order to complete this exercise.
Feedback Exercise Solution
2.5 minutes
This video has the instructor review the previous exercise in great detail.