I am trying to use a Kinetic Systems 3988 GPIB Crate Controller to write / read the threshold of LeCroy 3420 Constant Fraction Discriminator.
I have downloaded the ks 3988 driver from ni.com, and I need help trying to use it. I've built a simple application which uses 4 modules from the driver. The design is as follows:
[Open.vi]-->[Write General.vi]-->[Read General.vi]-->[Close.vi]
From reading the LeCroy Manual, the CAMAC commands to write the channel Threshold on CAMAC W1 - W8 is F(16).A(0-15) and to read the channel Threshold on Camac R1 - R8 is F(0).A(0-15). So I set the (N,F,A) parameters for the Write General.vi and Read General.vi to (7,16,0) and
(7,0,0), where N = 7, which is the slot in which the CFD module is infixed.
Also, I have a input data parameter for the General Write.vi, but it is set to 0(default value) because I'm not sure as to what data is to be passed.
Other parameters are GPIB Addresse : 16, Points to read 1, data words 8 bits, Transfer Mode : Single, Status byte : Disabled.
After running this VI, I get an error which follows:
Error -1073807339 occurred at VISA Read in KS3988 Read Single.vi->KS3988 Read General.vi->test1.vi. (I call my VI, test1.vi)
Possible reasons:
VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
Also, I tried using the MAX(Measurement and Automation Explorer) to see if the CAMAC Controller responds to the *IDN? string, and it doesn't respond, but it does detect an instrument at addr. 16. I, also, used ibic interface and wrote the same string using ibwrt, it returned 'count 5' indicating that the *IDN? string had been written, but when I typed
ibrd, it gave me a timeout error.
I would be real thankful if someone can give me a detailed explaination on how to go about solving this problem.
Thanks.