Gill Instruments WindSonic Sensor
- .NET Runtime 8 muss auf dem System installiert sein.
/*
* USR CONFIGURATION
*
* GILL Wind Sensor
* Connector A: Green and Pink Cable
* Connector B: Yellow and Violet Cable
*
* BaudRate: 9600
* DataSize: 8bit
* Parity: None
* StopBits: 1
* Local Port Number: 8005
* Work Mode: TCP Server
* Reset: false
* Link: true
* Index: false
* Similar: RFC2217: true
*/
- Öffne die Datei appsettings.json.
- Trage die IP-Adresse und den Port des RS485-Moduls des Windsensors ein:
"WindSensor": {
"Rs485Module": {
"IpAddress": "10.15.0.36",
"Port": 8005
}
}Starte die Anwendung mit:
Portalum.WindSensor.Webserver.exe
Nach dem Start können die aktuellen Windsensordaten über folgende URL abgerufen werden:
http://localhost:8023/cgi-bin/CGI_GetMeasurement.cgi?input_id=1
- .NET Runtime 8 must be installed on the system.
/*
* USR CONFIGURATION
*
* GILL Wind Sensor
* Connector A: Green and Pink Cable
* Connector B: Yellow and Violet Cable
*
* BaudRate: 9600
* DataSize: 8bit
* Parity: None
* StopBits: 1
* Local Port Number: 8005
* Work Mode: TCP Server
* Reset: false
* Link: true
* Index: false
* Similar: RFC2217: true
*/
- Open the appsettings.json file.
- Insert the IP address and port of the RS485 module:
"WindSensor": {
"Rs485Module": {
"IpAddress": "10.15.0.36",
"Port": 8005
}
}Start the application using:
Portalum.WindSensor.Webserver.exe
After starting the application, the current wind sensor data can be retrieved using:
http://localhost:8023/cgi-bin/CGI_GetMeasurement.cgi?input_id=1
sc.exe create WindService binpath=C:\Portalum\Portalum.WindSensor.Webserver.exe