Project

General

Profile

Feature #22585

Implement support for reading Wiener Crates via HTTP

Added by Dennis Nicklaus over 1 year ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
GPIB/TCP Driver
Target version:
Start date:
05/13/2019
Due date:
% Done:

0%

Estimated time:
Duration:

Description

The Wiener VME crates are ethernet connected and can be readout via http protocols to get assorted status, voltage, current, temperature, and fan speed readings.
This information currently gets into Acnet from code in CVS at optilogic/httpcratedev.c, running in a VME crate. We should port it to erlang and get it out of a VME crate.

History

#1 Updated by Dennis Nicklaus over 1 year ago

  • Status changed from New to Resolved

Implemented generically by adding an http option in the gpib-tcp driver (gpib_drv.erl), mostly introduced with gpib-tcp|b9e6b61f gpib-tcp|b8b94900 gpib-tcp|75531b87 and gpib-tcp|61b2a452 (with a few other minor fixes). This includes the "multi-pick" parsing option to use regexes to retrieve multiple values from one long response string needed for the Wiener crates.

Uses httpc, so that requires adding the inets application to the .rel files of the builds.

Wiener settings require passwords that I haven't worked out.

I have a grammar of the regexes to parse Wiener responses to supply the same readings supported from the Mooc C code.

Moving devices over from mooc to an erlang frontend is probably going to be more time consuming than this implementation was.

#2 Updated by Richard Neswold 4 months ago

So can this be changed to "Closed" or are we waiting for the transfer of MOOC devices to this driver?

#3 Updated by Dennis Nicklaus 4 months ago

  • Status changed from Resolved to Closed

This is implemented and working. Taking the time to fully move over all existing devices is another matter, probably falling under modernization.

Also available in: Atom PDF