Why not look at the examples
Â
ExamplesInstrumentIODynamicFindRemoteInstruements.Vee is a good example which finds everything on any interface and tells you what it is.
Â
Just modify the bits you need. It will be a lot faster than cycling through the addresses.
Â
Adam Kohler
SVV
Wireless Division
South Queensferry
Scotland
Â
t 313 3527
e adam_kohler@agilent.com
 _____ Â
From: Crossland Shawn R MSgt 193OPS/DOOW-E [mailto:shawn.crossland@paharr.ang.af.mil]
Sent: Wednesday 12 July 2006 20:08
To: VRF
Subject: [vrf] Programmatically Finding GPIB Devices
Â
Hello all,
I used to be a vrf member for several years. Then, I stopped because my company decided to stop using Vee. Now, I'm back using Vee in another application.
Here's my problem: My older computer used Vee 5 and had an RS-232 to GPIB converter made by National Instruments. In that set up, I could programmatically step through all 30 GPIB addresses and "discover" what was out on the bus.
My newer computer is running Vee 7 and it has a USB to GPIB converter. Since Vee IO natively "sees" the USB interface, I don't know how to step through each GPIB address to discover what devices are there.
In my set up, it's possible that equipment will be removed for calibration and the replacement piece will have a different GPIB address than the one it replaced. Ultimately, I want my program to be able to a change in GPIB addresses.
Any ideas?
Thanks,
-Shawn
---
You are currently subscribed to vrf as: adam_kohler@agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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/".
---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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/".
Â
ExamplesInstrumentIODynamicFindRemoteInstruements.Vee is a good example which finds everything on any interface and tells you what it is.
Â
Just modify the bits you need. It will be a lot faster than cycling through the addresses.
Â
Adam Kohler
SVV
Wireless Division
South Queensferry
Scotland
Â
t 313 3527
e adam_kohler@agilent.com
 _____ Â
From: Crossland Shawn R MSgt 193OPS/DOOW-E [mailto:shawn.crossland@paharr.ang.af.mil]
Sent: Wednesday 12 July 2006 20:08
To: VRF
Subject: [vrf] Programmatically Finding GPIB Devices
Â
Hello all,
I used to be a vrf member for several years. Then, I stopped because my company decided to stop using Vee. Now, I'm back using Vee in another application.
Here's my problem: My older computer used Vee 5 and had an RS-232 to GPIB converter made by National Instruments. In that set up, I could programmatically step through all 30 GPIB addresses and "discover" what was out on the bus.
My newer computer is running Vee 7 and it has a USB to GPIB converter. Since Vee IO natively "sees" the USB interface, I don't know how to step through each GPIB address to discover what devices are there.
In my set up, it's possible that equipment will be removed for calibration and the replacement piece will have a different GPIB address than the one it replaced. Ultimately, I want my program to be able to a change in GPIB addresses.
Any ideas?
Thanks,
-Shawn
---
You are currently subscribed to vrf as: adam_kohler@agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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/".
---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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/".
I used to be a vrf member for several years. Then, I stopped because my company decided to stop using Vee. Now, I'm back using Vee in another application.
Here's my problem: My older computer used Vee 5 and had an RS-232 to GPIB converter made by National Instruments. In that set up, I could programmatically step through all 30 GPIB addresses and "discover" what was out on the bus.
My newer computer is running Vee 7 and it has a USB to GPIB converter. Since Vee IO natively "sees" the USB interface, I don't know how to step through each GPIB address to discover what devices are there.
In my set up, it's possible that equipment will be removed for calibration and the replacement piece will have a different GPIB address than the one it replaced. Ultimately, I want my program to be able to a change in GPIB addresses.
Any ideas?
Thanks,
-Shawn
---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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/".
> Hello all,
> I used to be a vrf member for several years. Then, I stopped because my
> company decided to stop using Vee. Now, I'm back using Vee in another
> application.
> Here's my problem: My older computer used Vee 5 and had an RS-232 to GPIB
> converter made by National Instruments. In that set up, I could
> programmatically step through all 30 GPIB addresses and "discover" what was
> out on the bus.
>
> My newer computer is running Vee 7 and it has a USB to GPIB converter.
> Since Vee IO natively "sees" the USB interface, I don't know how to step
> through each GPIB address to discover what devices are there.
>
> In my set up, it's possible that equipment will be removed for calibration
> and the replacement piece will have a different GPIB address than the one it
> replaced. Ultimately, I want my program to be able to a change in GPIB
> addresses.
>
Not sure what you were doing before, but I would guess that you were
querying easy address to see which ones respond.
I would expect you can do the same thing in VEE 7 by creating
a dummy instrument and stepping its address using a formula
with the appropriate line, such as
IO.dummyInstrument.address=value;
to set the address then a direct IO to query the instrument ( dummyInstrument )
Or do the same sort of thing with a "multi instrument direct IO" since
you can set address via an input.
Stan
--------------------------------------------------------------------------
Stan Bischof Agilent Technologies 707-577-3994 stan_bischof@agilent.com
--------------------------------------------------------------------------
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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/".
> Hello all,
> I used to be a vrf member for several years. Then, I stopped because
> my company decided to stop using Vee. Now, I'm back using Vee in
> another application.
> Here's my problem: My older computer used Vee 5 and had an RS-232 to
> GPIB converter made by National Instruments. In that set up, I could
> programmatically step through all 30 GPIB addresses and "discover"
> what was out on the bus.
>
> My newer computer is running Vee 7 and it has a USB to GPIB converter.
> Since Vee IO natively "sees" the USB interface, I don't know how to
> step through each GPIB address to discover what devices are there.
>
> In my set up, it's possible that equipment will be removed for
> calibration and the replacement piece will have a different GPIB
> address than the one it replaced. Ultimately, I want my program to be
> able to a change in GPIB addresses.
>
Not sure what you were doing before, but I would guess that you were querying easy address to see which ones respond.
I would expect you can do the same thing in VEE 7 by creating a dummy instrument and stepping its address using a formula with the appropriate line, such as
IO.dummyInstrument.address=value;
to set the address then a direct IO to query the instrument ( dummyInstrument )
Or do the same sort of thing with a "multi instrument direct IO" since you can set address via an input.
Stan
--------------------------------------------------------------------------
Stan Bischof Agilent Technologies 707-577-3994 stan_bischof@agilent.com
--------------------------------------------------------------------------
---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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/".
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday 12 July 2006 20:08
<b><span style='font-weight:bold'>To:</span></b> VRF
<b><span style='font-weight:bold'>Subject:</span></b> [vrf] ProgrammaticallyFinding GPIB Devices</span></font></p></div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p><p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Helloall,</span></font></p><p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Iused</span></font> <font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>to</span></font> <font size=2 face=Arial><spanstyle='font-size:10.0pt;font-family:Arial'>be a vrf member for severalyears. Then, I stopped because my company decided to stop usingVee. Now, I'm back using Vee in another application.</span></font></p><p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Here'smy problem: My older computer used Vee 5 and had an RS-232 to GPIBconverter made by National Instruments. In that set up, I</span></font> <fontsize=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>could</span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>programmaticallystep through all 30 GPIB addresses and</span></font> <font size=2 face=Arial><spanstyle='font-size:10.0pt;font-family:Arial'>"discover" what was out onthe bus.</span></font></p><p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Mynewer computer is running Vee 7 and it has a USB to GPIB converter. Since</span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Vee IOnatively</span></font> <font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>"sees" the USB interface, I don't know how to stepthrough each GPIB address to discover what devices are there.</span></font></p><p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Inmy set up, it's possible that equipment will be removed for calibration and thereplacement piece will have a different GPIB address than the one itreplaced. </span></font> <font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Ultimately,</span></font> <font size=2 face=Arial><spanstyle='font-size:10.0pt;font-family:Arial'>I want my program to be able to</span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>achange in GPIB addresses.</span></font></p><p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Anyideas?</span></font></p><p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Thanks,</span></font></p><p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>-Shawn</span></font></p><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>
---
You are currently subscribed to vrf as: adam_kohler@agilent.com
To subscribe please send an email to:"vrf-request@lists.it.agilent.com" with the word subscribe in themessage body.
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/". </span></font></p></div><BR>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list, email "vrf@agilent.com". <BR>If you need help with the mailing list send a message to<BR>"owner-vrf@it.lists.it.agilent.com".<BR>Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".</BODY></html>