Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
334 f9daq 1
#pragma once
2
 
3
typedef struct {
4
        int dimSize;
5
        int elt[100];
6
} TD2;
7
typedef TD2** TD2Hdl;
8
typedef struct {
9
        int dimSize;
10
        char elt[100];
11
} TD3;
12
typedef TD3** TD3Hdl;
13
 
14
int open_device(int* device_number);
15
int count_devices(unsigned short* number_of_devices);
16
int close_device(int* device_number);
17
int get_sensor_count(int* device_number, int* sensor_count);
18
int get_sensor_values(int* device_number, unsigned long* timestamp, TD2Hdl values);
19
int set_range(int* device_number, unsigned short range);
20
int get_range(int* device_number, unsigned short* range);
21
int set_speed(int* device_number, unsigned short speed);
22
int get_speed(int* device_number, unsigned short* speed);
23
int get_firmware_version(int* device_number, TD3Hdl values);
24
int get_device_name(int* device_number, TD3Hdl values);
25
int clear_buffer(int* device_number);