LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Phatom GPIB device #21

Halloechen!

I try to find all conncected GPIB devices with the GPIB function
"FindLstn". However, additionally to the really connceted devices
this function find something with address #21. If I disconnect all
devices, it really finds nothing (as expected). But no matter
which devices are activated (Keithley, an ols Epson printer and a
homebrew thing), this #21 appears on the list.

I use a GPIB-USB-B.

I call the routine in a C++ program as follows:

FindLstn(GPIB0, Instruments, Result, 31);
if (ibsta & ERR)
{
GPIBCleanup(GPIB0, "Unable to issue FindLstn call");
return 1;
}

int Num_Listeners = ibcntl;

for (int i=0; i < Num_Listeners; i++)
cout << Result[i] << '\n';


This odd phantom device seems
to become a problem when "SendList"
ist called:

SendList(GPIB0, Result, "*IDN?", 5L, NLend);

This call always fails.

Any ideas what's happening here? Thank you!

Tschoe,
Torsten.

--
Torsten Bronger, aquisgrana, europa vetus
0 Kudos
Message 1 of 2
(2,568 Views)
Address 21 is the address of your computer's GPIB card. This is your "phantom" device. Apparently your other devices are making it look like a real address.

Les.Hammer@CompleteTest.com
0 Kudos
Message 2 of 2
(2,568 Views)