Methods
(inner) getReport(device, callback)
get pv report from serial port.
Parameters:
| Name | Type | Description |
|---|---|---|
device |
String | path to device. |
callback |
pvReportCallback |
(inner) parseCSV(csv)
Parameters:
| Name | Type | Description |
|---|---|---|
csv |
String |
(inner) reportInterval(device, interval, listener)
Get pv report every x miliseconds. only reports when sun is up.
Parameters:
| Name | Type | Description |
|---|---|---|
device |
String | serial port path. |
interval |
Int | time between intervals in ms. |
listener |
pvReportCallback |