002
05.03.2010, 17:47 Uhr
TJunker
|
BEISPIELE AUS DER HEADERDATEI
// Get log file name
// store the preferences int EXTCCONV cbLogSetPreferences(int timeFormat, int timeZone, int units);
// get the preferences int EXTCCONV cbLogGetPreferences(int* timeFormat, int* timeZone, int* units);
// Get log file name int EXTCCONV cbLogGetFileName(int fileNumber, char* path, char* filename);
// Get info for log file int EXTCCONV cbLogGetFileInfo(char* filename, int* version, int* fileSize);
// Get sample info for log file int EXTCCONV cbLogGetSampleInfo(char* filename, int* sampleInterval, int* sampleCount, int* startDate, int* startTime);
// Get the AI channel count for log file int EXTCCONV cbLogGetAIChannelCount(char* filename, int* aiCount);
// Get AI info for log file int EXTCCONV cbLogGetAIInfo(char* filename, int* channelNumbers, int* units);
// Get CJC info for log file int EXTCCONV cbLogGetCJCInfo(char* filename, int* cjcCount);
// Get DIO info for log file int EXTCCONV cbLogGetDIOInfo(char* filename, int* dioCount);
// read the time tags to an array int EXTCCONV cbLogReadTimeTags(char* filename, int startSample, int count, int* dateTags, int*timeTags);
// read the analog data to an array int EXTCCONV cbLogReadAIChannels(char* filename, int startSample, int count, float* analog);
// read the CJC data to an array int EXTCCONV cbLogReadCJCChannels(char* filename, int startSample, int count, float* cjc);
// read the DIO data to an array int EXTCCONV cbLogReadDIOChannels(char* filename, int startSample, int count, int* dio);
// convert the log file to a .TXT or .CSV file int EXTCCONV cbLogConvertFile(char* srcFilename, char* destFilename, int startSample, int count, int delimiter);
int EXTCCONV cbDaqInScan(int BoardNum, short *ChanArray, short *ChanTypeArray, short *GainArray, int ChanCount, long *Rate, long *PretrigCount, long *TotalCount, HGLOBAL MemHandle, int Options); int EXTCCONV cbDaqSetTrigger(int BoardNum, int TrigSource, int TrigSense, int TrigChan, int ChanType, int Gain, float Level, float Variance, int TrigEvent); int EXTCCONV cbDaqSetSetpoints (int BoardNum, float *LimitAArray, float *LimitBArray, float *Reserved, int *SetpointFlagsArray, int *SetpointOutputArray, float *Output1Array, float *Output2Array, float *OutputMask1Array, float *OutputMask2Array, int SetpointCount);
int EXTCCONV cbDaqOutScan(int BoardNum, short *ChanArray, short *ChanTypeArray, short *GainArray, int ChanCount, long *Rate, long Count, HGLOBAL MemHandle, int Options); int EXTCCONV cbGetTCValues(int BoardNum, short *ChanArray, short *ChanTypeArray, int ChanCount, HGLOBAL MemHandle, int FirstPoint, long Count, int Scale, float *TempValArray);
int EXTCCONV cbVIn (int BoardNum, int Chan, int Gain, float *DataValue, int Options); int EXTCCONV cbVIn32 (int BoardNum, int Chan, int Gain, double *DataValue, int Options); int EXTCCONV cbVOut (int BoardNum, int Chan, int Gain, float DataValue, int Options); int EXTCCONV cbDeviceLogin(int BoardNum, char* AccountName, char* Password); int EXTCCONV cbDeviceLogout(int BoardNum);
int EXTCCONV cbTEDSRead(int BoardNum, int Chan, BYTE* DataBuffer, long *Count, int Options); |