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
Summary of Contents for SPIDAR NIC-500s
Page 1: ......
Page 2: ...ii...
Page 4: ...Warranty Confirmation iv...
Page 6: ...vi...
Page 10: ...Introduction 2...
Page 28: ...Getting Started 20...
Page 66: ...SPIDAR Software 58...
Page 78: ...SPIDAR SDK 70...
Page 88: ...Compatibility 80...
Page 90: ...Technical Specifications 82...
Page 102: ...Appendix D GPR Knowledge 94...
Page 106: ...Appendix F Health Safety Certification 98...
Page 114: ...Appendix G GPR Emissions Interference and Regulations 106...
Page 116: ...Appendix H Instrument Interference 108...
Page 118: ...Appendix I Safety around Explosive Devices 110...