Jump to content

Contributions:FnirsiUSBLogger: Difference between revisions

From BCI2000 Wiki
Mellinger (talk | contribs)
Created page with " 1000 px |thumb| right | FNIRSI FNB58 USB Power Meter ==Synopsis== A logger that stores voltage, current, and temperature readings from an FNIRSI FNB58 USB Power Meter into BCI2000 states. The FNB58 hooks into a USB connection between host and any USB device for which to measure current draw and power consumption. ==Location== http://{{SERVERNAME}}/svn/trunk/src/contrib/Extensions/FnirsiUSBLogger ==Versioning== ===Authors=== mellinger@neurotechcent..."
 
Mellinger (talk | contribs)
No edit summary
Line 21: Line 21:


==Functional Description==
==Functional Description==
The FNB58 is an USB power meter and hooks into the USB connection between the host and a target USB device.
To the host, it appears as a HID USB device and can be read out without a dedicated driver, using the Windows HID library.
The logger reads out the data provided and stores them in BCI2000 event states.
==Parameters==
===LogFnirsiUSB===
This is the enabler parameter. Set it to 1 from the command line when starting the source module.
==States==
===FnirsiUSB_Voltage===
The USB bus voltage, in units of 1e-5 V.
===FnirsiUSB_Current===
The USB bus current, in units of 1e-5 A.
===FnirsiUSB_DataPlus, FnirsiUSB_DataMinus===
Voltages on the USB transmission lines, in units of 1e-3V.
===FnirsiUSB_Temperature===
Temperature as measured by the FNB58 device, in units of 0.1°C.




[[Category:Contributions]][[Category:Extension]]
[[Category:Contributions]][[Category:Extension]]

Revision as of 13:17, 3 February 2026

File:FNB58.png
FNIRSI FNB58 USB Power Meter

Synopsis

A logger that stores voltage, current, and temperature readings from an FNIRSI FNB58 USB Power Meter into BCI2000 states. The FNB58 hooks into a USB connection between host and any USB device for which to measure current draw and power consumption.

Location

http://www.bci2000.org/svn/trunk/src/contrib/Extensions/FnirsiUSBLogger

Versioning

Authors

mellinger@neurotechcenter.org

Version History

  • 2026/02/02: Initial public release

Source Code Revisions

  • Initial development: 9245
  • Known to compile under: 9247
  • Broken since: --

Functional Description

The FNB58 is an USB power meter and hooks into the USB connection between the host and a target USB device. To the host, it appears as a HID USB device and can be read out without a dedicated driver, using the Windows HID library.

The logger reads out the data provided and stores them in BCI2000 event states.

Parameters

LogFnirsiUSB

This is the enabler parameter. Set it to 1 from the command line when starting the source module.

States

FnirsiUSB_Voltage

The USB bus voltage, in units of 1e-5 V.

FnirsiUSB_Current

The USB bus current, in units of 1e-5 A.

FnirsiUSB_DataPlus, FnirsiUSB_DataMinus

Voltages on the USB transmission lines, in units of 1e-3V.

FnirsiUSB_Temperature

Temperature as measured by the FNB58 device, in units of 0.1°C.