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 [ VB.NET: Short ][ C, C++: short ][ C#: short ]

Specifies DevID or EqpID.

Whichever it specifies, operation does not change.

 

IfcTime [ VB.NET: Short ][ C, C++: short ][ C#: short ]

Sets the time for transmitting IFC.

 

1 to 255

Time for transmitting IFC (value * 100[usec])

Return Value

Ret [ VB.NET: Integer ][ C, C++: long ][ C#: int ]

 

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

Remarks

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).

Example

Transmits IFC in 1 usec.

C

short IfcTime;

IfcTime = 1;

Ret = GpibSendIFC ( Id, IfcTime );

See Also

GpibSendDeviceClear