SPX SPIDAR NIC-500s Operation Manual page 75

Table of Contents

Advertisement

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
67
SPIDAR SDK

Advertisement

Table of Contents
loading

Table of Contents