Measurement-computing DAQFlex Uživatelský manuál Strana 10

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 46
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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();
Zobrazit stránku 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 45 46

Komentáře k této Příručce

Žádné komentáře