Posts Tagged ‘control device’

N-Button Automation Control Device with Conditional Rule

Thursday, July 16th, 2015

N-Button Lite/Pro supports condition feature, which allows you to control relays or other devices automatically according to the conditions meet or not meet. Here is the example for how to use condition feature.

Task: Turn on Relay 1 on a relay board,  only if Channel 1 AND Channel 2 on scan board are closed.

Step 1: Install N-Button Lite or Pro, and connect relay board and scan board with computer. (Get relay board and scan board from National Control Devices)

Step 2: Run N-Button, add the relay board and the scan board to Devices Manager.

image

Step 3: Add Scan Channel widgets and Relay Button widget to test the connection. Be sure the widgets will change when you control or change the boards.

image

Step 4: Click Conditions button to open Conditions Manager. Add two Simple Condition for Scan Channel 1 and Channel 2 separately. Set the Initial Status to Not Meet.

image

Step 5: Add a Compound Condition, which includes previous two Simple Conditions for both scan channels. Select Meet All means, Compound Condition status will be Meet only if both Simple Conditions’ status are Meet.(Both Initial Status are set Not Meet)

image

Step 6: Click Automation button to open Automation Manager. Add Contact Closure Rule for scan channel 1 and 2 separately.

image

On Contact Closure Rule panel, scan channel needs to be selected first, and the Condition Action also needs to be set when the scan channel status changes. Here, set rule1 for scan channel 1 and set rule2 for scan channel 2, once the channel is closed, the condition is set to Meet.

image

Step 7: Add a Conditional Rule on Automation Manager panel.

image

Here are the settings for Conditional Rule panel. The compound condition Both needs to be selected, and the actions when condition status Meet or Not Meet need to be set also.

image

After all above Automation settings, N-Button will control Relay 1 automatically according to the status of scan channel 1 and channel 2.

See also:

N-Button Automation Control Device with Key Fob

N-Button Automation Control Relay by A/D Input

Back to N-Button Pro homepage

N-Button Automation Control Device with Key Fob

Tuesday, July 14th, 2015

N-Button Lite/Pro has Automation feature, which allows you to control relays or other devices automatically according to selected rules.

N-Button Automation Rule Type

N-Button supports Key Fob of National Control Devices.  Every Key Fob should be paired with a KFX Receiver Module. The KFX Receiver Module must be plugged into the ZIGMO, which acts as an interface between your computer and the KFX Receiver.

Here is the example for how to control device with Key Fob Rule automatically, that is to send data when press down key fob button. You need know How to Use Key Fob Status widget first.

Task: Send Hex data ( 81 01 04 39 00 FF) to connected device when press down key fob button 1.

N-Button Auomation control device with Key Fob

Step 1: Install N-Button Lite or Pro, and connect your Key Fob and your Device with computer.

Step 2: Run N-Button, add the Key Fob and Device to Devices Manager.

N-Button Add devices

Step 3: Create a Key Fob Status widget for key fob button 1, and be sure the key fob button 1 works well when pressed down. (see How to Use Key Fob Status )

N-Button Add Key Fob Status

Step 4: Click Automation button, add Key Fob Rule.

N-Button Automation - Key Fob Rule

Step 5: On Key Fob Rule panel,  click Setting button to select Key Fob button/channel, select Action for when button is pressed, shown as below.

N-Button Automation - Key Fob Rule - Send Data

After all above steps, you have finished the Automation setting for Key Fob Rule. Now, press the button 1 on key fob, the Hex data 81 01 04 39 00 FF will be sent to MyDevice.

You can set the key fob buttons to do different actions supported by N-Button. That means you can execute all list actions just by pressing key fob buttons remotely.

N-Button Actions

 

See Also: N-Button Automation Control Relay by A/D Input

Back to N-Button Pro homepage

Create Customized Button to Send Data List

Wednesday, November 7th, 2012

N-Button Pro and N-Button Lite support Send Data List file(*.sds) for Customized Button. You can send a data list to your serial port/USB or network devices just by clicking the created button on your desktop. Here are the steps.

1. Download and install N-Button Pro/Lite.

2. Run N-Button Pro/Lite to open N-Button Pro/Lite Manager dialog. Click Setting button to select the device and the connection method, serial port/USB or network.

N-Button Pro Manager

3. Click Customized Button to open Properties – Customized Button dialog.

Create Customized Button

  • Set the button’s appearances and select Click, and click Setting button to open Click Action Setting dialog. Select “Send Data List” option, open the *.sds file. 

    Send Data List Option

    4. Click OK to return N-Button Manager dialog. The customized button is added to the manager.

    5. Click OK to finish adding button. The customized button will float on you desktop now.

    Send Data List Button

    The data list file (*.sds) can be created by Comm Operator.

    The data list file contains a group of data. When click the created button, each item will be sent to serial port or network connection in the default interval. The interval can be set in N-Button or in Comm Operator. It also can be set to wait to a absolute time in Comm Operator.  Here is an example of data list.

    Comm Operator Send Data List

    See also:

    How to Create Customized Button Widget

    One Button Timer – Turn ON/OFF relay in specific time with N-Button 

    How to Create 2-button Virtual Key Fob with N-Button

    Create Christmas application with N-Button

  • How to Create Customized Button Widget

    Wednesday, November 7th, 2012

    N-Button Pro and N-Button Lite make it possible to control your serial port/USB or network devices without any programming!

    You can send the specified data,  run applications, send http requests or send data lists.

    Here are the steps to create Customized Button widget.

    1. Download N-Button Pro or N-Button Lite and install it. Double click the N-Button Pro/Lite icon to run it. N-Button Pro/Lite Manager will be shown on your screen.

    N-Button Pro Manager

    2. Click Setting button to select the Manufactory of your device, and select connection method between your device and computer, Serial Port/USB or Network.

    Connection Setting

    3. Click Customized Button  on N-Button Pro/Lite Manager to open Properties – Customized Button dialog. Set the button’s appearances and action for click or press and release.

    Create Customized Button

    4. Click Setting button to open Click/Press/Release Action Setting dialog. Select one of the options to set the action for the Customized Button. It can be set to Send Specified Data, Run Application, send HTTP Request or Send Data List.

    Action Setting

    5. Click OK to return N-Button Manager dialog. The Customized Button is added to the manager panel. Click OK to finish adding button. The Customized Button will float on you desktop now. Click the button to send your specified data to your connected device.

    Customized Button Widget

    Note: The data list file (*.sds) can be created by our Comm Operator software. Here is an example.

    Comm Operator - Send Data List

    Back to N-Button Pro webpage

    How to Create Label Widget

    Wednesday, November 7th, 2012

    N-Button Pro and N-Button Lite make it possible to control your serial port/USB or network devices without any programming! You can create a widget to control your device with a few clicks in N-Button Pro/Lite. Label widget also can be created display the name, channel or function of your device and the control widgets.

    Here are the steps to create Label widget.

    1. Download N-Button Pro or N-Button Lite and install it. Double click the N-Button Pro/Lite icon to run it. N-Button Pro/Lite Manager will be shown on your screen.

    image

    2. Click “Label” button to show Properties – Label dialog to set appearance for Label widget.

    SNAGHTML15515e35

    3. Click OK button to return to N-Button Pro/Lite Manager. Click ”Label” to add more widgets with different settings. Click OK button on N-Button Pro/Lite Manager, you will see the Label widget floating on your desktop.

    image

    It’s easy to create your own device control panel with Label widget and all the other widgets created by N-Button Pro/Lite.

    Back to N-Button Pro webpage

    How to Create 2-button Virtual Key Fob with N-Button

    Friday, December 3rd, 2010

    It’s very simple and easy to create virtual key fob to control your external devices with N-Button.

    • Download and install N-Button 
    • Download N-Button Configuration File for Key Fob (*.nbc)
    • Run N-Button to open N-Button Manager dialog.
    • Click Load to import *.nbc file to add background and buttons automatically. Please select the right relay board, COM Port and Baud Rate. Get relay board from National Control Devices.
    • Click OK, the Key Fob will float on your desktop now.
    • You can create your own key fob with background and button images.

    Video: How to Create 2-button Virtual Key Fob

    Video: Control Relay Board with Virtual Key Fob

    Create Christmas application with N-Button

    Monday, November 29th, 2010

    Christmas is coming!

    N-Button makes it possible to create cool Christmas application without any programming!

    Step 1. Download N-Button

    Step 2. Download Configuration files for Christmas

    Step 3. Install N-Button and Load configuration file *.nbc on N-Button Manager dialog.

    Step 4. Christmas widgets will float on your desktop no.

    Step 5. To setup the application, you need a  ProXR relay board from NCD. The configuration files are made to work with ProXR board. However, it works with any relay boards from NCD. It can control up to 255 relays. It works with both RS232, USB, fiber optical and ZigBee/XBee interface.

    Just hook up the relay board with computer, install N-Button, load the configuration file and setup communication parameters. That’s it! You can control your Christmas light, music, bells from your desktop now!

    Screenshot 1

    N-Button Christmas application

    All bells, boxes and hangers are clickable and will trigger a relay!

    Screenshot 2

    N-Button Christmas application

    All balloons are clickable and will trigger a relay!

    Tips:

    • Use touch screen.
    • Use Ethernet board or ZigBee module  if the device are far away from computer.

    Create Virtual Key Fob with N-Button Lite

    Thursday, November 18th, 2010

    It is easy to create a virtual Key Fob on your desktop with N-Button Lite to control a relay on/off from computer.

    Virtual Key Fob

     

     

     

     

     

     

     

    Step 1. Download N-Button Lite

    Step 2. Install N-Button Lite and Open N-Button Lite Manager

    N-Button Lite Manager

    Step 3. Setup the Relay board type and serial port or network parameter correctly according the your hardware type. Get a Relay board from NCD.

    Step 4.  Add a Key fob image as background.  Here is the picture.

    Virtual Key Fob background

    Step 5. Click “Add Relay Button” to show the dialog Properties – Relay Button.

    Properties - Relay Button

    Step 6. Set Action to “Turn On” and select Relay ID you want to control. Set Style to “Image File” and Size to “Large 100%”. Select Image File for button. Here is the picture.

    Virtual Key Fob button

    It should include the status of normal and button pressed. The two parts need to be same size. Please refer “How to Prepare Button Images for N-Button” for how to make it.

    Step 7. Click “OK”  to return N-Button Lite Manager dialog.

    Step 8. Click “OK” to close N-Button Lite Manager dialog.

    The key fob image and button will show on top left of the screen. Drag the button to center of key fob and drag the key fob to the place you want. Right click on the background image to uncheck the “Move” and check “Move All”.

    That’s it! You have a virtual key fob on your desktop.

    You can download the configuration file  for key fob and load it directly in N-Button Lite Manager dialog.

    Download Virtual Key Fob Configuration File

    Video: How to Save and Load Configuration File for N-Button