How to use NEON to control DI/O?

Here is the list for our demo devices. Different devices might have different default settings. Please adjust the procedures based on your corresponding devices.

Easy

Devices List:

  • ADLINK NEON-2000-JT2
  • ADLINK DIN-37D-01
  • Tend TPTL4 LED
  • 24V Power Supply

whole

Step 1.

Connect the Neon with the din board through a connector. step1

Step 2.

Connect the LED’s negative wire in pin 4 for digital output (we take DO1 as an example). step2

Step 3.

Plug the 24V power supply’s negative wire in Din board’s pin 10 for grounding. step3

Step 4.

Connect the positive of power supply with the positive of LED. It shorts the two wires at pin20 which is reserved as terminal. step4

Step 5.

Use Neon to control the LED.

  • Use the command cd /usr/src/Neon/Sample/Neon_Setting to adjust Neon setting.
  • Use sudo ./NeonSet DO 1 1 to turn on the LED, use sudo ./NeonSet DO 1 0 to turn off the LED conversely.

Intermediate

Devices List:

  • ADLINK NEON-1000-MDX
  • ADLINK DIN-37D-01
  • High Bright Tech PC-24V24W-2-S
  • 5V Power Supply

Step 1.

Connect the light with the light controller at channel 1.

step1

Step 2.

Connect the light controller with din board at strobe channel 1. Plug the positive wire in pin 3 for device output, and plug the negative wire in the pin 10 for grounding.

step2-1&2 step2-3

Step 3.

Connect the Neon with the din board through a connector.

step3-1

Step 4.

Connect a trigger device on the din board. Insert the positive wire at pin 11 for trigger in, insert the negative wire at pin 10 for grounding. Here we used a 5V power supply for demonstration, you could connect your own device for your own purposes.

step4-1&2 step4-3

Step 5.

Adjust the default settings from Neon. Please enter the specific file path to adjust the settings. We modified the strobe-out polarity to set turning off the light as default, this step might be different due to your controller devices. Once the Neon reboots, the setting would be restored.

  • Use command sudo -i to get in root mode.

step5-1

  • Use the command cd /sys/class/neon_camctrl to change directory.

step5-2

  • Use cat command to check current status. To change the default setting of strobe-out polarity, use the command echo 1 >StrobeOutPolarity.

step5-3

Step 6.

To extend or narrow the device strobe out time, please follow the steps

  • Use the command cd /usr/src/Neon/Sample/Neon_Setting to change the current working directory.

step6-1

  • To adjust the strobe out time, use the command sudo ./NeonSet StrobeOutPulseWidth N. The parameter N is the time of the width, the unit is us(10^-6 second).

step6-2

  • For checking current infos of Neon, please change the directory with the command cd /usr/src/Neon/Sample/Neon_Information. Use sudo ./NeonInformation to get current status.

step6-3