flow-analyzer-com-communicator 3.0.2
Install from the command line:
Learn more about npm packages
$ npm install @eove/flow-analyzer-com-communicator@3.0.2
Install via package.json:
"@eove/flow-analyzer-com-communicator": "3.0.2"
About this version
This lib exposes a Communicator
to communicate with imtmedical gaz flow analyzers such as pf300 & citrex devices through serial port.
- PF300
- Citrex H4
npm install
import { createCommunicator } from '@eove/flow-analyzer-com';
const communicator = createCommunicator();
communicator
.open('/dev/ttyUSB0')
.then(() =>
communicator
.sendCommand({
type: 'READ_MEASUREMENT',
payload: { name: 'o2' }
})
)
.then(console.log)
.catch(console.error);
});
Check the API details
Details
- flow-analyzer-com-communicator
-
eove
- over 1 year ago
- MIT
- 23 dependencies
Assets
- flow-analyzer-com-communicator-3.0.2.tgz
Download activity
- Total downloads 1,745
- Last 30 days 0
- Last week 0
- Today 0