Actually here are all the functions that are also available from Dewesoft X's programming DCOM interface, so the sequence is actually an easy visual way to program the execution work flow like it could be done in any external programming language. Commands are the same as in Dewesoft X DCOM… We can also look at the sequencer as the easier to use replacement for the classic programming languages.
Action can be chosen from the list shown on the right side under DCOM structure caption.
Some of the properties have the parameters which can be edited in Parameters list. Help will provide short-form information on what the action does.
There are many possible actions shown here in alphabetical order.
AO Set Manual action
If the function generator is set to Manual output, the user can choose whenever the output will start.
The action is the same as if the user would press the Manual button to start the function generator (shown below).
This action puts Dewesoft X in Analysis mode like pressing Analysis button on the screen. Please take a look also to the Measure action.
Export Data action
This action exports the data. It is replaced by ExportDataEx which has more parameters, but this function can still be used if these additional parameters are not needed.
ExportDataEx will export the opened file with the extended set of parameters. Please note that the file must be open in Analysis mode to call this action.
There are several parameters which must be set.
The export type defines the type of the export to be used. The list of exports is enumerated in the same way as the drop down list in the export is shown. We can find all the export type files if you go to Analysis mode -> select Data file -> go to Export -> File export.
So we need to enter:
0 … Flexpro (*.fpd)
1 … Excel (*.xls)
2 … DIAdem (*.dat)
3 … Matlab (*.mat)
4 … Universal File Format 58 (*.unv)
5 … FAMOS (*.dat)
6 … NSoft time series (*.dac)
7 … Text (*.txt)
8 … Sony (*.log)
9 … RPCIII (*.rsp)
10… Comtrade (*.cfg)
Custom exports must be enumerated with negative values starting with -2. The custom exports depend on the installed exported (.exp) files. In our case from the screenshot above it would be:
-2 … Replay
-3 … Google earth KML
Time axis defines the how the time will be exported:
0 ... relative
1 ... absolute
2 .. .from trigger
The property corresponds with this selection:
Export Data type
Defines which data is to be exported:
0 ... full speed
1 ... reduced (with speed defined in the reduced rate)
The property corresponds with this selection:
Defines which data will be exported at reduced rate. The value is a set from:
1 … min
2 … max
4 … average
8 … rms
So if we want to export min and max, we need to enter: 1+2=3. If we want to export min and RMS, we need to enter 1+8=9.
The property is important only if reduced data is exported and corresponds to this selection:
Defines the file name to be exported.
If the file extension is not defined, the default file extension will be taken.
If the file-path is not defined (just the file name is entered), then the default export folder will be taken.
If not even a file name is defined (field is blank), then the loaded Dewesoft X file name will be taken.
Hardware Setup action
This action will open the Settings window of Dewesoft X.
Load DBC action
This action will load the DBC file for CAN ports. You have to define the port number and File name of DBC library to load. It is the same action as the DBC/XML Import found in CAN setup:
Load File action
This action will load the Dewesoft X data file. If the file name is wrong or if it is not defined, it will show the dialog to choose the file manually. If the path is not defined, it will try to load the data from the main data folder of the currently selected project.
Load Project action
This action will open the project file. This brings the sequence above setup as well as above project files. It allows to load in one single sequence different projects and different setups.
Load Setup action
This action loads the setup. A file name must be defined. The action is the same as the Load Setup main block.
This action will put Dewesoft X in Measure (Acquisition) mode. It is the opposite action from Analysis and has the same effect as clicking on the Acquisition button.
Measure Sample Rate Ex action
This action will change the measure sample rate. Property MeasureSamplerate must be set to the new wanted sample rate.
IMPORTANT: Dewesoft X must be running in Acquisition – Ch. setup screen that this command is taken.
New Setup action
This action will open a new setup. It is equal to the Dewesoft X button – New setup menu item.
Pause Storing action
This action will pause storing. It is equivalent to the Pause button and works in conjunction with Resume. Dewesoft X must be in Measure mode and should be storing the data that this command is valid.
Print Screen action
This action will make a screen dump to the printer. It is the same as the Analysis Print command.
Reduced Rate action
This action will set the reduced rate of the data. Please note that you need to be in Measure – Setup screen that this command is valid. It is the same as the Static acquisition rate entry field.
Resume Storing action
This action will resume storing if paused. It is equivalent to the Resume button and works in conjunction with Pause. Dewesoft X must be in Measure mode, should be storing the data and should be paused that this command is valid.
Save Setup action
This action will save the setup under the defined file name. If the file name is empty, it will store the currently loaded setup.
Send Key action
This action will send the key stroke to Dewesoft X. The parameter Key is the key code according to the character map.
Set Instrument action
This action will change the shown display. The Id parameter defines the main index of the screen. This command is valid
only in the measure mode. In this case 0 will set Overview, 1 will set the Scope, 2 will set the Recorder and 3 will set the
FFT regardless of the display name.
Set Main Data Dir action
This action sets the main folder of the data.
Set Main Toolbar action
This action is very important. It sets Dewesoft X to the certain mode. The TabName property defines the name of the main tool bar. Here a Name of the main tool bar must be entered (like Ch. Setup, Measure, Print and so on). Please note that some of the tabs are not always available and depends if Dewesoft X is in Measure or Analyse mode.
The next selection – Button name defines which main menu button will be selected. Here it is again important to take care which buttons are available in which menu.
Set Screen Index action
This action changes the sub displays. If the main display has several sub-screens, this action can change between them.
Set Store Mode action
This action can set the store mode. Possible values are:
0 … always fast
1 … always slow
2 … fast on trigger
3 … fast on trigger, slow otherwise
Setup Sample Rate action
This action changes the setup sample rate. It is similar to the Channel setup sample rate option available in the Settings window. Please note that Dewesoft X must NOT be in the acquisition setup mode when this parameter is set.
Setup Screen action
This action changes Dewesoft X to the setup screen mode.
Shown Property Frame action
This action shows or hides the property frame and channel list while measuring.
Show SR Options action
This action will show or hide the sample rate panel in Ch. Setup – Storing and Ch. Setup – Analog tabs.
Show Store Options action
This action will show or hide the storing options in Ch. Setup – Storing and Ch. Setup – File details. It is important if we want the user to be able to change the header entries, but not the file name.
This action will start the measurement.
Start Storing action
This action will start storing the data. Dewesoft X must be in the Measure mode that this command is working. It is the same as the Store button.
Stay On Top action
If the property StayOnTop is true, then Dewesoft X will be always on top even if another application has the focus.
This action will stop the measurement.