このメッセージは 02-14-2007 01:07 AMに vibro が編集しています。
Hello Vibro-san,
The CIC bit is only set when the system goes from idle to an active controller. You can write 1E to the AUXMR register to Set IFC. This will cause the CIC bit to change since it is now the controller in charge. You can find this command and the details about it on page 3-24 of the manual.
I hope this helps!
Steven T
National Instruments
Hello Vibro,
Setting IFC again should not be necessary. You can use the BSR register to read the status of the control lines. From here you can check SRQ as well as IFC. This way you can make sure that everything is correct. I would focus on the status of the SRQ coming from your instrument and then compare that state with the bit in the BSR register for SRQ. Page 3-2 of the manual shows the bits that are in the BSR.
The program segment you posted above seems very reasonable. I did not see any glaring errors that could cause you problems.
Let me know what the states are of the BSR register. You may find that things are working.
Steven T.