Sensoray Driver



Most of the time I just want to compile an extra driver or three as modules to support some extra hardware with the TX2. Presented here are scripts which download the kernel source on to the Jetson TX2 itself, builds the kernel image and modules, and installs the modules and copies the kernel Image to the boot directory. Sensoray's model 826 is a versatile analog and digital I/O system on a PCI Express board. It has 48 digital I/Os with edge detection, sixteen 16-bit analog inputs, eight 16-bit analog outputs, six 32-bit counters, a watchdog timer with fail-safe controller, and a flexible signal router. Offering drivers for Windows or Linux, and live technical support, Sensoray is committed to helping ensure easy and rapid development. For more information, visit www.sensoray.com, or email info.

  • Simultaneous encode/decode/preview in a robust, compact unit
  • Low preview latency
  • H.264 HP@L3, MPEG-4 ASP, MJPEG video compression
  • AAC, G.711 audio compression, uncompressed PCM
  • Unicode text and graphic overlay
  • Closed caption/VBI support for H.264 streams
  • MP4 files can be edited in Adobe Premiere with A/V sync preserved
  • Transport Stream
  • Small Form Factor

Description

  1. How To Connect An XBOB-4 Overlay To A Sensoray Video Encoder; How To Test An XBOB-4 For Footage Pulses; How To Uninstall The Sensoray Driver; How To Install The Sensoray Driver.
  2. Trying a reinstall of the Sensoray SDK software and the 2250 AV Capture driver (in the Device Manager) does not help. The solution is one of two different things- Go to the Program Files/Sensoray/2250/API folder and copy ALL of the files - Go to the Program Files/Huntron Workstation folder and paste all of the copied files there - Restart the PC.

Model 2253 is a compact and robust USB-compatible audio/video codec that is powered from a single USB port. Its small size (1.5' x 2.75') and low power consumption (1.5 Watts) make it ideal for both portable and embedded applications.

Simplified 2253 block diagram

Multiple, independent video processors allow the unit to simultaneously produce two different video streams from its single composite input and send the streams out over USB. One of the streams can be a low-latency uncompressed stream (useful for real time previewing) and the other compressed, or both streams may be compressed. Image transformations (resolution, rotation, mirroring) are independently configurable for each stream, as well as compression type and bit rate in the case of compressed streams.

Pause and resume are supported for both stream capture and playback. Up to 1024 bytes of application-supplied data can be inserted in the H.264 or MPEG stream at regular frame intervals or single shot, and closed captions are supported for H.264 streams.

Stream Formats

Sbig usb devices driver download for windows. Video and audio are available as elementary streams or may be multiplexed in MP4 container format.

The 2253 supports transport streams by packaging elementary streams with error correction and stream synchronization to help maintain integrity when the signal is degraded. The transport stream uses AAC audio and H.264 for MPEG-4.

Digital I/O

One general purpose digital input and one output are provided. The output is optically isolated, while the input may be either optically isolated or galvanically coupled. The input is sampled every millisecond and, when a state change is detected, a notification is sent to the application program. The input can also be used to control the flow of any stream, without host involvement.

Audio Sync

Hardware-generated timestamps are employed to keep audio synchronized to the video, thus eliminating 'lip sync' problems. MP4 files can be edited in Adobe Premiere Pro with A/V sync preserved.

Real-Time Text Overlay

The overlay generators can position up to 160 characters of text anywhere in the video frame. A unique text string, consisting of mixed constant and variable text, may be defined for each overlay generator. Text variables are automatically updated every video frame. Supported variables include time, date, and frame count.

Graphics Overlay with Unicode Text

Sensory

Overlay images and high quality, styled unicode text (bold, italic, underline, outline and shadow) can be displayed on top of the composite video output, compressed streams, or preview stream (but not low latency preview stream).

Up to 256 full-color overlay regions are supported on the composite output, and up to eight monochrome-only regions are supported on compressed and preview streams (except low latency preview). BMP and PNG image formats are supported, with 24 or 32 bits per pixel and up to eight transparancy levels.

Example overlay captured from composite output
(up to 256 full-color overlay regions)

Example overlay captured from compressed stream
(up to eight transparency levels, monochrome only)

Please note that preview/compressed stream overlays (text or graphics) modify luminance only and consequently may be tinted by background colors. Also, unlike composite output overlays, these overlays are limited in number, size and complexity; see the above right image for an example what is possible.

Video Decoder

The 2253 can also perform as a decoder, converting a USB-supplied compressed audio/video stream into standard analog video and audio signals. (Note: Decoding is guaranteed only for streams captured with the 2253). The following formats are supported for decoding: MPEG-4, H.264, MP4 and MJPEG. The composite output video can be sourced from either the composite video input or a decoded compressed stream.

Low Latency Preview

Model 2253 supports a low latency preview mode for real-time applications. When capturing in native resolution (704x480 for NTSC or 704x576 for PAL) this mode reduces the overall latency by approximately one frame time. See the latency timing diagram for details.

Cables

A USB cable is supplied with model 2253. Video cables must be purchased separately.

Packaging Options

Sensoray Driver

Model 2253 is a small footprint, bare-board version for OEM applications.
It is CE compliant when used in an appropriate enclosure.

Model 2253S features a sturdy metal enclosure with video, audio, USB and GPIO connectors.

Model 2253P combines a 2253, a GPS receiver, and incremental encoder interfaces in a robust metal enclosure.

Sensory Driven

Easy Integration

The 2253 bare board is ideal for embedding with computers on modules (COMs) such as the Toradex Apalis. Watch this short video to see how easy it is to integrate the 2253 with a compact CPU:

Model 2253 with Toradex Apalis.

Specifications

Video
Input1 NTSC/PAL composite, 75 Ohm
Output1 NTSC/PAL composite, 75 Ohm
Preview format640x480@ 30 fps (NTSC); 720x576@25 fps (PAL); YUV4:2:2, GREY8, JPEG, RGB
Preview latencySee timing diagrams below
Audio
Inputs1 line stereo + 1 microphone mono
Software selectable (only one may be active)
Output1 line stereo
Overlay
Text OverlayUp to 160 characters for full resolution images
Video Output OverlayUp to 256 regions of BMP and PNG (with 24 or 32 bits/pixel), or unicode text.
16-bit color, 3-bit alpha channel
Video Capture OverlayUp to 8 monochrome regions of BMP and PNG (with 24 or 32 bits/pixel), or unicode text
Streams
Image transformation2 independent image transformers:
Resize to various resolutions
Rotate 90°/180°/270°
Mirror horizontally or vertically
Encoding formatVideo: H.264 HP@L3, MPEG-4 ASP, JPEG;
Audio: G.711, AAC
Output stream formatElementary audio/video, MPEG-4 program stream (.MP4), MJPEG AVI, Transport Stream
System
InterfaceUSB 2.0 High-speed
Digital I/Os1 input, galvanically coupled or optically isolated
1 output, optically isolated
Power consumption<1.5 W (300 mA @ 5 V) from USB port
Operating temperatureStandard version: 0 to 70 °C
Extended version: -40 to +85 °C
Dimensions2253: 2.755' x 1.5'
2253S: 5.14' x 3.28' x 1.14'
Driver

Preview Latency Timing

Sensoray Driver

Documentation

FileVersionTypeSize
Manuals
2253 Hardware Manual1.2.1PDF530 KB
2253 Linux Software Manual1.2.8PDF396 KB
2253 Windows Software Manual1.2.37PDF939 KB
Mechanical Drawings
Mechanical drawing, 22531.0.0PDF22 KB
Mechanical drawing, 2253 mounted on 2253TA1.0.0PDF97 KB
Mechanical drawing, 2253S1.0.0PDF518 KB
Other
Model 2253 tech support wiki
FAQs, examples and additional information
HTML
CE Compliance Report, 2253PDF2.04 MB

Downloads

FileVersionTypeSize
2253 Linux Software Development Kit1.2.15BZ25.35 MB
2253 Windows Software Development Kit
Compatible with Windows 7, Windows 8, Windows 10, Windows XP, and Windows Vista
1.2.38ZIP30.56 MB
Other Operating Systems
Need a software development kit for another operating system? We can port our SDK to your OS
for a NRE fee or, with a volume commitment, at no additional cost. Contact Sales for details.

Contents

New in ROS Diamondback

This package provides a ROS wrapper for the Sensoray Model 626 analog and digital I/O card drivers. This multifunctional board features analog to digital (ADC), digital to analog (DAC), and counters for motor encoders. For further technical specifications please visit the product website.

Driver Installation

This installation is generally untested, but works on my machine with 64-bit Ubuntu 10.04 machine and Diamondback.

First, check out the sensoray626 package from the repository.

Driver

Within the repository is a folder named s626-1.0.1, which contains the Sensoray's Linux SDK files (v1.0.1) that are also available on the product website. The README file in this folder has instructions for building and installing the kernel level driver for the 626. For simplicity (and because it seems that these drivers must be reinstalled every time the computer is restarted), I wrote a script to automate the build and install process. This script must be run as sudo.

One important thing to note is that this script disables comedi. The comedi driver does not support analog i/o functionality and conflicts with the manufacturer's driver.

Sensoray 2253 Driver

Now we can make the package, which should build the core&mod library as lib/libsensoray626.so and a demo program as bin/demo_cpp. Run the demo program to verify successful installation of the driver.

Sensory Diversity

Using Sensoray 626 in your node.

Add the following line to CMakeLists.txt in your package to link to the library in the sensoray626 package.

Sensoray 2250 Driver

External API Documentation

Sensory Divergence Meaning

Sensoray provides documentation for the API as part of their Windows SDK, or for convenience you can download just the document here.