Implement support for reading Wiener Crates via HTTP
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.
#1 Updated by Dennis Nicklaus 9 days 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.