SVVCR

Concept Link IconSee also

Manage the playback when using the VCR.

WebVue support - No. Returns an unsuccessful code if used in this context.

Mode

Mnemonic

Syntax

1 READ 1
2 STOP 2
3 PAUSE 2
4 PREVIOUS 2
5 NEXT 2
6 MDF_READ_PARAM 3

Arguments common to more than one mode

Argument

Meaning

EventPeriod

Period for replaying events in ms (step mode).

EventCount

Number of events to be played in the period (step mode).

TimeFactor

Replay speed coefficient (time mode).

PlaybackMode

Replay mode, 0=step, 1=time.

UnitName

Archive unit name.

PictureFileNumber

A VCR archive unit file number. The file number is constructed from the date and timestamp at which it was created. For example 19991208150000 represents 08/12/1999 15:00:00. The file number is a record of the VCR variables at the time and date it was created.

Syntax 1

IntVal = SVVCR(Mode, PlaybackMode, UnitName, PictureFilenumber, EventPeriod, EventCount, TimeFactor);

Return type: INTEGER.

Execution

Mode

Mnemonic

Action

1

READ

Read and play the specified VCR archive starting at the date and time of the PictureFileNumber.

Return: 1 if successful, else 0.

Syntax 2

IntVal = SVVCR(Mode);

Return type: INTEGER.

Execution

Mode

Mnemonic

Action

2

STOP

Playing of events is stopped.

3 PAUSE

Playing of events is paused.

4 PREVIOUS

If playing, go backward by the time factor x10.

5 NEXT

If playing, go forward by the time factor x10.

   

Return: 1 if successful, else 0.

Syntax 3

IntVal = SVVCR(Mode, EventPeriod, EventCount, TimeFactor );

Return type: INTEGER.

Execution

Mode

Mnemonic

Action

6

MDF_READ_PARAMETER

Modify the VCR playback parameters.

Return: 1 if successful, else 0.