SPIDAR SDK
67
5.4 Communication
The commands sent to the NIC-500 are in the form of HTTP request strings. There are two
methods used to communicate with the NIC-500: GET and PUT:
•
GET requests are used to query the NIC-500 to get the current status/value.
•
PUT requests are used to set a state/value or execute an action.
These methods are performed on different endpoints (URL address available on SDK mode) to
perform the following action commands in SDK mode:
1) Power up the GPR
2) Setting up GPR survey parameters:
a. Antenna frequency
b. Time sampling interval
c. Number of points per trace (related to time window and depth)
d. Number of stacks
e. Trigger mode
f. Window time shift
3) Start and stop data collection including using your own triggering device
4) Check for errors
5) Set/check date and time
6) Read system information (e.g., version numbers, serial numbers)
SDK does not apply any processing (e.g., gain, background subtraction filter) to the collected
data.
Commands used to control the NIC-500 can be written in any programming language that
supports basic networking. For the purposes of this manual, we are illustrating examples using
Python.
Full example code showing the use of each of these functions is available at GitHub:
https://github.com/sensoftinc/spidar-sdk
Below is a brief example of common commands and their uses. The example code is written in
Python, but any API capable of executing HTTP methods can be used. These examples use the
following Python packages:
•
Requests
•
Json
•
Socket
•
Struct
•
Numpy
Содержание SPIDAR NIC-500s
Страница 1: ......
Страница 2: ...ii...
Страница 4: ...Warranty Confirmation iv...
Страница 6: ...vi...
Страница 10: ...Introduction 2...
Страница 28: ...Getting Started 20...
Страница 66: ...SPIDAR Software 58...
Страница 78: ...SPIDAR SDK 70...
Страница 88: ...Compatibility 80...
Страница 90: ...Technical Specifications 82...
Страница 94: ...Appendix B Components 86 Item Item Code Noggin Cable 10m 100 52 0050 Noggin Cable 30m 100 52 0062...
Страница 102: ...Appendix D GPR Knowledge 94...
Страница 106: ...Appendix F Health Safety Certification 98...
Страница 114: ...Appendix G GPR Emissions Interference and Regulations 106...
Страница 116: ...Appendix H Instrument Interference 108...
Страница 118: ...Appendix I Safety around Explosive Devices 110...