Rafi and Lul,
@LuI wrote:
Rafi,
I am not aware of any solution to deactivate a GPIB controller on one PC and activate it on another, just by command.
There is a command to do this! One thing to note is that there can only be one SC (system controller) on the GPIB bus. This can not be passed around dynamically in your program. There can also only be one CIC (controller in charge) at a time, however this can be passed between devices that have controller capabilities.
There are three ways to become CIC:
1. You can use ibpct to pass control from from the current CIC to the interface you would like to be CIC.
2. The SC can call ibsic and it will become CIC without it being passed.
3. You can also use ibrsc 0 to first release CIC on the current CIC, then use ibrsc 1 to request CIC on the other interface.
These functions are of course documented in the NI-488.2 help, and there are equivalents in LabVIEW for both VISA, and GPIB VIs. You can find a KnowledgeBase that describes method 1. and 2.
here. Hope this helps!
Shawn B.
National Instruments