AnsweredAssumed Answered

vrf VISA Alias question + Display question

Question asked by adam_kohler on Nov 7, 2005

One other way is to detect the USB address using the find instruments and then set the alias to "" and use the actual USB address not the alias.  This is the technique I use in the test systems.  It gets round this exact problem with aliases being different.

The text below is how this works, substitute "powermeter" for what you need

If you have a VISA alias, we will use it exclusively. We don't care if you change the VISA address as it is not used (if you have an alias). If you want to programmatically change the instrument, use 'IO.Powermeter.visaAlias = value' and change the VISA alias. This will force a close/reopen with the new alias. If you want to mess with VISA addresses, you have to set the visaAlias to "", then use IO.Powermeter.visaAddress = value and we will force a close/reopen with the new VISA address.


Adam Kohler
Wireless Division
Agilent Technologies
Scotland

telnet 313 5327
e adam_kohler@agilent.com
> -----Original Message-----
> From: Ron Pratt [mailto:RPratt@symmetricom.com]
> Sent: Monday November 2005 20:55
> To: VRF
> Subject: RE: [vrf] VISA Alias question + Display question
>
> If you are using direct IO, have you tried adding a device name control
> pin to the IO objects?
>
> -----Original Message-----
> From: Thomas.Mitchell@Autoliv.com [mailto:Thomas.Mitchell@Autoliv.com]
> Sent: Monday, November 07, 2005 12:17 PM
> To: VRF
> Cc: vrf@agilent.com
> Subject: Re: [vrf] VISA Alias question + Display question
>
>
>
> But, since mine starts with 'USB....', I should be ok right?  My problem
> is
> that after the IO libraries are installed, the alias is at the default
> USB0, which does not match what I have set in my program of USB34980A.  I
> set it to that so I can switch between GPIB and USB, by simply setting the
> device name variable in the beginning of my program to either GPIB34980A
> or
> USB34980A.  I have to then go into the IO library program and manually
> change the alias of the interface, which is something I don't want my
> users
> to do.
>
> Tom
>
>
>
>              Stan Bischof
>              (Richard S)
>              <rsb@soco.agilent                                          To
>              .com>                     Thomas.Mitchell@Autoliv.com
>                                                                         cc
>              11/07/2005 02:59          vrf@agilent.com
>              PM                                                    Subject
>                                        Re: [vrf] VISA Alias question +
>                                        Display question
>
>
>
>
>
>
>
>
>
>
> Thomas.Mitchell@Autoliv.com wrote:
> > I have a couple of questions for the group.  I'm preparing to distribute
> a
> > VEE 7.5 run time program of mine to other users, and I'm trying to
> > understand this one issue that I have with this.  I saved all of my
> > configurations in my file, and I installed the IO libraries 14.0 before
> I
> > installed the VEE Run time version of the software.  When I run my file,
> I
> > get an 811 error message.  If I run IO config, and change the Alias of
> my
> > 34980A to my setting USB34980A, it runs fine.
>
> Alias names should never start with a numeric character.
>
> Yes- it can work with numeric characters and yes many folks
> will tell you they have no problems, but in my 15 years plus
> with VEE I learned the hard way too many times to ever use a numeric.
>
> Stan
>
>
> --------------------------------------------------------------------------
> Stan Bischof  Agilent Technologies  707-577-3994  stan_bischof@agilent.com
> --------------------------------------------------------------------------
>
>
>
> ---
> You are currently subscribed to vrf as: RPratt@symmetricom.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@agilent.com".
> If you need help with the mailing list send a message to "owner-
> vrf@it.lists.it.agilent.com".
> Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
>
>
> ---
> You are currently subscribed to vrf as: adam_kohler@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@agilent.com".
> If you need help with the mailing list send a message to "owner-
> vrf@it.lists.it.agilent.com".
> Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

---
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@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

Outcomes