Geschäftsführer: Dr. Bernt Götz • Telefon 03641/66880 • Fax 03641/668866 • www.piezosystem.de
64
10.3.2. arbitrary generator
The arbitrary generator is loaded from a file, which must be saved on an internal SD-card. There is
an active file, which can be used of all three channels of the
d-Drive
pro
. If all three channels should
output direct functions, then the file has to contain them. One different start and end index per
channel can be specified, which chooses the different functions in the file. The parameters are
listed in table 3 (on page 58).
For saving the generated file on the device, it has to be connected with the PC via USB. The
SD-card is shown in the explorer as a removable medium in Windows. In the folder \wav_gen, the
self-generated text file can be saved. There are example files which can be used for the initial test.
The text file consists of samples, separated by CRLF. There is a storage region of 1000002 values
(divisible by 1, 2 or 3). In this range various functions can be saved (set value). The three channels
can read out the storage region independent of one another. One sample represents the set value
in [%] at the respective time and is exactly
20µs long. The parameter
gtarb,value
is a multiplier for
the sample time. The file name and the ending are variable.
For loading of the file in the arbitrary generator the command
garbload,wav_gen\<file name>
is
used. The loading process is displayed by the cyclic output
„<
percent , xx%
“.
Before starting the generator the following parameters have to be adjusted:
garbload,path\filename
laden der Funktionswerte nach jedem Gerätestart
gfkt,channel,6
switch to the arbitrary generator
gsarb,channel,value 0 to 1000002 (less than the number of samples in the file)
gearb,channel,value 0 to 1000002 (greater than
gsarb
)
gcarb,channel,value 0 to (2
32
-2) number of the exported periods (default: 0 = permanent)
goarb,channel,value 0 to (gearb - gsarb), states, the offset of the samples where the output
should start related to the starting index
gtarb,channel,value 0 and 1 divide by 1; 2 divide by 2 ...
The output rate results from: 1/(20µs*(gtarb + 1)) in [Sa/s]
Example for the use of the arbitrary generator:
Image 7: Three phase sine generator