Test and Measurement Forum

TC-08 NodeJS IP Sockets

Post general discussions on using our drivers to write your own software here

TC-08 NodeJS IP Sockets

Postby deskomat » Tue Mar 10, 2015 11:07 am

I've written a quick and dirty Javascript program to capture values broadcast by Picolog (using the IP Sockets function) and display them on the console (in Windows).

Using NodeJS it is then possible to insert these values into a database or whatever else you wish to do with them (I've not got that far but will be exploring this soon).

I've written a brief blog post about it here:
http://deskomat.tumblr.com/post/113245583431/connecting-picolog-with-nodejs

And hopefully the script is attached below. You'll need to edit the script to connect to the IP address of the PC running picolog (line 3)
Attachments
pico3.txt
NodeJS script to interface with Picolog using IP sockets
(1.23 KiB) Downloaded 87 times
deskomat
Newbie
 
Posts: 0
Joined: Tue Mar 10, 2015 10:48 am

Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests