Git Product home page Git Product logo

fit-test-hacks's Introduction

fit-test-hacks

Quick scripts for use with PortaCount 8020A

Supported platforms

This has only been tested on Linux. Since I'm copy-pasting from a terminal running GNU screen, I'm getting a 0x0A not a 0x0D 0x0A sequence and it's built to parse that. That should be easy to fix if it becomes a problem on other platforms.

How to connect to the PortaCount 8020A serial terminal

Note on page 4 of the technical addendum[1], in bullet point 5, the DIP switch information about the baud rate settings. Most likely your PortaCount is still set to the factory setting of 1200 baud. You don't need to change that.

The GNU Screen program is very easy to use to connect to the PortaCount using the TSI data cable and a USB to Serial converter. Generally the device will appear on your computer as /dev/ttyUSB0 when you plug in the converter, but the number may end up being different for you.

This command using GNU Screen will create a bidirectional serial connection to the PortaCount. If you run the fit test using controls on the device, or run it in count mode, each fit test you run will be printed out.

screen /dev/ttyUSB0 1200

Serial Adapter Hardware that's known to work

fitconvert

This script converts the ASCII output of a fit test with a standard 12 exercise sequence, inputted either on stdin or as a file (first argument of the script) and pulls out the 12 fit factors for each exercise. It doesn't output the ambient and mask values, the overall fit factor, pass/fail status, or target fit factor for passing. It outputs as a tab-delimited single line of just the individual exercise fit factors. This is useful for if you're using a spreadsheet for tracking fit exercises and can compute overall fit factor and make your own decisions about what constitutes a pass.

The output to be parsed here is described in the technical addendum[1] page 7, under "Output in Fit Test Mode".

References

  1. PortaCount Plus Model 8020 Technical Addendum revised 7-27-2001

fit-test-hacks's People

Contributors

eastein avatar

Stargazers

Edderic Ugaddan avatar Simon Kalteis avatar Sam Herniman avatar Anthony Barker avatar Particle Counting Activism avatar

Watchers

 avatar Edderic Ugaddan avatar

fit-test-hacks's Issues

Add a web based timer / assistant for guiding through exercises

Go above and beyond the OSHA one - need to be at least as rigorous as https://www.osha.gov/laws-regs/regulations/standardnumber/1910/1910.134AppA

3M has a PDF version, but maybe I can just copy paste the rainbow passage from osha..

https://multimedia.3m.com/mws/media/1645577O/rainbow-passage.pdf

This copy from University of York cites the original(?) source
https://www.york.ac.uk/media/languageandlinguistics/documents/currentstudents/linguisticsresources/Standardised-reading.pdf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.