SanDisk CompactFlash 5000 Manual de instrucciones Pagina 26

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 56
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 25
Publication LOGIX-AP007B-EN-P - January 2007
26 Example Application
Write Data to the
CompactFlash Card
Set up how the program is going to write the data to the CompactFlash card.
1. Switch to the MainPrograms tags.
Make sure the Monitor Tags tab is selected in the tag editor.
2. Sort the tags by Name.
3. Find the tag CF_Data_Working.
This is a user-defined data type (UDT).
4. Click + to expand the tag.
Leave the filename the same as the previous section, testfile1.dat. There
is an element in the UDT called CF_Data_Working.Bytes_to_RW. This
tells the application how many bytes in this case will be written to the
file.
5. Find CF_Data_Working.Bytes_to_RW and enter a value of 450.
This means that 450 bytes will be written to the file testfile1.dat.
6. Expand the data element in the UDT, (CF_Data_Working.Data).
This array holds the data to be written to the file.
Vista de pagina 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 55 56

Comentarios a estos manuales

Sin comentarios