If you are using VISA and the instrument is using the VXI-11 protocol (which I believe the 34980 does), then you can use VISA locking to protect one program from the other. Each program needs to call viLock() and viUnlock() around its set of calls to the device. If one program has the lock, the other will block until it's released.
If the LAN instrument does not use VXI-11 for its transport (such as the newer synthetic instruments, which are only programmed through IVI-COM or perhaps Socket calls), then I'm not sure there's a good solution. The LXI Consortium is actively working on "resource management", but I think it's too early to tell how it's going to pan out.
Brian Powell
LabVIEW R&D
>Does anybody know, what will happen if I run two separate Vee programs
>querying the same instrument over the LAN. First program is taking
>readings every 3 mins, 2nd program is taking reading every 24hrs. What
>happens if they both try to talk to the instrument at the same time?
>
>Will Vee crash or will the agilent 34980A put the tasks in a queue.
---
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/".
If the LAN instrument does not use VXI-11 for its transport (such as the newer synthetic instruments, which are only programmed through IVI-COM or perhaps Socket calls), then I'm not sure there's a good solution. The LXI Consortium is actively working on "resource management", but I think it's too early to tell how it's going to pan out.
Brian Powell
LabVIEW R&D
>Does anybody know, what will happen if I run two separate Vee programs
>querying the same instrument over the LAN. First program is taking
>readings every 3 mins, 2nd program is taking reading every 24hrs. What
>happens if they both try to talk to the instrument at the same time?
>
>Will Vee crash or will the agilent 34980A put the tasks in a queue.
---
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/".
Hi Vrf,
    Does anybody know, what will happen if I run two separate Vee programs querying the
same instrument over the LAN. First program is taking readings every 3 mins, 2nd program is
taking reading every 24hrs. What happens if they both try to talk to the instrument at the same time?
Will Vee crash or will the agilent 34980A put the tasks in a queue.
Thanks for your help in advance.
Best  regards
Gavin Candy. Â
Quality Engineer.
BHC Components  Ltd
20-21 Cumberland Drive
Granby Industrial Estate
Weymouth
DT4 Â 9TE
England
Tel: Â Â Â Â Â ++44 Â 1305 Â 830734
Fax: Â Â Â Â Â ++44 Â 1305 Â 760670
Email: Â Â Â Â gavin.candy@bhc.co.uk
website: Â Â Â http://www.bhc.co.uk
--- 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/".