Write / Read
About Port Extensions

PortCoupleToSystemMedia Property


Description

Sets and returns the state of coupling with the system Media type.

 VB Syntax

fixture.PortCoupleToSystemMedia (port)= value

Variable

(Type) - Description

fixture

A Fixturing Object

port

(Integer) Port Number that will receive the coupling change.

value

(Boolean) Coupling state. Choose from:

  • True - Media type is coupled with the system setting.

  • False - Media type is NOT coupled with the system setting.

Return Type

Boolean

Default

True

Examples

fixture.PortCoupleToSystemMedia(2)= True

bool = fixture.PortCoupleToSystemMedia(1)

C++ Syntax

HRESULT get_PortCoupleToSystemMedia(short portNum, VARIANT_BOOL *pVal);

HRESULT put_PortCoupleToSystemMedia(short portNum, VARIANT_BOOL newVal);

Interface

IFixturing4