Hantek · 7 стр.
Руководство по эксплуатации Programmer's DDS-3X25 USB — управление (FR)
Оригинальное название: Programmer's Guide
Похожие инструкции
Содержание
Текст документа
Programmer’s Guide DDS-3X25 USB
Content 1. BRIEF ............................................................................................................................................1 2. INTERFACE DESCRIPTION.....................................................................................................2 2.1. DDSS EARCH ..........................................................................................................................2 2.2. DDSS ET F REQUENCY .............................................................................................................2 2.3.
DDSG ET M EASURE ................................................................................................................2 2.4. DDSS ET S INGLE W AVE ............................................................................................................3 2.5. DDSR ESET C OUNTER .............................................................................................................3 2.6. DDSS ET T RIGGER ..................................................................................................................3 2.7. DDSG ET D IGITAL I N ...............................................................................................................4 2.8.
DDSS ET DIOM ODE ................................................................................................................4 2.9. DDSS ET D IGITAL O UT ............................................................................................................4 2.10. DDSD OWNLOAD ....................................................................................................................5 2.11. DDSC HECK ............................................................................................................................5 2.12. DDSS ET P OWER O N O UTPUT ...................................................................................................5
1. Brief
Programmer’s Guide 1. Brief DDS-3X25 USB offers the agile interface of second time development for users, and offers examples for many languages and the editor .Users can use the functions interface in DDS-3X25Dll.DLL to implement all functions of DDS-3X25 USB, and to be inserted into other auto-measuring systems. Let’s explain every function interface using VC6.0. Interface of any language implement complete same functions. It’s used to reference. The declaration of interface can reference second time development that our company offers for you. Users pay attention to the questions of the variable type and address’s transfer. 1
2.3. DDSGetMeasure
Programmer’s Guide 2. Interface Description 2.1. DDSSearch Description: Search the current computer-connected devices, and initialization.. Function: Int DDSSearch() Parameters: NULL Return: The number of devices connected to computer. 2.2. DDSSetFrequency Description: Set the frequency of waveform Function: BOOL DDSSetFrequency( int index, double frequency, int* wavePointNum, int* TNum ); Parameters: int index: device serial number double frequency: frequency int* wavePointNum: the number of points of the current waveform to download int* TNum: The periods of the waveform to download Return: If return true ,it express successful operation , else express failing operation. 2.3.
DDSGetMeasure Description: Get the value of frequency or counter Function: BOOL DDSGetMeasure( int index, BOOL bFreq, double* measure ); Parameters: int index: device serial number BOOL bFreq: 0: frequency, 1:counter Double* measure: the value of frequency or counter Return: If return true ,it express successful operation , else express 2