I am writing a program that interfaces with an HP/Agilent 4194s Impedance Analyzer through a GPIB interface. In the interface to the program, I have two options for selecting a frequency range. One is a start-stop option, the other is a Fy-Fz option. Only one option may be used at a given time, so I have the toggle switch set to gray out/disable one pair or the other.
The problem is that switching the toggle only affects the disable as the run button is pressed. After the program starts running, switching the toggle has no effect on which controls are disabled. Is there a way around this issue? I've tried setting the controls to syncronous, but it has no effect. Thanks