Основные заголовки функций SDK (перечень вызываемых функций ) :
DLLFUNC ViStatus _VI_FUNC ACK3102_IsValidDevice (char AULName[]);
DLLFUNC ViStatus _VI_FUNC ACK3102_AddKey (char path[], char *AULname, char *Key);
DLLFUNC ViStatus _VI_FUNC ACK3102_init (ViRsrc resourceName, ViSession *instrumentHandle, int shared, ViBoolean resetDevice, char path[], char AULDevName[], DWORD *Plugins);
DLLFUNC ViStatus _VI_FUNC ACK3102_Close (ViSession instrumentHandle);
DLLFUNC ViStatus _VI_FUNC ACK3102_Is50OhmEnabled (ViSession instrumentHandle, int *enabled);
DLLFUNC ViStatus _VI_FUNC ACK3102_SetChannelCoupling (ViSession instrumentHandle, ViByte coupling, int channel);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetChannelCoupling (ViSession instrumentHandle, ViByte *coupling, int channel);
DLLFUNC ViStatus _VI_FUNC ACK3102_SetChannelRange (ViSession instrumentHandle, ViByte range, int channel, int setZeroOffset=0);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetChannelRange (ViSession instrumentHandle, ViByte *range, int channel);
DLLFUNC ViStatus _VI_FUNC ACK3102_SetChannelOffset (ViSession instrumentHandle, double offset, int channel);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetChannelOffset (ViSession instrumentHandle, double *offset, int channel);
DLLFUNC ViStatus _VI_FUNC ACK3102_OffsetMagnitudeCodeTransforme (ViSession instrumentHandle, double offset, double *code, int channel, int range, int inverse); // probe == -1 - включить автоматическое определение пробников
DLLFUNC ViStatus _VI_FUNC ACK3102_SetChannelProbe (ViSession instrumentHandle, int probe, int channel);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetChannelProbe (ViSession instrumentHandle, int *probe, int channel);
DLLFUNC ViStatus _VI_FUNC ACK3102_SetClockSource (ViSession instrumentHandle, ViByte triggerSource);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetClockSource (ViSession instrumentHandle, ViByte *triggerSource);
DLLFUNC ViStatus _VI_FUNC ACK3102_CalibrateRefLevels (ViSession instrumentHandle, ViByte range, int channel);
DLLFUNC ViStatus _VI_FUNC ACK3102_CalibrateRefLevelsEx (ViSession instrumentHandle, ViByte range, int channel, int size, BYTE *ext_arrA, BYTE *ext_arrB);
DLLFUNC ViStatus _VI_FUNC ACK3102_SetTriggerSource (ViSession instrumentHandle, ViByte triggerSource);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetTriggerSource (ViSession instrumentHandle, ViByte *triggerSource);
DLLFUNC ViStatus _VI_FUNC ACK3102_SetTriggerMode (ViSession instrumentHandle, ViByte triggerMode);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetTriggerMode (ViSession instrumentHandle, ViByte *triggerMode);
DLLFUNC ViStatus _VI_FUNC ACK3102_SetTriggerLogic (ViSession instrumentHandle, ViByte triggerLogic);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetTriggerLogic (ViSession instrumentHandle, ViByte *triggerLogic);
DLLFUNC ViStatus _VI_FUNC ACK3102_SetTriggerLevel (ViSession instrumentHandle, double triggerLevel, int channel);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetTriggerLevel (ViSession instrumentHandle, double *triggerLevel, int channel);
DLLFUNC ViStatus _VI_FUNC ACK3102_SetTriggerDelay (ViSession instrumentHandle, ViInt32 triggerDelay);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetTriggerDelay (ViSession instrumentHandle, ViInt32 *triggerDelay);
DLLFUNC ViStatus _VI_FUNC ACK3102_SetPostTriggerLength (ViSession instrumentHandle, ViInt32 postTriggerLength);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetPostTriggerLength (ViSession instrumentHandle, ViInt32 *postTriggerLength);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetMemorySize (ViSession instrumentHandle, ViInt32 *memorySize);
DLLFUNC ViStatus _VI_FUNC ACK3102_StartRegistration (ViSession instrumentHandle, ViBoolean registration);
DLLFUNC ViStatus _VI_FUNC ACK3102_IsRegistrationStarted (ViSession instrumentHandle, ViBoolean *registration);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetAULFILEOPTACK3Calibration ( ViSession instrumentHandle, DWORD channel, //номер канала
double *bit_voltage, //напряжение, соответствующее 1 биту
double *zero_code, //код, соответствующий нулевому напряжению
double DACcorrector[8], //коэффициенты функции коррекции ЦАПа
DWORD *DACcorrType //тип функции для коррекции ЦАПа
);
DLLFUNC ViStatus _VI_FUNC ACK3102_ResetCalibration (ViSession instrumentHandle);
DLLFUNC ViStatus _VI_FUNC ACK3102_LoadCalibration (ViSession instrumentHandle, char path[]);
DLLFUNC ViStatus _VI_FUNC ACK3102_SaveCalibration (ViSession instrumentHandle, char path[]);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetHardwareStatus (ViSession instrumentHandle, ViByte *hardwareStatus);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetRegistrationStatus (ViSession instrumentHandle, ViByte *registrationStatus);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetMeasurementsStatus (ViSession instrumentHandle, ViUInt32 *measurementsStatus, ViByte *minA, ViByte *maxA, ViByte *avgA, ViByte *minB, ViByte *maxB, ViByte *avgB, ViUInt32 *waveLength, ViUInt32 *edgesA, ViUInt32 *edgesB);
DLLFUNC ViStatus _VI_FUNC ACK3102_SetMeasurementsStatusMask (ViSession instrumentHandle, ViUInt32 measurementsStatus);
DLLFUNC ViStatus _VI_FUNC ACK3102_MagnitudeCodeToVoltage (ViSession instrumentHandle, double code, int channel, double *voltage, int absolute);
DLLFUNC ViStatus _VI_FUNC ACK3102_ReadWaveform (ViSession instrumentHandle, ViInt32 waveformSize, ViInt32 maximumTime_ms, ViReal64 waveformArrayA[], ViReal64 waveformArrayB[], ViInt32 *actualPoints, ViReal64 *initialX, ViReal64 *xIncrement, int code = 0);
DLLFUNC ViStatus _VI_FUNC ACK3102_ReadWaveCodes (ViSession instrumentHandle, ViInt32 waveformSize, ViByte waveformArrayA[], ViByte waveformArrayB[], ViInt32 *actualPoints, int at_current);
DLLFUNC ViStatus _VI_FUNC ACK3102_StartInRollMode (ViSession instrumentHandle, ViBoolean registration);
DLLFUNC ViStatus _VI_FUNC ACK3102_CheckRollModeNewData (ViSession instrumentHandle, ViInt32 *newSamples);
DLLFUNC ViStatus _VI_FUNC ACK3102_ReadRollModeWaveform (ViSession instrumentHandle, ViInt32 waveformSize, ViReal64 waveformArrayA[], ViReal64 waveformArrayB[], ViInt32 *actualPoints, ViReal64 *initialX, ViReal64 *xIncrement, int code = 0);
DLLFUNC ViStatus _VI_FUNC ACK3102_SetSampleRate (ViSession instrumentHandle, ViByte sampleRate);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetSampleRate (ViSession instrumentHandle, ViByte *sampleRate);
DLLFUNC ViStatus _VI_FUNC ACK3102_SampleRateCodeToTime (ViByte sampleRate, double *timebaseSec);
DLLFUNC ViStatus _VI_FUNC ACK3102_RangeCodeToVoltage (ViByte range, double *voltagePerDiv);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetTimeZoom (ViSession instrumentHandle, double *timeZoom, int code=0);
DLLFUNC ViStatus _VI_FUNC ACK3102_CalibrateTimeZoomFactors (ViSession instrumentHandle, double *primary_min, double *primary_max, double *secondary_min, double *secondary_max, int *primary_count, int *secondary_count);
DLLFUNC ViStatus _VI_FUNC ACK3102_SetTimeZoomFactors (ViSession instrumentHandle, double primary_min, double primary_max, double secondary_min, double secondary_max, double parity);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetTimeZoomFactors (ViSession instrumentHandle, double *primary_min, double *primary_max, double *secondary_min, double *secondary_max, double *parity);
DLLFUNC ViStatus _VI_FUNC ACK3102_LockTimeZoomFactors (ViSession instrumentHandle, int lock);
DLLFUNC ViStatus _VI_FUNC ACK3102_SetAnalogFilter (ViSession instrumentHandle, ViBoolean analogFilter);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetAnalogFilter (ViSession instrumentHandle, ViBoolean *analogFilter);
DLLFUNC ViStatus _VI_FUNC ACK3102_AutoSetup (ViSession instrumentHandle, int channelA, int channelB, int autoRange, int autoShift, int autoRate, int autoTrg, ViInt32 maximumTime_ms, int *incomplete);
DLLFUNC ViStatus _VI_FUNC ACK3102_AutoSetupEx (ViSession instrumentHandle, int channelA, int channelB, int autoRange, int autoShift, int autoRate, int autoTrg, ViInt32 maximumTime_ms, int *incomplete, int size, BYTE *ext_arrA, BYTE *ext_arrB);
DLLFUNC ViStatus _VI_FUNC ACK3102_reset (ViSession instrumentHandle);
DLLFUNC ViStatus _VI_FUNC ACK3102_GeneratorEnable (ViSession instrumentHandle, BYTE generator);
DLLFUNC ViStatus _VI_FUNC ACK3102_Test (ViSession instrumentHandle);
DLLFUNC ViStatus _VI_FUNC ACK3102_TestCounters (ViSession instrumentHandle, int *count, int *werror, int *rerror);
DLLFUNC ViStatus _VI_FUNC ACK3102_WriteEEPROM (ViSession instrumentHandle, int start_address, int length, BYTE buffer[]);
DLLFUNC ViStatus _VI_FUNC ACK3102_ReadEEPROM (ViSession instrumentHandle, int start_address, int length, BYTE buffer[]);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetDeviceTemperature (ViSession instrumentHandle, double *temperature);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetDeviceVoltage (ViSession instrumentHandle, double *voltage18, double *voltage33, double *voltage55, double *voltageN5);
DLLFUNC ViStatus _VI_FUNC ACK3102_GetHardwareVersion (ViSession instrumentHandle, DWORD *AULHWDate, DWORD *AULHWVers, DWORD *PLISVers);
DLLFUNC ViStatus _VI_FUNC ACK3102_MeasureInputPeriod (ViSession instrumentHandle, int channel, double *period, int *overflow);
Наверх
|