sensbiotk.driver package

« sensbiotk.calib package | sensbiotk.driver package | sensbiotk.io package »

sensbiotk.driver package

Submodules

sensbiotk.driver.fox_dongle module

Fox dongle management module

class sensbiotk.driver.fox_dongle.FoxDongle[source]

Class to manage Fox dongle data sensor reception

Methods

close_dongle()[source]

Close the serial link of the Fox pedometer dongle

init_dongle(funcname=None)[source]

Search a Fox sink dongle on serial link

is_running()[source]

Say if the Fox pedometer dongle ‘read process’ is running

line()[source]

Return the sinknode line value (string)

read()[source]

Read the last stored data

read_all()[source]

Read one data stored

store()[source]

Fox sink read callback to store data

unstack_read()[source]

Reads one data stored and erases it

sensbiotk.driver.fox_dongle.test1()[source]

Example of use of the Fox Sink dongle

sensbiotk.driver.fox_dongle.test2()[source]

Example of use of the Fox Sink dongle

sensbiotk.driver.fox_dongle.test_acq_callback(obj)[source]

Fake function to test callback

sensbiotk.driver.fox_live module

sensbiotk.driver.fox_live.close(fdongle)[source]
sensbiotk.driver.fox_live.fplot(fdongle)[source]
sensbiotk.driver.fox_live.live()[source]

Example of use of the Fox Sink dongle

sensbiotk.driver.fox_live.test_acq_callback(obj)[source]

Fake function to test callback

sensbiotk.driver.fox_live.update(index, fdongle, aaxes, maxes, gaxes)[source]

sensbiotk.driver.fox_sink module

class sensbiotk.driver.fox_sink.FoxSink[source]

Class to manage sink node data reading

Methods

analyse()[source]

Set criteria values by analysing sink node message

connect_serial()[source]

Search the right USB serial line if line found self.ser and self.line are set and the connection is established

fox_close()[source]

Reset the Fox

fox_init()[source]

Init the Fox

fox_run()[source]

Run the data measure on Fox

read_serial()[source]

Loop reading the rs232/usb line sink node put the message in self.line and update sensor data values

set_callback(funcname=None)[source]

Set function callback to be called during reading

start_read()[source]

Launch a thread for read_usb

stop_read()[source]

Stop the reading thread

sensbiotk.driver.fox_sink.test3()[source]

Read directly the sink node without GUI launching a thread stop with ctl-C

sensbiotk.driver.plt module

Module contents