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

Do I have to rewrite gpib-32.vb&niglobals.vb when switching to NI4882.dll ?

I'm trying to include the new NationalInstruments.NI4882.dll in my project to handle the gpib communication, in Visual Studio 2010 on my Windows 7 machine,

becuz the old gpib-32.dll would run in 64-bit environments.

 

I've seen the examples("SimpleReadWrite"&"SimpleAsynchronousReadWrite"&"Notify") for DOTNET 4, and I found a short exampe that does the Findlistener function, which the example codes didn't 

cover. but I just want to confirm that this is the right path: I'm including the NI4882.dll as a reference, and I rewrite the parts in my code where i call those functions in Niglobal.vb and Vbib-32.vb, and replace 

them with the corresponding new ones I found on the "Mapping the NI-488.2 .NET API to the NI-488.2 C API"  page I found in ".NET Framework 4.0 Help" . 
I've just tried to replace Findlistener and it does find the PrimaryAddress of the scope thru gpib.

 

Can anyone tell me whether this is the right track to switch to using NI4882.dll ? (as appose to the old gpib-32.dll, which comprise of Niglobal.vb and Vbib-32.vb )

 

Thank you.

Member
SandiegoSD
Posts: 11
0 Kudos

Re: Do I have to rewrite gpib-32.vb&niglobals.vb when switching to NI4882.dll ?

[ Edited ]

Sorry, my mistake , I meant to ask  Vbib-32.vb&Niglobal.vb in the subject line , not gpib-32.vb&niglobals.vb.

 

And by rewrite I mean, rewrite all the sub(routine)s that already exist in Vbib-32.vb&Niglobal.vb that are called in my project, and exclude/remove these two files from the 

project(now that I'm using components from the NI4882.dll)

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