Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

#pragma once

typedef struct {
        int dimSize;
        int elt[100];
} TD2;
typedef TD2** TD2Hdl;
typedef struct {
        int dimSize;
        char elt[100];
} TD3;
typedef TD3** TD3Hdl;

int open_device(int* device_number);
int count_devices(unsigned short* number_of_devices);
int close_device(int* device_number);
int get_sensor_count(int* device_number, int* sensor_count);
int get_sensor_values(int* device_number, unsigned long* timestamp, TD2Hdl values);
int set_range(int* device_number, unsigned short range);
int get_range(int* device_number, unsigned short* range);
int set_speed(int* device_number, unsigned short speed);
int get_speed(int* device_number, unsigned short* speed);
int get_firmware_version(int* device_number, TD3Hdl values);
int get_device_name(int* device_number, TD3Hdl values);
int clear_buffer(int* device_number);