3. Coding Basics

Device Naming Conventions

 4.75 minutes

Learn about proper device naming conventions, as well as an introduction to Hungarian notation.

Watch video

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.

Watch video

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.

Watch video

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.

Watch video

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.

Watch video

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.

Watch video

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.

Watch video

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.

Watch video

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.

Watch video

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.

Watch video

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.

Watch video

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.

Watch video

DEFINE_MUTUALLY_EXCLUSIVE Section

 5 minutes

Learn how to write a mutually exclusive statement in NetLinx

and learn the meaning behind mutually exclusive.

Watch video

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.

Watch video

Relays & Channels Exercise Solution

 8 minutes

This video has the instructor review the previous exercise in great detail.

Watch video

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.

Watch video

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?

Watch video

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.

Watch video

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.

Watch video

Feedback Exercise Solution

 2.5 minutes

This video has the instructor review the previous exercise in great detail.

Watch video