TUM-Logo

libRASCH

 

Home
 

General

About libRASCH/News
Design
Screen shots
Sample programs (with source code)
License
 

Download

libRASCH
Tools
 

Documentation

User
Developer
 

Resources

Mailing list
Supported Formats
Plugins
Status
Links
 
Contact
About this site
 
Last updated
Tue Mar 27 23:03:51 2007
ra_raw_get

ra_raw_get

Name

ra_raw_get --  get raw-signal data

Synopsis

LIBRAAPI size_t ra_raw_get (rec_handle rh, unsigned int ch, size_t start, size_t num_data, DWORD * data, DWORD * data_high);

Arguments

rh

recording-handle

ch

channel

start

first sample

num_data

number of samples

data

buffer for samples

data_high

buffer for higher 4 bytes of samples (if size of one sample > 4 bytes)

Description

This function returns the sample's (raw-signal data) from the measurement mh and the recording rh. The first sample in data will be the sample number start (in sampleunits) and max. num_data are in data. The memory for buffer data must be allocated in calling function. The samples returned in this function are the samples as stored in the file. If the size of one sample is greater than 4 bytes, the upper part of the samples are stored in the data_high buffer. If the size is not greater than 4 bytes, the buffer is not needed.

source file

ra.c