Measurement-computing DAQFlex Manual de usuario Pagina 10

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 46
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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();
Vista de pagina 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 45 46

Comentarios a estos manuales

Sin comentarios