configure BioEra for the X-wiz

This is an introductory description. The full description of Wiz devices can be found under the Manuals tab.

The X-wiz is a 2 channel device supporting HEG Modalities:

  • Toomim nIR HEG (supports 2ch operations, although only 1ch headbands are currently available)
  • Carmen pIR HEG system
  • pulse oximeters

It supports automatic calibration (“baselining”) of HEG signals.

The X-wiz is principally a USB-direct connect device, but can also connect wirelessly. It targets tablet solutions but can work equally well with PCs. The X-wiz does not have any buttons – functions on the X-wiz are controlled by the Application, whether that application be BioExplorer, BioEra, EEGer, or Wiz Central.

“Mode” refers to the characteristics of the channels used to transport the bio-signals from the Wiz to the Application. Mode defines the sampling rate and the number of channels. “Modality”, on the other hand,  refers to the different types of bio- signals supported, such as pIR, nIR, and oximetry. Different modalities place different demands on the channel supporting them, thus for example, HEG can be supported on a low sampling rate channel and EMG demands a high sampling rate channel. The Wiz provides different Modes to optimally support different Modalities on up to four slots available for sending bio-signals to the Application.

Since the Wiz remembers certain parameters including Mode, in the most common usage scenario of  single channel & single modality, operation reduces to

  • plugging in the headband,Xwiz_outline
  • turn on the Wiz, and
  • hit the play button on the Application.

The Wiz will auto-baseline to a value of 100. The objective of training is to increase this baseline value.

The Modes available are listed below. The Mode light on the Wiz will blink once for Mode 1, etc.

 

X-wiz Modes

<Mode 0> program mode – used to upload new firmware or interrogate firmware version number

<Mode 1> 2ch x 32sps – recommended for HEG with low-end tablets

<Mode 2> 2ch x 128sps – recommended for HEG generally

<Mode 3> 2ch x 512sps – grants higher bandwidth (and more noise) to the HEG signal

<Mode 4a> 4ch x 256sps – ch 3 & 4 used to transport the components of the Ch1 nIR HEG ratio value : the infrared component (Ch3) and the red component (ch4)

configurationSlot 1Slot 2Slot 3Slot 4Comment
Mode 1/2/3
nIR sensedNIR1NIR2
nIR & pIR sensedNIR1PIR1
pIR sensedPIR1Test Tone
pulse sensedPULS1Test Tone
pIR & pulse sensedPULS1PIR1
Mode 4a
headband sensedHEG1HEG2IR1RED1HEG (nIR or pulse) components (infrared, red) extracted

The lights on the Wiz can be used to confirm that commands sent from the Application have been received:

Indicator 
Transmit (blue)
On steadysending to Application via USB
On blinksending wirelessly
Off blinknot transmitting to Application (ie Program Mode)
4 blinksacknowledging command received for Application
No of blinkswireless channel number
Mode/Good (green)
OnnIR full signal strength, and/or pIR valid reading
OffnIR not full strength, or pIR reading out of range
No of blinksMode 0/1/2/3/4 = Program/32sps(2ch)/128sps(2ch)/512sps(2ch)/256sps(4ch)
Calibrate(blue)
Onwhen nIR, pIR or Oxi headband sensed
Offno headband sensed, all 2/4 channels used for EEG
Blinkwhen nIR/pIR/pulse baseline search for nominal value of 100 is under way

PN_Wiz PropertiesWiz_Command_BioEra_Design

 

  • Power – turn Wiz on & off
  • Link EEG References – not applicable, ignored
  • Freeze : EEG DC coupled – not applicable, ignored
  • HEG Baseline – initiate search for the HEG nominal value of 100
  • Mode
    • Program – Mode 0:  set this mode to update firmware or interrogate version number
    • 2ch HEG – Mode 1: set this mode for HEG signals to minimise the load on the PC processor
    • 2ch EEG – Mode 2: set this mode for HEG on PCs
    • 2ch ExG – Mode 3: set this mode for wide bandwidth, noisy HEG
    • 4ChEEG – – not applicable, ignored
    • EEG+Impedance – Mode 4a: ch 3 & ch 4 carry HEG1 constituent parts, Infrared & Red signals

 

 

 

  • Helper functions used occasionallyPN_Wiz_Properties
    • None – revert back to normal mode
    • Impedance Check – not applicable, ignored
    • Offset Check  – not applicable, ignored
    • Self-Test – initiates start-up self-test
    • SigGen – continuous HEG Test Tone
    • HEG Test Mode – initiates HEG Test Tone of 99.5 & 100.5 alternating every 1 second
    • No Electrode-off sense – not applicable, ignored
  • Radio channel [1-8]
    • USB Only – turn off wireless
    • 1…8 – turn on simultaneous USB and wireless, the latter allows monitoring of the eeg by a monitoring station
  • Buzzer – not applicable
  • TLC 4C Assess –  not applicable, ignored
  • Debug Command
    • Off
    • Q-wiz force HEG – allow HEG testing without HEG heabdands connected

 

PN_Wiz Advanced PropertiesPN_Wiz_Properties_Advanced

  • Firmware file path – Wiz firmware can up upgraded (see the “update” tab on PN home page
  • Firmware  – after selecting the firmware update file, initiate firmware update here (allow 45 seconds to execute)
  • Current rate – reflects current sampling rate in samples per second
  • Current range – reflects maximum value that can be measured (after DC bias is removed) in +_uVolts
  • Current Mode – reflects current Mode [0..4]
  • Command delay – ensures a nominal 35mSec separates multiple commands. Increase if some commands are being ignored on your machine (processor dependant)
  • Set rectangle size – vsry if you are having difficulty selecting sites on the Cap setup chart

 

 

Interfacing the PN_Wiz element to a USB port

To run a BioEra_For_Android design in Windows (or a BioEra_For_Windows design in Windows), the PN_wiz element gets connected to a “Serial Port” element. In that element you need to set the baud rate to 38400 and set the COM port to the port assigned by windows when the Wiz was first plugged in and a Windows driver installed (see here for details). If the driver was successfully installed you will see the COM port assignment in Windows Device Manager under COM ports. All other setting in the Serial Port element can be left as the defaults.

For a BioEra_For_Android design that will run on an Android device, the PN_Wiz element gets connected to a “FTDI serial port” element. In this element you need to set the VID & PID (USB vendor & product ID) to 0403 & E958 respectively, and set the baud rate to 38400.

This again makes the Android tablet solution relatively straight forward, since

  • in Windows, the User needs toadvise the design of the COM port assigned when the driver is installed
  • in Android, there is no driver and the information needed by the operating system (ie PID, VID & baud rate) is embedded in the design

Modifying or Creating your own designs in BioEra_For_Windows

This is only briefly discussed here since at initial installation, modifying designs is not a priority.

In BioEra_For_Windows, initiate a new “Android Design”. BioEra will then provide to the designer only that subset of elements that are applicable to Android. The design can generally be tested on the host Windows machine or the target Android machine, however note the discussion above about using either the Serial Port element or the FTDI serial port” element to interface to the USB port depending whether the design is running on Windows or Android respectively.

To test on the target Android device, the designer must advise BioEra_For_Windows the IP address of the Android target device. Knowing this, BioEra_For_Windows can download the test design to BioEra_For_Android over the LAN or internet.

To find the IP address of the Android machine, either use the function provided in BioEra_For_Android, namely Overflow Button (upper right corner) | Other Options |Show Device Info, which will display “Android Host: 192.168.1.23” or similar, or go into the Android Settings | WiFi | [currently active wLAN], and it too will display the IP address.

Enter the IP address of the target Android device into BioEra_For_Windows | Android | Connection settings. The “Android Device Port” field does not need to be changed.

Checking the validity of bio-signals

There are a few things in the Wiz to enable you to check it’s health.

  • HEG

In relation to HEG, the Helper Test Tone function puts out a test tone of approximately 99.5 and 100.5, alternating every second. This is not as complete a test as the Helper Test for EEG, but does check most of the HEG circuitry.

In relation nIR HEG, the Helper Test also tests the signal sent to the nIR headband. In normal use, the Red and Infrared lights on the headband are switched rapidly making it impossible to see whether the infrared light (being largely outside the visible spectrum, and so very dim) is lighting or not. With the Test Helper, the signals sent to the headband are a slow flash of the Red and Infrared light so that it becomes possible to perceive that the infrared light is illuminating. If either light is not working, then a return-to-factory repair is required.