‎02-01-2008 05:33 AM
‎02-02-2008 12:57 PM
‎02-04-2008 01:06 AM
‎02-04-2008 04:33 AM
‎02-04-2008 05:19 AM
‎02-04-2008 08:54 AM
Walker,
Sorry for some of the confusion, but it looks like your interface is working fine. Using the interface (GPIB-USB-HS) in Measurement and Automation Explorer (MAX) is always the first step to communicating with your instrument. Since this works and your program does not work, your program is probably expecting your interface to have a certain setting that has not been configured yet on your new system.
To discover this setting, we can take two spy captures. The first should include a short run of your program on the old system (PCI-GPIB) that just opens a board handle does a few operations and then closes it (or just the first few hundred lines or your program executing would be sufficient). The second capture should have be of the new system and should show the error.
More than likely your program expects your iterface to be at a different board number (GPIB0, GPIB1...) or a different primary address (PAD - 0, 1...). These types of errors will be caught by NI-Spy.
For help with taking spy captures, see this KB: http://digital.ni.com/public.nsf/allkb/8D890EC09B15C05A86256E6F007E3E86?OpenDocument
Since v2.5 includes support for Vista, the example programs directory was changed to another location. The readme will tell you where this new location is (it's OS dependant).
I hope this helps,
Steven T.
‎02-05-2008 02:35 AM
‎02-05-2008 09:03 AM
Walker,
Why do you need to get a link to the functions in the DLL? Are you using direct entry into the DLL instead of using language interfaces provided? Assuming that you are using a language that does not have language support in the examples folder, you would have to use direct entry into the DLL in order to get to any of the functions. Which DLL are you trying to access? I will also need the version of the NI-488.2 driver you are using in your GPIB-USB system.
I had originally thought that you had been using the language interface of one of the supported languages. This would just require you to include an object file in your project in MSVC for example.
The answers to the questions above will help us find out what is going wrong. Since the utilities in MAX are working fine, there is no problem with the driver.
Thanks,
Steven T.
‎02-05-2008 10:52 AM
‎02-06-2008 03:22 PM
Hello Walker,
You mentioned that you did see the example programs that get installed to your system. Do these work for general instrument communication? You should not have to modify anything about these examples except the strings that are sent across the GPIB.
You also should not have to do all of this guess work. Here is a link that has much more information about using NI-488.2 with Delphi.
http://zone.ni.com/devzone/cda/tut/p/id/4873
I hope this points you in the right direction,
Steven T.