Dev:NIDEK AR-1s and ARK-1s

From Kordeus Wiki
Revision as of 15:22, 21 February 2023 by Stefanseiler (talk | contribs) (Created page with "=== Create and share the pickup folder === ==== Make sure sharing is on ==== Start -> Systemsteuerung -> Netzwerk und Internet -> Netzwerk- und Freigabecenter -> Erweiterte Freigabeeinstellungen ⚠️'''Add image: Sharing.jpg''' ==== Create folder structure ==== Create a folder for this device, e.g. C:\DeviceData\ARK-1s In it, create archive folder: <nowiki>*</nowiki> Archive -> This will be the archive folder in the DeviceDataUploader applicationsettings.json C:\D...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Create and share the pickup folder

Make sure sharing is on

Start -> Systemsteuerung -> Netzwerk und Internet -> Netzwerk- und Freigabecenter -> Erweiterte Freigabeeinstellungen

⚠️Add image: Sharing.jpg

Create folder structure

Create a folder for this device, e.g. C:\DeviceData\ARK-1s

In it, create archive folder:

* Archive -> This will be the archive folder in the DeviceDataUploader applicationsettings.json C:\DeviceData\ARK-1s\Archive

* pickup folder will be added by the device -> This will be the pickup folder in the DeviceDataUploader applicationsettings.json C:\DeviceData\ARK-1s\RKT\TXT

Share pickup folder

Right click C:\DeviceData\ARK-1s -> Freigabe tab -> Click Freigabe -> Type Jeder -> Click Hinzufügen -> change rights to Lesen/Schreiben

⚠️Add image: Share pickup folder 1.jpg

⚠️Add image: Share pickup folder 2.jpg

Find your IP and computer name and note down for device settings

Start -> Systemsteuerung ->Netzwerk und Internet -> Netzwerk- und Freigabecenter -> Click on active connection

⚠️Add image: Collect data 1.jpg

⚠️Add image: Collect data 2.jpg

This is your IP:

⚠️Add image: Collect data 3.jpg

Start -> Dieser PC -> right click -> Eigenschaften

This is your computer name

⚠️Add image: Collect data 4.jpg

Setup device data upload

Follow Install / update DeviceDataUploader service instructions to set up the service which will send the device data to Kordeus.

Settings for this device, which need to be added to the appsettings.json under “devices” are:

{   
     "deviceName": "NIDEK_ARK1s",
     "deviceGID": "7f3059f7-1f5a-44b0-88d1-709514df03ee",
     "pickupFolder": "C:\DeviceData\ARK1s\RKT\TXT",
     "archiveFolder": "C:\DeviceData\ARK1s\Archive",
     "sftpUsername": "<device data uploader user name>",
     "sftpPassword": “<device data uploader user password>”,
     "sftpHost": “<application server IP>”,
     "sftpPort": "22",
     "sftpDirectory": “<ftp directory>”,
     "className": "DeviceDataUpload.NidekARK1sDataUploader"
}

Device settings

To set up network settings:

Under Network1

111: YES

112: YES

113: <user on the comupter>

114: <password on the comupter>

115: <computer name>

116: <computer IP>

117: ARK-1s

⚠️Add image: NIDEK 1.jpg

To disable printing of the slip (since data is sent to Kordeus, we don’t need it to be printed)

Under Print1

31: NO

⚠️Add image: NIDEK 2.jpg