Test and Measurement Forum

Integration Time

Post your VB and VBA discussions here

Integration Time

Postby fernando » Mon Dec 02, 2013 1:26 pm

changing the integration time on the PicoScope 4424 model example for VB?
Last edited by fernando on Wed Dec 04, 2013 5:06 pm, edited 1 time in total.
fernando
Newbie
 
Posts: 0
Joined: Mon Dec 02, 2013 1:18 pm

Re: Integration Time

Postby Hitesh » Mon Dec 02, 2013 4:26 pm

Hi Fernando,

Are you referring to changing the sampling interval?

Which capture mode are you looking to use?

Thanks,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2063
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Integration Time

Postby fernando » Wed Dec 04, 2013 12:32 pm

Hi!

I need to make measurements with acquisition time of 1000 samples per second. I'm using the block mode. The measurements made show a lot of noise when using voltages in millivolts

Thanks.
fernando
Newbie
 
Posts: 0
Joined: Mon Dec 02, 2013 1:18 pm

Re: Integration Time

Postby Hitesh » Wed Dec 04, 2013 3:47 pm

Hi Fernando,

What timebase index are you using to set the sampling interval? Have you referred to the Programmer's Guide for guidance on how to select the timebase index?

What voltage range are you setting on the channel?

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2063
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Integration Time

Postby fernando » Wed Dec 04, 2013 4:28 pm

Hi,

The response of question is present in the data below:

Call ps4000SetChannel(handle, 0, 1, 1, 12)
Call ps4000SetChannel(handle, 1, 1, 1, 3)
Call ps4000SetChannel(handle, 2, 0, 1, 12)
Call ps4000SetChannel(handle, 3, 0, 1, 12)

timebase = 20000
no_of_samples = 500

status = ps4000GetTimebase(handle, timebase, no_of_samples, time_interval, 16, max_samples, 0)

status = RunBlock(handle, 0, no_of_samples, timebase, 16, 0)

My doubt too is about selection of the range of time base: low or high. In accordance with the page 17 of the programer's guide.

Thanks.
fernando
Newbie
 
Posts: 0
Joined: Mon Dec 02, 2013 1:18 pm

Re: Integration Time

Postby Hitesh » Thu Dec 05, 2013 2:27 pm

Hi Fernando,

Is 20000 the correct index that you intend to use? This corresponds to ~999us.

Which channel are you getting the noise on?

Does it do the same when you use PicoScope 6?

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2063
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Integration Time

Postby fernando » Fri Dec 06, 2013 2:34 pm

Hi,

The measures must be realized in the time of 500 milliseconds. The number of measures must be equal to 500.

All channels feature noise.

A test of measure realized with a battery of 9 V too presented the noise

What you mean when refers to the PicoScope 6?

The index of 20000 don't generates 999us. According page 17 of programmer's guide, the index 20000 generates 250us.

The application of the PicoScope in this project is necessary voltages the measure of 400 V in the channel A and 100 mV in the channel B (or other) of dinamic form .

Thanks.
fernando
Newbie
 
Posts: 0
Joined: Mon Dec 02, 2013 1:18 pm

Re: Integration Time

Postby fernando » Fri Dec 06, 2013 4:43 pm

According the table of the page 17, the question is about the select of mode "high" or "low".

As select the mode high of the time base?

Is necessary select this the mode for a test, what procedure must be utilized?
fernando
Newbie
 
Posts: 0
Joined: Mon Dec 02, 2013 1:18 pm

Re: Integration Time

Postby Martyn » Fri Dec 06, 2013 5:38 pm

You don't select high or low, it is set by the value of n as listed in the table. You will be using high for the timebase you mention, hence a time interval of 999.95 usecs
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2355
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Integration Time

Postby fernando » Fri Dec 06, 2013 6:11 pm

OK!

But about of the noise level solution?This is the my big problem.

Thanks.
fernando
Newbie
 
Posts: 0
Joined: Mon Dec 02, 2013 1:18 pm

Re: Integration Time

Postby Martyn » Fri Dec 06, 2013 7:59 pm

Are you using a laptop connected to the mains ? Try running on batteries.
Are there other possible sources of noise nearby ? Try moving the scope and cables.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2355
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to VB and VBA (Excel, Access)

Who is online

Users browsing this forum: No registered users and 0 guests