Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

RegisterGpibGlobalsForThread and debug error on Windows 7 (64-bit) using vb.NET (2010)

Solved!
Go to solution

Hi Jordan,

 

I believe the best way to proceed would be through the examples included with the driver or on our code exchange site.

 

Please take a look here.

 

I hope this helps!

 

Kind Regards

Carlos O

Applications Engineer

National Instruments

Message 11 of 14
(2,962 Views)

Thanks Carlos!  Lots of great information and I've gotten a bit further down the road.  I'm still having trouble making some of the API calls, specifically, those related to Routines such as SendIFC, ResetSys, Send etc, despite having the4882 driver loaded.

 

Are these calls in some other reference that needs to be added to my project?  The only thing I've been able to come close to is from one discussion, where they added the LangInt.dll to the project in order to allow for the older function calls.  That does work ok, but it's a bit confusing because those API calls are all over the documentation, and I can't seem to call them correctly when following examples and the programming reference.  Perhaps I am missing something?

 

Otherwise, I'm asssuming I need to just use the board.write() and read functions?  

 

0 Kudos
Message 12 of 14
(2,947 Views)
Solution
Accepted by topic author JordanC

Pretty sure I've answered this myself.  I'm now using the board.write() and readstring() functions to pass commands to my devices attached to the bus and read the responses.  This seems to work well enough for what I'm doing, although it forces me to do a lot more lower level handling since I can't rely on the NI488 routines that are mentioned in the API.  I guess I'm doing somethign a little different than most, without including Measurement studio or using LabView as my development environment.

 

Thanks everyone for the help!  Hopefully this thread helps someone else 🙂

 

 

 

 

0 Kudos
Message 13 of 14
(2,943 Views)

I suggest you Long Path Tool will let you easily delete, copy or rename long path files, you can try it for better service.

0 Kudos
Message 14 of 14
(1,130 Views)