NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
srapp@moog.de
Posts: 117
0 Kudos

Lock of GPIB measurement device

Hello,

I am using test stand 3.1 (multithreading) and I am using the IVI drivers for agilent GPIB measurement devices.

Is it necessary to lock the GPIB hardware for example with the test stand synchronizaions steps to use it only once at one time or is the lock automatically done by the measurement and automation explorer or the IVI driver?

 

regards

 

Samuel 

Active Participant
PeterFoerster
Posts: 233
0 Kudos

Re: Lock of GPIB measurement device

Hi,

 

this really depends on how you implement your test:

 

If you are using batch model, you need to lock the resource with Batch synchronisation steps.

If you are using parallel model, you need to lock the ressource using the lock steps.

 

Are you espreiencing any problems yet, or are you just asking to avoid problems in the future?

 

Best regards

Peter Förster
Application Engineer
NI Germany
Member
srapp@moog.de
Posts: 117
0 Kudos

Re: Lock of GPIB measurement device

Hello,

Thank You!

I am asking to know how have to create my sequences 

I am using sequential model, but I am starting a second sequence in a new thread from my main sequence.  The second sequence and the main sequence access on the same hardware which is a power supply. Is it enough to lock the power supply or is it necessary to lock all the devices which read an write on the GPIB bus to prevent data colission or is this ensued by the IVI driver or the Measurement and Automation explorer? 

 

regards

 

Samuel Rapp

Active Participant
PeterFoerster
Posts: 233
0 Kudos

Re: Lock of GPIB measurement device

Hi,

 

I am not sure if I understood you correctly. Could you please post an example that demonstrates how your tasks are set up.

 

It is not necessary to lock the entire communication on the Bus. It will be enough to lock the Part where you write to the power supply for as long as you don't want any change to it.

 

Best regards,

Peter Förster
Application Engineer
NI Germany
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page