Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to Modify GPIB Interface list Programmatically

My Application (Built using Application Builder for OSX) requires the end user to Install NI-488.2 and enter IP addresses manually for the specific GPIB-eNet/100 target Devices using the Explore GPIB application. Is it possible to Modify (ie. Add/Delete/update) the interface list Dynamically via Labview Built Application?

Thanks.
0 Kudos
Message 1 of 8
(4,194 Views)
Hello,

If I understand your question correctly, you have a GPIB-ENET/100 with a number of devices connected to it, and you want to be able to find the listening devices programmatically. There is a GPIB function (FindLstn) that will return the primary address of listening devices on  a GPIB bus, but that's about it. See the post here too for some somewhat related information that you might find helpful. Please let me know if I have misunderstood your question, and provide some more detail. Thanks!

Regards,


Message Edited by _Belle on 08-16-2006 03:31 PM

Ebele O.
National Instruments
0 Kudos
Message 2 of 8
(4,179 Views)
Actually, the issue I'm trying to solve is the opposite. I have several GPIB-eNet/100 Devices that the application can address. All the GPIB-eNet/100 devices have static IP address. Currently, the user has to configure (using NI-488.2 Explore GPIB application) & enter all the IP's manually before the application can target the GPIB devices. what I'm trying to find out, is there a way to programatically configure the GPIB Explorer list.

Any help is appreciated.
Thanks.

PS. this is on the MAC OSX Labview 8.0.1 platform. The Explore GPIB application is under the Application/National Instruments/NI-488.2 folder.
0 Kudos
Message 3 of 8
(4,170 Views)
Hello,

Configuration information for the ENET/100s is stored in /Library/Frameworks/NI488.framework/Versions/2/Resources/GPIB.INI, and if the computers will all be using the same set of ENET/100s, then you can copy the gpib.ini file among them. Hope this helps. Thanks!

Regards,


Ebele O.
National Instruments
0 Kudos
Message 4 of 8
(4,086 Views)
Hello,
Thanks for your feedback. Your suggestion of copying gpib.ini to all computers with similar eNet/100 targets should work. The question now is, can the gpib.ini file be included as part of the Built application and the VI copies it to the right location the first time the application is run or does the end user have to copy the gpib.ini file to the right location before starting the application?

Thanks again,
Parviz.
0 Kudos
Message 5 of 8
(4,078 Views)
Hello again,
I tried your suggestion of copying gpib.ini file and it did not work. The "gpib explorer" application also does not pickup the settings. There is a "current" folder under the "versions" directory that also contains "gpib.ini" file. I tried replacing that file and, that did not work also.

Regards,
Parviz.
0 Kudos
Message 6 of 8
(4,048 Views)
Hi Parviz,

You'll need to restart your computer after copying the files over. Does it not work even after restarting? Thanks!

Regards,
Ebele O.
National Instruments
0 Kudos
Message 7 of 8
(3,981 Views)
Hello,
Yes, I did restart the computer after copying the "gpib.ini" file over, and it did not work. In your last reply you mention "files". Are there any other file(s) that need to be copied?

Thanks,
Parviz.
0 Kudos
Message 8 of 8
(3,974 Views)