Multichannel Systems STG4002 Manual User Manual

Page 39

Advertising
background image

ASCII Import / Export

35

Example:

You have to include the following line in the ASCII file if you have installed
MC_Stimulus II for STG4002.

channels: 2


Output mode is either voltage or current.

Example:

output mode: voltage


Six different format types are available: 1, 2, 3, 4, 5, 6.

Example:

format: 3

Data

Preceding the data, the output channel number has to be specified by the following line.

channel: <channel number>

You can specify analog output channels from 1 to 2 (limited by the number of analog output
channels of the connected STG, of course).

The digital Sync Out channel number directly follows the maximum number of output channels.
For example, if you have installed MC_Stimulus II for 2 channels, the Sync Out channel is channel
number 3.

The data follows after the channel specification line; three format types are available. All format
types follow the MC_Stimulus II worksheet's structure of rows and columns. See the description
of the worksheet for more details. Columns are separated by blanks or tabs. The first line has
to contain the column headers. The following lines contain the voltage/current and time values.
Rows/lines are separated by a carriage return or line feed (CR / LF). This is the Windows standard
control character inserted when you press the ENTER key.

The voltage unit is mV and the current unit is μA. Please make sure that all values are in the
ranges specified for the STG you use. For the Sync Out channel, only values of 0 and 1 are allowed.

The time unit is μs. Time values can be in the range from 20 to 18.000.000.000 (20 μs to 5 h).
Time base of the STG is 20 μs, so only times that are multiples of 20 μs are valid.

Note: Please make sure that there are no additional tabs or characters, which would lead to an
error message. Show tabs and spaces in your text editor and check the file before importing it.

Format type 1

This is a basic format with two columns of Value and Time each, without Repeat functionality.

value time

value

time

Format type 2

With this format, you can repeat rows in the same way as described for the worksheet.
Group repeat is not available.

value time

value

time

repeat

Advertising