NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
SandiegoSD
Posts: 11
0 Kudos

How to replace this bit "Check to see if GPIB Global variables are registered"?

Hi guys, I'm trying to use GPIB on my Windows 7 machine, as a result the old vbib-32.vb doesn't work for me and I'm using the new subs and functions. 
But there's  this one piece of code I find at the beginning of many subs in the vbib-32.vb:

 

' Check to see if GPIB Global variables are registered
If (GPIBglobalsRegistered = 0) Then
Call RegisterGPIBGlobals()
End If

 

I'm not sure what's the equivalent for this piece of code in the new NationalInstruments.NI4882.dll .

Anyone know what to do?

Member
BriceS
Posts: 36
0 Kudos

Re: How to replace this bit "Check to see if GPIB Global variables are registered"?

Thanks for posting your question to our forum. It looks like you've also been discussing this same issue in another forum thread ( http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/How-to-replace-this-quot-Check-to-see-if-GPIB... ). To help keep things straight on our end, we like to keep a single issue to one thread. This makes it easier for us to solve your problem and makes it easier for other customers to help out too.

 

Regards,

Brice S.

Applications Engineer

National Instruments

www.ni.com/support

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page