Programming with Numeric Slide Controls

Use SetCtrlVal to set a numeric slide control to a particular value. Use GetCtrlVal to obtain the current value of a numeric slide control.

A numeric slide control has a data type associated with it, so you must be careful to match the value you pass to SetCtrlVal with the data type of the control. The pointer you pass to GetCtrlVal must also be compatible with the current data type of the control.

Data Binding

Linux Data binding is not supported on Linux.

You can bind numeric slide controls to a DataSocket source. Controls can have only one DataSocket connection. You must specify whether the access mode is READ mode or WRITE mode:

Use DSBindCtrlDSBindCtrl to bind a numeric slide control to a DataSocket source. Use DSUnbindDSUnbind to disconnect the numeric slide control from the DataSocket source.

The data type of the control must match the data type in the DataSocket source.

You must enable the DataSocket option in the Edit Installer dialog box Drivers & ComponentsDrivers & Components tab if your applications use data binding.