Timebase problems

Post your LabVIEW discussions here
Post Reply
Posts: 4
Joined: Fri Oct 26, 2007 4:13 pm

Timebase problems

Post by BDS » Fri Aug 22, 2008 4:33 pm

I have a pico 3424 scope and am having trouble with the timebase function. When I run get_timebase_2 I don't get expected values for the max samples. I get one of two results. If requested samples is less than the max I get value of -513 for max samples and a status of 1. If the requested samples is greater than the max then it returns whatever value was passed to max samples and the status is 0.
The only way to find the max samples is to iterate the requested samples until I get a status of 0.
I'm not sure if this is a problem but -513 looks like an error code so makes me worry. So far I have not seen the max number change except when changing the number of active channels. Is this always true?

Advanced User
Advanced User
Posts: 109
Joined: Thu Sep 28, 2006 3:50 pm

Post by gruntman » Mon Sep 08, 2008 3:33 pm


I imagine that the function is getting passed the wrong parameters or that it is not being called in the right manner. I have attached an example for you on the proper way/procedure on how to get the max samples from the get_timebase function. If you have any questions feel free to ask.


Richard Boyd
Crag Technologies, Inc
PS3000 Labview Example with Max Samples
(220.11 KiB) Downloaded 290 times

Post Reply