Skip to content

Single "header" js library for Rigol DS1000Z series made with NodeJS

Notifications You must be signed in to change notification settings

alessandromrc/Rigol-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rigol-JS

Single File Library for Rigol DS1000Z series made with Javascript running on NodeJS

Example code:

const { RigolConnector } = require("./rigol_features/rigol"); // include library

// Oscilloscope Infos
const instrument_ip = "192.168.178.98"; // oscillosope ip Address
const instrument_port = 5555; // oscilloscope port

async function Main() {
  const Rigol = new RigolConnector(instrument_ip, instrument_port); // connect to the oscilloscope
  console.log("System Language: " + (await Rigol.system.getLanguage())); // get oscilloscope language
  setTimeout(() => { process.exit(0); }, 1000); // wait 1000 ms then exit the program
}

Main() // execute the main function

Authors

About

Single "header" js library for Rigol DS1000Z series made with NodeJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published