[time-nuts] Help for general GPIB problem
John Miles
john at miles.io
Fri Jan 24 02:58:14 EST 2014
You probably want ibfind() rather than ibdev(). Take a look at gpibport.cpp
in the TimeLab source (drivers/shared/gpibport.cpp under the installation
folder), in the enumerate_ports() function.
-- john, KE5FX
Miles Design LLC
> -----Original Message-----
> From: time-nuts-bounces at febo.com [mailto:time-nuts-
> bounces at febo.com] On Behalf Of Ulrich Bangert
> Sent: Thursday, January 23, 2014 3:23 AM
> To: Time nuts
> Subject: [time-nuts] Help for general GPIB problem
>
> Gentlemen,
>
> I am just going to improve my EZGPIB utility so that it can make use of
more
> than one GPIB-interface (supported by GPIB32.Dll, not Prologix). I have
> been
> trying to enumerate all detected interfaces by using
>
> ibdev(bi,0,0,T300ms,0,1)
>
> in a loop where bi starts with "0" and is incremented by "1" until the
> result of the call gets negative. Much to my surprise this loop detects 4
> (!) interfaces GPIB0 to GPIB3 even if absolutely NO interface is connected
> to the pc.
>
> What am I doing wrong. Is "4" the maximum number of interfaces that may
> be
> handled by GPIB32.Dll ????
>
> What do I need to do to find the real number of detected interfaces ?????
>
> Best regards and TIA for your answers
>
> Ulrich Bangert
> www.ulrich-bangert.de
> Ortholzer Weg 1
> 27243 Gross Ippener
>
> _______________________________________________
> time-nuts mailing list -- time-nuts at febo.com
> To unsubscribe, go to https://www.febo.com/cgi-
> bin/mailman/listinfo/time-nuts
> and follow the instructions there.
More information about the time-nuts
mailing list