Skip to content

imayobrown/node-nisa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-nisa

nisa is a working prototype for using VISA library in node.js. This is a wrapper for visa32.dll (in your system32 folder).

Currently code has been tested on Windows 8.1 (64bit), Keysight IO Library (17.1), node.js

You must have Keysight or National Instruments VISA drivers installed. You need to have compatible interface and and instrument that talks over GPIB. For simple testing you can skip the hardware part as VISA can talk over COM ports, too.

> npm install node-nisa

var visa = require('nisa');

visa.query("GPIB0::12::INSTR", "*IDN?", function(err, result) {
 // do something
}

Known limitations and bugs

According to @samofab, current implementation includes some memory leaks.

Acknowledgements

A lot of the code was inspired by (or blatantly copied) from:

Renewed interest was inspired by 7M4MON and forking his ffi implementation (still a viable approach):

About

A fork of @samofab's working prototype for VISA instruments interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 88.2%
  • JavaScript 7.3%
  • Python 4.5%