Search found 32 matches

by XavierPico
Fri Feb 02, 2024 1:57 pm
Forum: PicoScope 7 for Windows, Linux and Mac
Topic: Signal generator in Picoscope7
Replies: 2
Views: 815

Signal generator in Picoscope7

Dear all,
I used the sigal generator in Picoscope6, all correct.
When I try to find icon Signal generator in Picoscope7, I haven't got is yet.
Many thank for your help, how to configurate Signal generator in Picoscope7 please.
Kind regards
Xavier
by XavierPico
Sun Mar 19, 2023 9:16 am
Forum: PicoScope 7 for Windows, Linux and Mac
Topic: Save screen data to csv file
Replies: 8
Views: 2726

Re: Save screen data to csv file

Many thanks for your answer.
I have converted a data file into *.m (under picoscope6, in fact, I don't find "Save as" with picoscope7?).
Therefore, Octave read only *.mat (not *.m)
I will discuss with my colleague who uses Matlab if there is a solution.
Kind Regards
Xavier
by XavierPico
Fri Mar 17, 2023 6:04 pm
Forum: PicoScope 7 for Windows, Linux and Mac
Topic: Save screen data to csv file
Replies: 8
Views: 2726

Re: Save screen data to csv file

Many thanks and I'll try this solution.
Cheers
Xavier
by XavierPico
Tue Oct 04, 2022 11:37 am
Forum: PicoScope 6 for Windows
Topic: How to carry out FFT analysis from recorded *.psdata
Replies: 2
Views: 5720

Re: How to carry out FFT analysis from recorded *.psdata

Many thanks for Martyn to send a clear and complete response!
Warm regards
Xavier
by XavierPico
Mon Oct 03, 2022 4:04 pm
Forum: PicoScope 6 for Windows
Topic: How to carry out FFT analysis from recorded *.psdata
Replies: 2
Views: 5720

How to carry out FFT analysis from recorded *.psdata

Hello,
I'd like to re-compute FFT analysis on the recorded waveform (*.psdata).
Is there some body who knows a solution with Picoscope 6?
Many thanks in advance
Warm regards
Xavier
by XavierPico
Wed Jan 19, 2022 6:19 am
Forum: C and C++
Topic: PS4262, how to understand the recordings from StreamDataHandler() with trigger
Replies: 0
Views: 4304

PS4262, how to understand the recordings from StreamDataHandler() with trigger

Dear technical support team, My question may be related to my personal understanding about the mode "CollectStreamingTriggered(UNIT_MODEL * unit)" with PS4262. I set trigger voltage = 100mV, preTrigger = 0 or 1000; I have used the C++ examples in github and made some minor modification on recorded d...
by XavierPico
Wed Jan 12, 2022 3:45 pm
Forum: C and C++
Topic: How to control Picoscope card 4824a by Embarcadero C++ Builder?
Replies: 21
Views: 11321

Re: How to control Picoscope card 4824a by Embarcadero C++ Builder?

Dear technical support team, My ps4824a is now operational with BlockDataHandler (with or without trigger). May I continue this discussion for the function ps4000aRunStreaming(unit->handle, &sampleInterval, timeUnits, preTrigger, postTrigger, autostop, downsampleRatio, ratioMode, bufferLength) that ...
by XavierPico
Mon Jan 10, 2022 2:51 pm
Forum: C and C++
Topic: How to control Picoscope card 4824a by Embarcadero C++ Builder?
Replies: 21
Views: 11321

Re: How to control Picoscope card 4824a by Embarcadero C++ Builder?

Dear Martyn, Many thanks for your continuing help. When I check all my program libraries this afternoon, I realized that ps4000a.dll I used is dated in April 2019. I have then updated the last one in SDK dated September 2021 (I have regenerated ps4000a.lib for my C++Builder). Very good surprise, my ...
by XavierPico
Mon Jan 10, 2022 1:39 pm
Forum: C and C++
Topic: How to control Picoscope card 4824a by Embarcadero C++ Builder?
Replies: 21
Views: 11321

Re: How to control Picoscope card 4824a by Embarcadero C++ Builder?

I have tested with a DC signal generator, Scale of ChannelA: 10V with DC coupled. Here are the results: Voltage generated Measured in Int 0V -32767 1.6V -32767 2.5V -29817 5.0V -21604 7.5V -13523 9.9V -5423 -1V 32767 -5V 21746 There is a dead band from 0 to 1.6V with wrong values. For the rest int v...
by XavierPico
Mon Jan 10, 2022 10:40 am
Forum: C and C++
Topic: How to control Picoscope card 4824a by Embarcadero C++ Builder?
Replies: 21
Views: 11321

Re: How to control Picoscope card 4824a by Embarcadero C++ Builder?

Here are the test results: Case 1: ChannelA: 50V, ChannelB:0.1V, are DCCoupled, nothing connected. Timebase, SampleInterval: 199 , 2.5E-6 Returned timeIndisposed = 252 First N-points readings, Channel readings are in ADC Counts and mV Channel A Channel B -32767 -49954 32767 99 -32767 -49954 32767 99...
by XavierPico
Mon Jan 10, 2022 7:27 am
Forum: C and C++
Topic: How to control Picoscope card 4824a by Embarcadero C++ Builder?
Replies: 21
Views: 11321

Re: How to control Picoscope card 4824a by Embarcadero C++ Builder?

I have tried to set (PS4000A_RANGE)unit->channelSettings[PS4000A_CHANNEL_A + i].range: 5, 10 and 50V. In all these cases, buffer values are always -32767, +32767, i.e. .range doesn't have any effect on the channels. Furthermore, when DCCoupled is enabled, results are even worse: almost all saturatio...
by XavierPico
Sun Jan 09, 2022 8:16 pm
Forum: C and C++
Topic: How to control Picoscope card 4824a by Embarcadero C++ Builder?
Replies: 21
Views: 11321

Re: How to control Picoscope card 4824a by Embarcadero C++ Builder?

I have taken the following function (sorry, I don't totally understand the content): void SetDefaults(UNIT * unit) { PICO_STATUS status; PICO_STATUS powerStatus; int32_t i; unit->resolution = Form1->ComboBox2->ItemIndex; // 0 to 4 (I have tested from 8bits to 16 bits) if (unit->hasETS) { status = ps...
by XavierPico
Sun Jan 09, 2022 12:07 pm
Forum: C and C++
Topic: How to control Picoscope card 4824a by Embarcadero C++ Builder?
Replies: 21
Views: 11321

Re: How to control Picoscope card 4824a by Embarcadero C++ Builder?

Just a result of some additional tests with signal generator: ChanelA is connected to a signal generator: 0 to 2.5V, 10kHz square waveform. ChanelA is set to no DC coupling (otherwise, all saturation). ChanelB is short-circuited with 50 Ohm resistor The recorded time step is correct according to fir...
by XavierPico
Sun Jan 09, 2022 8:23 am
Forum: C and C++
Topic: How to control Picoscope card 4824a by Embarcadero C++ Builder?
Replies: 21
Views: 11321

Re: How to control Picoscope card 4824a by Embarcadero C++ Builder?

Great! Thanks of your help, it progresses, although I haven't got yet successful result. Here are modified codes: void BlockDataHandlerXY(UNIT * unit, int8_t * text, int32_t offset) { int32_t timeIndisposed; int32_t maxSamples; int32_t i, j; float timeInterval; int32_t sampleCount = BUFFER_SIZE; int...
by XavierPico
Sat Jan 08, 2022 11:12 am
Forum: C and C++
Topic: How to control Picoscope card 4824a by Embarcadero C++ Builder?
Replies: 21
Views: 11321

Re: How to control Picoscope card 4824a by Embarcadero C++ Builder?

In fact, there is no error returned, only status = 286. I have tried with a computer with true USB3.0, always 286 returned.
I have tried with a sampleCount of 1000 and a timebase of 2000: the same as before, timeIndisposed didn't change.
Many thanks
Xavier