HALCON Reference Manual 10.0.2
Table of Contents / Develop ClassesClassesClasses | | | Operators

Page not available for the currently selected syntax (programming language).

Page not available for the currently selected syntax (programming language).

Page not available for the currently selected syntax (programming language).

Page not available for the currently selected syntax (programming language).

dev_update_pcdev_update_pcdev_update_pcDevUpdatePcDevUpdatePc (Operator)

Name

dev_update_pcdev_update_pcdev_update_pcDevUpdatePcDevUpdatePc — Switches the update of the PC during program execution on or off.

Signature

dev_update_pc( : : DisplayMode : )

Herror dev_update_pc(const char* DisplayMode)

Herror T_dev_update_pc(const Htuple DisplayMode)

Herror dev_update_pc(const HTuple& DisplayMode)

void HOperatorSetX.DevUpdatePc([in] VARIANT DisplayMode)

static void HOperatorSet.DevUpdatePc(HTuple displayMode)

Description

dev_update_pcdev_update_pcdev_update_pcDevUpdatePcDevUpdatePc specifies the behaviour of the PC during program execution. If DisplayModeDisplayModeDisplayModeDisplayModedisplayMode is set to VarRef('on'), which is the default, within the selected procedure the PC is always displayed left to the currently executed operator. In addition the program text is scrolled---if necessary---so that the current operator is visible.

If the mode is 'off'"off""off""off""off" the PC is not visible during program execution and the program text will not be scrolled automatically. When the program stops the PC becomes visible again and the listing is scrolled to the current PC position.

For measuring the execution time of a sequence of operators all update options should be switched off in order to reduce the influence of the runtime of GUI updates in HDevelop. For this the operators dev_update_pcdev_update_pcdev_update_pcDevUpdatePcDevUpdatePc, dev_update_timedev_update_timedev_update_timeDevUpdateTimeDevUpdateTime, dev_update_vardev_update_vardev_update_varDevUpdateVarDevUpdateVar, and dev_update_windowdev_update_windowdev_update_windowDevUpdateWindowDevUpdateWindow or the procedures dev_update_on and dev_update_off can be used.

This option can also be controlled via the Preferences dialog: Edit -> Preferences -> Runtime Settings -> Update Program Counter.

Attention

This operator is not supported for code export.

Parameters

DisplayModeDisplayModeDisplayModeDisplayModedisplayMode (input_control)  string HTupleHTupleVARIANTHtuple (string) (string) (char*) (BSTR) (char*)

Mode for runtime behaviour.

Default value: 'off' "off" "off" "off" "off"

List of values: 'on'"on""on""on""on", 'off'"off""off""off""off"

Result

If the values of the specified parameters are correct dev_update_pcdev_update_pcdev_update_pcDevUpdatePcDevUpdatePc returns 2 (H_MSG_TRUE). Otherwise an exception is raised and an error code returned.

See also

dev_update_timedev_update_timedev_update_timeDevUpdateTimeDevUpdateTime, dev_update_windowdev_update_windowdev_update_windowDevUpdateWindowDevUpdateWindow, dev_update_vardev_update_vardev_update_varDevUpdateVarDevUpdateVar

Module

Foundation


Table of Contents / Develop ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH