Test and Measurement Forum

Setting the Time_Interval

Post your VB and VBA discussions here

Setting the Time_Interval

Postby apples1927 » Tue Oct 18, 2011 2:36 pm

I have recently taken over a piece of VB vode which uses a picoscope in block mode to measure an impact - deceleration and velocity. The time interval of data capture of the the impact is currently over 1millisecond. I want to increase this to be 2 milliseconds but am having difficulty where it is possible to set these parameters, whether in the pico module (VB code) or elsewhere. I see time_base in the GetTimebase API, but not defined clearly anywhere else. Grateful for any help.
apples1927
Newbie
 
Posts: 0
Joined: Tue Oct 18, 2011 2:27 pm

Re: Setting the Time_Interval

Postby Martyn » Wed Oct 19, 2011 7:02 am

In general the timebase would be set by the call to RunBlock and will be detailed in the documentation that accompanies the sdk.

If you goto our website at

http://www.picotech.com/software.html

select your PicoScope product at Step 1 and the SDK at Step 2 it will include a programmers manual and/or user guide which will include the relevant details.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2287
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