Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

faster AC voltage measurement readings with hp34401a

Solved!
Go to solution

Hi,

I am using the hp33120a to generate sinus  signal with frequencysweep und record AC voltage measurement readings with hp34401a . This measurement however I consider to take exceptionally long for what it is(approx 3 seconds per measurement).here i post my code ,If anyone can give me some ideas how to speed up these readings that would be appreciated.

 i

 

 

Thanks

 

 

Note: Labview 2009 SP1

0 Kudos
Message 1 of 6
(3,678 Views)

Without any code it is hard to tell.

0 Kudos
Message 2 of 6
(3,676 Views)

@nyc_(is_out_of_here) wrote:

Without any code it is hard to tell.


thanks,i have just posted my code

0 Kudos
Message 3 of 6
(3,668 Views)

Is the DMM taking that long to do the measurement or is your code taking that long?  Do you have filtering on?  What is the appature rate in the DMM set to?

 

Yes, it would help to see code.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 6
(3,667 Views)
Solution
Accepted by topic author jetfire

You shold not be reinitializing and closing your VISA resouces for every measurement.  Initialize you equipment once before your main loop, close them once after the main loop, and perform your reads inside of the loop.  This will cut down a lot of overhead communications that you don't want.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 5 of 6
(3,663 Views)

thanks for your advise,i am new to Labview,according to example and device driver of NI i have writed this Code.


@crossrulz wrote:

You shold not be reinitializing and closing your VISA resouces for every measurement.  Initialize you equipment once before your main loop, close them once after the main loop, and perform your reads inside of the loop.  This will cut down a lot of overhead communications that you don't want.


 

0 Kudos
Message 6 of 6
(3,658 Views)