00001 #ifndef SAMP_H
00002 #define SAMP_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifdef __cplusplus
00016 extern "C" {
00017 #endif
00018
00019
00020
00021
00022
00023 #define sampMODE_NOW_STRING "Now"
00024 #define sampMODE_EVENT_STRING "Event"
00025
00026 #define sampLOGIC_EQ_STRING "EQ"
00027 #define sampLOGIC_NE_STRING "NE"
00028 #define sampLOGIC_GT_STRING "GT"
00029 #define sampLOGIC_GE_STRING "GE"
00030 #define sampLOGIC_LT_STRING "LT"
00031 #define sampLOGIC_LE_STRING "LE"
00032 #define sampLOGIC_ANY_STRING "ANY"
00033
00034 #define sampTYPE_INTEGER_STRING "Integer"
00035 #define sampTYPE_REAL_STRING "Real"
00036
00037
00038
00039
00040
00041 typedef struct {
00042 vltUINT32 headerSize;
00043 vltUINT32 numValues;
00044 vltUINT32 numSamples;
00045
00046 ccsTIMEVAL timeStamp;
00047 vltUINT32 samplePeriod;
00048
00049 } sampSMPSTRT_REPLY;
00050
00051
00052 #ifdef MAKE_VXWORKS
00053 #include "sampLCC.h"
00054 #else
00055 #include "sampCCS.h"
00056 #endif
00057
00058 #ifdef __cplusplus
00059 }
00060 #endif
00061
00062 #endif