Hi
Thank You for Your Reply JLS. I was working on my code over the weekend and it is working fine right now. I noticed that the original code for Fluke 45 meter was never setting REN line. The sequence inside Meter_Init procedure was:
Call SendIFC(0) - makes my GPIB board a controller in charge
Call FindListen(0, instruments%(), results%(), 31)
Then inside a loop
Call Send(o, results%(k%), "*IDN?", NLend) - to querry for names of different devices
Call Receive(0, result%(k%), Readings$, STOPend) - to read the results of the above querry
Then
Call DevClear(0, Fluke%) - to clear Fluke multimeter
Call Send(0, Fluke%, "series of SCPI commands", NLend) - to set the meter functions
As can be seen from the above list of calls REN line was never beeing set.
I added the following two calls between DevClear and the last Send command:
Dmm% = ildev(0, Fluke%, 0, 1, 1, 0) - to get unit descriptor for my DMM (now I see that tha is probably not neccesery)
Call ibsre(0,1)
(After each call I am checking ibsta for errors)
I also contacted Keithley and got some help on the sequence of SCPI commands to send to DMM for initialization purposes and for taking reading.
My only question now would be: What is the difference between unit descriptor and its address? Is it neccesery to use unit descriptors or I can get by with just an address?
Thank You kindly for your response
Marek
Message Edited by Marek2005 on 05-17-2005 10:55 AM