Measurement-computing DAQFlex Instrukcja Użytkownika Strona 10

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 46
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 9
DAQFlex Message-based Firmware Specification Loading a FPGA configuration file onto the device (Linux and Mac OS X)
10
Example code
The following code shows how to load the FPGA configuration bitfile onto a USB-1608G device. The code
below is written in C++/pseudocode, but it can be written in any language.
file = open(USB_1608g.rbf);
size = getSize(file);
while (size > 0);
{
count = file read(buffer, 64);
device = ControlTransfer(RT_out, 0x51, count, buffer);
size = size count;
}
file close();
Przeglądanie stron 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 45 46

Komentarze do niniejszej Instrukcji

Brak uwag