Datasheet
PSoC Designer IDE Guide, Document # 001-42655 Rev *B 65
System-Level Editor
3.3.3 LOG.csv File
When you run simulation manually, PSoC Designer creates a simulation log file in comma separated
or value format called LOG.csv. This file contains columns for the input values and the output values.
Each row of the simulation file represents one iteration of the control loop.
You may edit this file offline using Excel or any other CSV compatible spreadsheet program. Edits
include adding rows, deleting rows, and setting the input values of each row to simulate a desired
input. This file can then be saved as another CSV file. Do not save it as LOG.csv, because it is over-
written by PSoC Designer.
3.3.4 Simulation Controls
These controls allow you to execute a simulation with CSV a file as input instead of manual input.
The Load button loads the desired CSV file.
The VCR-like buttons then run through the simulation. Play to start it; Pause to pause it (if you
are fast enough to spot where to pause it); Rewind to return to the beginning of the simulation.
After you complete the playback of the simulation file, open the LOG.csv file to observe the output
results.
3.4 Drivers
PSoC Designer System-Level Editor has a catalog of devices used to acquire real world inputs, as
well as devices used in real world output functions. These devices are known as drivers. A driver
appears as a single building block used in the construction of a system. It is usually associated with
a physical piece of hardware, such as a temperature sensor.
3.4.1 Driver Types
The three driver types are Input, Output, and Interface. Input drivers are used for acquiring data from
sensor devices, such as a temperature or voltage reading. An output driver is used for a device con-
trolled by the PSoC Designer application, such as a fan or heater. Interface drivers are used to give
external devices access to system variables for providing status or controlling the external devices.
For a description of any specific driver, refer to its data sheet in the PSoC Designer.
3.4.1.1 Input Driver
Input drivers are intended for devices that gather data by sensing the external environment. Typical
devices that require an input driver include:
Voltage Measurement
Temperature Sensor
Switch and Button
Keypad
3.4.1.2 Output Driver
Output drivers are used for devices controlled by the generated transfer functions to stimulate the
external environment. Typical devices that require an output driver include:
Fan
LED
Relay
Seven Segment LED