10-29-2009 09:24 PM
Hi All,
I try to use C# (express edition) to communicate with GPIB-USB-HS. My C# code is look like below:
Board NICardSetting = new Board();
AddressCollection addr=new AddressCollection();addr = NICardSetting.FindListeners();
which exactly the same withe previous post, but when I try to execute the C#, it just pop me an exception error: which indicate:
Method requires GPIB interface to be CIC,
I don know the reason why it can't out this error, and is it CIC is stand for Controller in Charge?
Please help
Thanks
William Lee
11-05-2009 05:04 AM
Hi William,
CIC does indeed mean that the GPIB card you're trying to use is not the Controller In Charge, there are a few options for solving this error listed in the following Help extract:
"ECIC (1)
Error Condition: Function requires the GPIB board to be the Controller-In-Charge (CIC).
Description:
Certain functions require your GPIB board to be the CIC - these
functions are noted in the NI-488.2 Function Reference Manual (see the
Related Link, below). By default, your GPIB board will be the System
Controller, but this is not the same as being the Controller-In-Charge.
The System Controller has the ability to become the CIC at any time
(there can be one System Controller on a given General Purpose
Interface Bus).
Possible Cause: Often ECIC errors
are caused when you do not send an interface clear at the start of your
program to make sure that your GPIB board is the CIC.
Solutions:
When set as the controller in charge this error should disappear and allow you to use your c# code to talk to your GPIB devices.
All the best,