Rigol DS1000D Instrukcja Użytkownika Strona 107

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 137
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 106
Programming Guide for DS1000E, DS1000D Series
3-3
Note: Please select “control” of Category when adding “m_combox”, and select
value” when adding “m_receive”.
4. Copy the Dynamic Link Library RigolTMCUsb_UI.dll from Demo files into
the new project for easier use.
Explanation: In IDNDemo, only three functions from this ddl are required, which
are: GetTMCDeviceNum, WriteUSB and ReadUSB (the function has been
mentioned in the header files Rigolusb.h);
Now, take GetTMCDeviceNum as an example to introduce how to recall these
three functions:
HMODULE module = LoadLibrary("RigolTMCUsb_UI.dll");
typedef int (CALLBACK* pGetDeviceNum)();
if(module)
{
pGetDeviceNum GetDevice
= (pGetDeviceNum)GetProcAddress(module,"GetTMCDeviceNum");
int j = GetDevice(); // enter
}
Przeglądanie stron 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 136 137

Komentarze do niniejszej Instrukcji

Brak uwag