Skip to content

honeymelon3/node-epics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Information

EPICS Channel Access in node.js.

Installation

npm install epics

Ensure either EPICS_BASE and EPICS_HOST_ARCH are set or

export NODE_EPICS_LIBCA=/path/to/libca

Usage

var epics = require('epics');

var pv = new epics.Channel('SR11BCM01:CURRENT_MONITOR');
pv.on('value', function(data) {
  console.log('Current:', data);
});
pv.connect(function() {
  pv.monitor();
});

Tests

Tests can be run against an included IOC written in python and using the pcaspy package.

To run the tests, install pcaspy and then run:

npm test

About

EPICS Channel Access for node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.9%
  • Python 9.1%