GpibSendIFC


 

Function

Transmits the line (IFC) that makes talker/listener/controller state of all devices to initial state.

 

Format

Ret = GpibSendIFC (  Id, IfcTime )

 

Parameter

Id [ short ]

Specifies DevID or EqpID.

Whichever it specifies, operation does not change.

 

IfcTime [ short ]

Sets the time for transmitting IFC.

1 to 32767(7FFFH)

Time for transmitting IFC (value * 100[ƒÊsec])

 

Return Value

Ret [ Long ]

0

Normality completion

10001

Invalid ID was specified

10002

Driver can not be called

10552

The value of IfcTime is outside the designated range

20573

When it was not a master (controller), communication accompanied by address was performed.

 

Initial Value

None

 

Example

Transmits IFC in 1 ƒÊsec.

C

short IfcTime;

        IfcTime = 1;

        Ret = GpibSendIFC ( Id, IfcTime );

 

Remark

Usually it is no problem to set value of IfcTime to 1.

It does the same work as transmitting UNL or UNT when not changing state of controller.

When changing state of controller, devices except master (system controller) become slave (non-controller) state.

 

Please use GpibSendDeviceClear function to set slave device to initial state (when power is supplied).

 

See Also

GpibSendDeviceClear