usb

package
v0.0.0-...-c5b67ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package usb contains discovery routines to enumerate supported devices connected via USB.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enumerate

func Enumerate() map[string]string

Enumerate finds all connected devices and returns their list. The device number can be later used to open a device.

func Open

func Open(s string) (scope.Device, error)

Open opens a device using an index that was earlier returned from Enumerate() After the scope is no longer in use, the caller must call it's Close() method.

Types

This section is empty.

Directories

Path Synopsis
Package hantek6022be contains a driver for Hantek 6022BE, an inexpensive PC USB oscilloscope.
Package hantek6022be contains a driver for Hantek 6022BE, an inexpensive PC USB oscilloscope.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL