У нас имеется проблема с осциллографом PicoScope 9201A.
Она проявляется в следущем: при сборе данных в цикле время опроса с каждым разом увеличивается.
Как повторить проблему:
Используя пример на Delphi из SDK_2.3.2 мы добавили цикл сбора данных и засекаем время от начало до конца сбора.
Пример в приложении.
Фаил: MainClient.pas:
Code: Select all
Ansver := AnsiString(FUDS_RC.ExecCommand(ComboBox1.Text));
// Ansver := Spider.ExecuteStringOfCommands(ComboBox1.Text);
if Trim(UpperCase(ComboBox1.Text)) = 'WFM:DATA?' then
+ begin
+ Label1.Caption:= DateTimeToStr(now);
+ for iii:=1 to 1000 do begin
+ Ansver := AnsiString(FUDS_RC.ExecCommand(ComboBox1.Text));
+ DrawCurve(Ansver);
+ end;
+ Label2.Caption:= DateTimeToStr(now);
+ end;
if FDelay > 0 then
begin
Dec(FDelay);
if FDelay = 0 then
ClrImage
end;
С чем это связано и как от этого избавиться?
Спасибо.
Dear Support!
We have the problem with PicoScope 9201A.
Problem description: A data acquisition time is increasing if we collect data in a loop.
How to reproduce it:
We use your example from SDK_2.3.2 on a Delphi. We added some code for the loop and we check the time from a beginning to the end of the data collection.
File: MainClient.pas:
Code: Select all
Ansver := AnsiString(FUDS_RC.ExecCommand(ComboBox1.Text));
// Ansver := Spider.ExecuteStringOfCommands(ComboBox1.Text);
if Trim(UpperCase(ComboBox1.Text)) = 'WFM:DATA?' then
+ begin
+ Label1.Caption:= DateTimeToStr(now);
+ for iii:=1 to 1000 do begin
+ Ansver := AnsiString(FUDS_RC.ExecCommand(ComboBox1.Text));
+ DrawCurve(Ansver);
+ end;
+ Label2.Caption:= DateTimeToStr(now);
+ end;
if FDelay > 0 then
begin
Dec(FDelay);
if FDelay = 0 then
ClrImage
end;
Why is this and how to solve it?
Best wishes