02-14-2007 01:02 AM - edited 02-14-2007 01:02 AM
このメッセージは 02-14-2007 01:07 AMに vibro が編集しています。
02-14-2007 02:32 PM
02-14-2007 09:08 PM
02-15-2007 08:57 AM
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
02-16-2007 12:40 AM
02-20-2007 04:23 AM
02-20-2007 07:36 AM
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.
02-26-2007 03:29 AM