Search found 3 matches

by adw
Mon Oct 24, 2011 11:47 pm
Forum: C and C++
Topic: Questions about ps3000 C++ example program
Replies: 5
Views: 8921

Re: Questions about ps3000 C++ example program

short ps3000_run_streaming_ns ( short handle, unsigned long sample_interval, PS3000_TIME_UNITS time_units, unsigned long max_samples , short auto_stop, unsigned long noOfSamplesPerAggregate, unsigned long overview_buffer_size ) Max_samples is an unsigned long, so it can range from 0 to 4,294,967,295...
by adw
Thu Oct 20, 2011 12:31 am
Forum: C and C++
Topic: Questions about ps3000 C++ example program
Replies: 5
Views: 8921

Re: Questions about ps3000 C++ example program

Okay, thankyou. I'm trying to use the example code to sample 5 million samples in 5 seconds. I set the Sample Interval = 1, Sample Time Units = Micro, No of Samples = 5,000,000, Numerator = 1 and Denominator = 1. When I run the gui with these inputs, the ps3000_run_streaming_ns is returning 0. It se...
by adw
Wed Aug 24, 2011 5:24 pm
Forum: C and C++
Topic: Questions about ps3000 C++ example program
Replies: 5
Views: 8921

Questions about ps3000 C++ example program

Sorry in advance if these are obvious questions, but I trying to understand how the fast streaming example works. Question 1 In the streamintTests.cpp file, the code below is used 3 times. I'm assuming this is converting all time units to nanoseconds, but if I seclect seconds for the time units, I w...