AnsweredAssumed Answered

vrf Get Instrument name from Instrument manager

Question asked by jcmartin on May 20, 2003

Hi Herman,

>From my point of view, the best way to manage instruments (if you have to manage several and you are not sure about what you will use and its/their address/es), is defining them in Instrument Manager all with address 0 (NOT LIVE). It is valid for serial and HPIB interfaces. After that you can activate a input pin "address" in a Direct I/O with the address number and work with it. The address and the equipment used can be defined at the beginning by means of questions to operator or better by a external configuration ASCII file.

Even you can use one or other equipment type defining different Function Interfaces, each one devoted to one specific equipment with one or several Direct I/O objects. Each equipment interface functions can be included in a different VEE functions library, you can load all at the beginning  and use one or other Interface Function depending on the used equipment.

In such a way loading the VEE application never will fail and it is very flexible.

Regards,


> -----Mensaje original-----
> De: hermann.ruckerbauer@infineon.com
> [mailto:hermann.ruckerbauer@infineon.com]
> Enviado el: martes, 20 de mayo de 2003 18:47
> Para: VEE vrf
> Asunto: [vrf] Get Instrument name from Instrument manager
>
>
> Hello,
>
> maybe the answer is very easy, but I could not find it up to now ...
>
> I have multiple direct IO commands in my HPVEE programm. To
> be flexible I
> have added the control inputs with instrument name and
> instrument address to
> the IO commands.
> But now I do have two variables, that have to match.
>
> I would like to bring this down to one variable. Means, I'm
> assuming, that
> my GPIB address of an istrument is fixed. Now I would like to
> read somehow
> the corresponding
> name from the instrument manager which I can use for the
> direct IO command
> as control input.
> Therefore even after deleting the instrument, and finding an istrument
> called "newInstrument" by a "search instruments" the programm
> would work
> fine, as long the corresponding GPIB address of the
> instrument does not
> change.
>
> Is there any chance to find this kind of information, or is
> there even a
> better way to get instrument type, name and GPIB address ?
>
> thanks
>
>
> Hermann
>
>
>
>
> Infineon Technologies
> Hermann Ruckerbauer
> MP PDT PD DES 5 / MchB / Room 3448
> Balanstrasse 73
> D-81541 Munich
> Germany
> Phone:          +49 (89) 234 25041
> Fax.:            +49 (89) 234 9555437
> e-mail:          Hermann.Ruckerbauer@infineon.com
>
> ---
> You are currently subscribed to vrf as: jcmartin@indra.es
> To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
> To unsubscribe send a blank email to
> "leave-vrf@it.lists.it.agilent.com".
> To send messages to this mailing list,  email
> "vrf@it.lists.it.agilent.com". 
> If you need help with the mailing list send a message to
> "owner-vrf@it.lists.it.agilent.com".
>

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes