i am using the Picoscope 3206B to synchronize this measurement system (PicoScope : 1st) with another measurement system (2nd, it is not a PicoScope, but it has a Sync Input which needs a specific signal).
I connect PicoScope with the SDK of Matlab, i can capture data with channel A or/and B. And now i want to send a square signal with the same samplerate like the samplerate which i define to capture the data in PicoScope.
In the end i want to have one specific data (captured as example at channel A) to a specific time ( t1 ) and in addition to that i want to measure to the same specific time like (t1) an other information with the second measurement system ( 2nd).
How can I send a signal over the GEN Output with the same samplerate like PicoScope itself?
Second problem is, where do i have to call the following functions?
get_str_latest_values_status = invoke(app.ps3206B_obj, 'GetStreamingLatestValues');
streamValue = invoke(app.ps3206B_obj, 'IsReady');
...some more code like the example
end
end
My problem is, everytime Picoscope sample the buffer to get the data i want to send out a signal over the GEN Output.
What sampling frequency will you using with the scope?
Please note the signal generator can only output up to 1 MHz and if you want a clean square wave you will the maximum frequency you can use is 200 kHz.
thanks for your help, it makes a few things clear.
I meant, that every time PicoScope samples the buffer, let´s say a sampletime of PicoScope is 50 us then i want to to generate a signal (not specific a rectangular one) which has a rising edge, and the time difference between the rising edges should be also 50 us. I want to send another measuremen system a signal which should tell him, PicoScope gets data every x-times and please do the same and this as precisely as possible.
If you have any other idea to create such a signal rather than a rectangular one, don´t hesitate to describe it here .
ok i understand. My system is a little bit difficult. I have sent "Hitesh" a drawing of my system. If you have contact to him, please get some information about my system.
Do you know any kind of way how i can synchronize another system (it is a high speed camera) with PicoScope? My idea was to send a rectangular signal with the same samplerate as PicoScope to the camera system, so the camera will take pictures every x-times as the rising edge appears of the regtangular signal. Problem here: If you say that PicoScope will not sample every 50 us the buffer to get the data, i have no reliable picture to the data of the signal which i process with PicoScope.
unfortunately it still doesn´t work. I changed as you described the sweeps variable to = 0;
This signal will be generated when i am calling the runstreaming function, even i have defined the triggersource to EXT IN.
My EXT In signal is a 0-5 V TTL level, and the variable is where it should react when the trigger occurs is in this range. (-> 5V)
Did anybody else already have an example or more advices?
Dear All,
I am trying to do something similar to what you do. Did you find any solution?
What I want to do is, send a signal from Picoscope which tiggers Agilent Signal Generator. The Gen output of Picoscope will be Connected to Sync input of the Agilent Signal Generator.
My signal can be a set of 0s and 1s with a specified period.
Everytime I want to first Trigger Agilen Sig Generator with Picoscope and then measure another signal with Picoscope in Matlab.
I would appreciate if you could help on this.
Regards