Skip to content

RobbieClarken/node-epics

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 

⚠️ Warning: Unmaintained ⚠️

This project is no longer maintained and may not work with recent versions of nodejs or EPICS. Consider using https://github.com/onichandame/epics-ioc-connection instead.

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