Real time measurment PS4824

Post your MATLAB discussions here
Post Reply
echosmith
Newbie
Posts: 0
Joined: Thu Oct 11, 2018 1:13 am

Real time measurment PS4824

Post by echosmith » Thu Oct 11, 2018 12:48 pm

Hi,

I’m working with 4824 and using one of example codes, PS4000a Block. I’d like to write a code for realtime measurement. I don’t
know how to modify it. It looks for me very hard to understand timebase and other time things.
Could you give me some hints or comments for it?

Best,
David

Hitesh
Advanced User
Advanced User
Posts: 2856
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Real time measurment PS4824

Post by Hitesh » Thu Oct 11, 2018 1:12 pm

Hi David,

It might be useful to know how long you need to capture data for and at what sampling interval.

For short term captures of fast signals, the block mode method of capture would be recommended. For long term captures, we recommend using the streaming example as a basis for your code.

For the former, setting the sampling interval is via a timebase index which can be calculated using the formulae in the Programmer's Guide.

Regards,
Hitesh

Software Dev. Engineer

Post Reply