Digi-Pas DWL5800XY handleiding
Handleiding
Je bekijkt pagina 33 van 73

Digi-Pas
®
© 2023 Digipas Technologies Inc. All Rights Reserved.
www.digipas.com
Page 27
DWL-5x000XY DATA SHEET
5.3.1.1. DWL5000XYLibrary.SerialComm.Serial_Initialization
Description: This function congures and initializes the serial commu-
nication.
public static bool Serial_Initialization(string PortName);
Prototype: PortName The name of the COM Port to be connected with.
Arguments: True - Serial initialization successfully
Return Value: True - Serial initialization successfully
False - Fault occurred during serial initialization
Remarks: This function congures the following parameters:
BaudRate : 115200
Parity : None
DataBits : 8
StopBits : One
FlowControl: None
Code Example: DWL5000XYLibrary.SerialComm.Serial_Initialization(COM15);
5.3.1.2. DWL5000XYLibrary.SerialComm.Mode
Remarks: This function congures following parameters:
BaudRate : 115200
Parity : None
DataBits : 8
StopBits : One
FlowControl: None
Code Example:
Sensor Connection
Status
: DWL5000XYLibrary.SerialComm.Mode(0x55, 0, 0, 0, 0, 0, 0);
Single Axis Mode : DWL5000XYLibrary.SerialComm.Mode(0x01, 0, 0, 0, 0, 0, 0);
Dual Axis Mode : DWL5000XYLibrary.SerialComm.Mode(0x02, 0, 0, 0, 0, 0, 0);
Vibro Mode : DWL5000XYLibrary.SerialComm.Mode(0x03, 0, 0, 0, 0, 0, 0);
Set Alternate Zero
(Single Axis)
: DWL5000XYLibrary.SerialComm.Mode(0x07, 0, 0x6C, 0, 0, 0, 0);
Reset Alternate
Zero (Single Axis)
: DWL5000XYLibrary.SerialComm.Mode(0x07, 0, 0x46, 0, 0, 0, 0);
Read Alternate Zero
(Dual Axis)
: DWL5000XYLibrary.SerialComm.Mode(0x0A, 0, 0x6C, 0, 0, 0, 0);
Reset Alternate
Zero (Dual Axis)
: DWL5000XYLibrary.SerialComm.Mode(0x0A, 0, 0x46, 0, 0, 0, 0);
Bekijk gratis de handleiding van Digi-Pas DWL5800XY, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.
Productinformatie
| Merk | Digi-Pas |
| Model | DWL5800XY |
| Categorie | Niet gecategoriseerd |
| Taal | Nederlands |
| Grootte | 10950 MB |



