Search found 10 matches

by bouttier
Tue Jul 19, 2016 9:58 am
Forum: C and C++
Topic: Pico 4000 : Pulse Width Qualifier issues
Replies: 11
Views: 7148

Re: Pico 4000 : Pulse Width Qualifier issues

Hi Martyn, I am trying (and succeeding) to precisely measure time periods, and I want my program to fire triggers when periods are out of selected range, but I can't afford to miss one if two periods in a row are out of range, so I need a continuous acquisition and datation (for 3 to 30 days tests)....
by bouttier
Tue Jul 19, 2016 9:46 am
Forum: C and C++
Topic: Sampling Interval issues in streaming mode (-8ns)
Replies: 1
Views: 3146

Sampling Interval issues in streaming mode (-8ns)

Hi ! It's me again, this topic is a "continuation" of my previous one : https://www.picotech.com/support/topic25081.html So I eventually found a solution to my pulse width qualifier issues : I made up a trigger fonction by myself in C langage, based on the example provided by pico Tech. Thanks to th...
by bouttier
Wed Jun 29, 2016 1:23 pm
Forum: C and C++
Topic: Pico 4000 : Pulse Width Qualifier issues
Replies: 11
Views: 7148

Re: Pico 4000 : Pulse Width Qualifier issues

Hi Hitesh, Here is my code to calculate the time between two triggers (unfortunately based on the PC CLOCK) : while(!_kbhit()) { g_ready = FALSE; clock_gettime(CLOCK_MONOTONIC, &specInit); ps4000RunBlock(unit->handle, 0, sampleCount, timebase, oversample, &timeIndisposed, 0, CallBackBlock, NULL); ps...
by bouttier
Tue Jun 28, 2016 3:41 pm
Forum: General Software Discussions
Topic: Relative time between triggers Rapid Block Mode
Replies: 20
Views: 17396

Re: Relative time between triggers Rapid Block Mode

Hi, I'm new to the world of Picoscope but I'm just trying to retrieve the relative time between triggers, either in rapid block mode or simple block mode (i'm working at 200Hz max so it's not a problem) with a picoscope 4227. Does anyone know if that is possible ? If it is not in the simple way of c...
by bouttier
Tue Jun 28, 2016 9:43 am
Forum: C and C++
Topic: Pico 4000 : Pulse Width Qualifier issues
Replies: 11
Views: 7148

Re: Pico 4000 : Pulse Width Qualifier issues

Hi Hitesh, So this is working now : My trigger is functioning and there is no misses of pulses. But I have a problem : When I use the date of the PC to measure my Period Time, it's not very accurate ... there is an average 20us difference with the reality. As you can see on the screenshots, my appli...
by bouttier
Mon Jun 27, 2016 11:49 am
Forum: C and C++
Topic: Pico 4000 : Pulse Width Qualifier issues
Replies: 11
Views: 7148

Re: Pico 4000 : Pulse Width Qualifier issues

Thanks for your quick reply ! So I need to trigger every 10ms (with approx 10% variability), my sampling rate can be around 1 to 10 us/sample. I tried to call the StreamingDataHandler in a while loop but i get only around 80/1000 triggers for a 10 seconds acquisition... So I understand it won't be p...
by bouttier
Mon Jun 27, 2016 9:21 am
Forum: C and C++
Topic: Pico 4000 : Pulse Width Qualifier issues
Replies: 11
Views: 7148

Re: Pico 4000 : Pulse Width Qualifier issues

Okay, I solved my problem by setting the direction of the trigger on RISING_OR_FALLING ! Now I have a new issue : I would like to get continuous triggers on streaming mode (currently the streaming is stopped each time a trigger fires). But I don't understand where the autostop flag is set up to 1 .....
by bouttier
Fri Jun 24, 2016 9:12 am
Forum: C and C++
Topic: Pico 4000 : Pulse Width Qualifier issues
Replies: 11
Views: 7148

Re: Pico 4000 : Pulse Width Qualifier issues

Hi Hitesh, Thanks for your reply, so yes the pulse width trigger works perfectly in the soft as you can see on the screenshots. This is the behaviour i want to reproduce. My working trigger settings (pulse width between 117500 samples and 1325000 samples = 9 to 11ms periods): int16_t triggerVoltageM...
by bouttier
Thu Jun 23, 2016 2:20 pm
Forum: C and C++
Topic: Pico 4000 : Pulse Width Qualifier issues
Replies: 11
Views: 7148

Pico 4000 : Pulse Width Qualifier issues

Hello all ! I'm having some issues to set up a pulse width qualifier on my trigger ! Let's explain the problem : I have a 100Hz rectangular 0 to 2V signal with 50% duty cycle, and the trigger fires as following : When i set my pulse width limit around 1 250 000 samples of 8ns each (timebase n=1) , i...
by bouttier
Thu Jun 23, 2016 1:44 pm
Forum: Introductions
Topic: French Intern
Replies: 1
Views: 2170

French Intern

Hello all ! My name is Martin and i'm a 23YO engineering student in 4th year of System and Communications Networks (Telecommunications equivalent) . I like motorbikes, netflix and new techs. I come from Aix en Provence (France), a city near Marseille. I'm currently doing a 10 weeks internship in a c...