Scicos Block
fr - eng

##
Write binary data

### Contents

- Write binary data
  - Palette
  - Description
  - Dialog box
  - Default properties
  - Interfacing function
  - Computational function
  - Authors

### Palette

- Sinks - Sinks palette

### Description

This block allows user to write data in a C binary file.

### Dialog box

- Input size
  a scalar, the size of the input.
  Properties : Type 'vec' of size 1

- Output file name
  a character string defining the output file name.
  Properties : Type 'str' of size 1

- Output Format
  a character string defining the format to use.
  Properties : Type 'str' of size 1

- Buffer size
  To improve efficiency it is possible to buffer the input data. read on the file is only done after each Buffer size call to the block.
  Properties : Type 'vec' of size 1

- Swap mode 0/1
  With Swap mode=1 the file is supposed to be coded in ``little endian IEEE format'' and data are swaped if necessary to match the IEEE format of the processor. If Swap mode=0 then automatic bytes swap is disabled.
  Properties : Type 'vec' of size 1

### Default properties

- always active: no
- direct-feedthrough: yes
- zero-crossing: no
- mode: no
- regular inputs:
  - port 1 : size [1,1] / type 1
- number/sizes of activation inputs: 1
- number/sizes of activation outputs: 0
- continuous-time state: no
- discrete-time state: yes
- object discrete-time state: no
- name of computational function: writec

### Interfacing function

- SCI/macros/scicos_blocks/Sinks/WRITEC_f.sci [view code]

### Computational function

- SCI/routines/scicos/writec.c (Type 2) [view code]

### Authors

Ramine Nikoukhah INRIA