Digi-Pas DWL5800XY handleiding

73 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 30 van 73
Digi-Pas
®
© 2023 Digipas Technologies Inc. All Rights Reserved.
www.digipas.com
Page 24
DWL-5x000XY DATA SHEET
5.2.2.3. DWL5500XYLibrary.SerialComm.set_location
Description: This function congures the sensor location. User can re-
fer to APPENDIX 2: Country and City Index for the list.
Prototype: public static void set_location (int country_index, int
city country_index)
Arguments: country index & city index number.
Return Value: None
Code Example:
DWL5500XYLibrary.SerialComm.set_location(0x05, 0x01);
5.2.2.4. DWL5500XYLibrary.SerialComm.Stand
Description: This function reads the device is in Single Axis mode or
Dual Axis mode.
Prototype: public static int Stand(int sensor_number)
Arguments: sensor_number The specic sensor module.
Return Value: 1 - Device is in Single Axis Mode
2 - Device is in Dual Axis Mode
Code Example: DWL5500XYLibrary.SerialComm.Stand(1);
5.2.2.5. DWL5500XYLibrary.SerialComm.Dual_X_Value
Description: This function reads the dual axis x angle value.
Prototype: public static double Dual_X_Value(int sensor_number)
Arguments: sensor_number The specic sensor module.
Return Value: Dual Axis X angle value
Remarks: DWL5500XYLibrary.SerialComm.Direct_Mode(0x01, 0x02, 0, 0,
0, 0, 0) needs to call rst before using this function.
Code Example: DWL5500XYLibrary.SerialComm.Dual_X_Value(1);
5.2.2.6. DWL5500XYLibrary.SerialComm.Dual_Y_Value
Description: This function reads the dual axis y angle value.
Prototype: public static double Dual_Y_Value(int sensor_number)
Arguments: sensor_number The specic sensor module.
Return Value: Dual Axis Y angle value
Remarks: DWL5500XYLibrary.SerialComm.Mode_Direct(0x01, 0x02, 0,
0, 0, 0, 0) needs to call rst before using this func-
tion.
Code Example: DWL5500XYLibrary.SerialComm.Dual_Y_Value(1);

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

MerkDigi-Pas
ModelDWL5800XY
CategorieNiet gecategoriseerd
TaalNederlands
Grootte10950 MB