LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a file that correlates a LabView call to GPIB on HP-UX?

I can ping my gpib enet box, but, is there a file that will correlate the LabView GPIB call(GPIB::007) with the ip address of the enet box connected to my oscope on the HP-UX system?
0 Kudos
Message 1 of 4
(2,795 Views)
Hello,

I'm not sure of exactly what you're looking for, so if you could give me more details about what you're trying to do and why, that would be helpful. It sounds like you're looking for a /dev file that maps to your oscilloscope or possibly trying to determine the IP address of your ENET box given the GPIB0 interface.

If you're looking for the /dev file in order to write to the device, this is not possible. See http://digital.ni.com/public.nsf/websearch/F87516E07CB7E6438525644B00572CA9?OpenDocument.

In the case of trying to find your ENET's IP address based on the GPIB0 name, there may be a way to do this depending on what you have available to you. If you can ping the ENET device by name, the operating system is resolving this IP for you via a "GetHo
stByName()" call or something similar, and it is probably checking your HOSTS file for the IP. Let me know more about your problem and I can give you further details.

Thanks,
Scott B.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(2,795 Views)
Thank you, ScottieB, I'm not sure what I'm looking for either. I have a LabView visa resource name: GPIB::7 and I have an IP address that is pingable, known, and is the address of my ENET box. My error message states that possibly a library file is missing. What I imagine to be the case is that perhaps there is or should be a file that will match up my GPIB::7 visa name to the IP, or it's alias; GPIB7. The connection used to work, by the way, until some computer crash, so I know that somehow, a file, or path or something is missing. Perhaps the ENET box needs some kind of re-configuration. Thank you again for looking into this. Ron
0 Kudos
Message 3 of 4
(2,795 Views)
Hi Ron,

Sorry I took so long in getting back to you, my notification isn't working quite right. Check IBCONF, the configuration utility for the 488.2 driver for HP-UX. I bet that it's pointing the GPIB0 card name to the GPIB0 hostname. You can enter the IP address directly here, or add an entry in your HOSTS file in the format " gpib0" so that you can ping the box by typing "ping gpib0". Once you have established this name-to-ip link, the 488.2 driver should work fine.

Also, for a general overview, check out Chapter 4 of the HP-UX Manual:

http://www.ni.com/pdf/manuals/322987a.pdf

Scott B.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(2,795 Views)