Search found 10 matches

by Morris
Mon Nov 16, 2009 9:40 am
Forum: General Software Discussions
Topic: Buffer problem in fast streaming
Replies: 7
Views: 3835

Re: Buffer problem in fast streaming

Thank you Robin. I have now solved the problem which was associated with how two dimensional arrays are declared in Delphi an C++. The following code fragments explain the solution: [code] type TValuesArray = array of array of smallint ; TValuesArrayPtr = ^TValuesArray ; procedure SimpleFastStream( ...
by Morris
Wed Nov 11, 2009 3:51 pm
Forum: General Software Discussions
Topic: Buffer problem in fast streaming
Replies: 7
Views: 3835

Re: Buffer problem in fast streaming

Robin, Thank you for your response. I am using aggregation set to 1. The reading code I am using is : type TValuesArray = array of smallint ; var vArray : TValuesArray ; That is vArray is an undimensioned array of small integer procedure SimpleFastStream(var ovBuffer : smallint ; overflow : smallint...
by Morris
Wed Nov 11, 2009 10:57 am
Forum: General Software Discussions
Topic: Buffer problem in fast streaming
Replies: 7
Views: 3835

Re: Buffer problem in fast streaming

I have explored further and I can now access four memory arrays. The first is Channel A and dxoes not have any transients at the transition at the end of the buffer. The second is Channel A delayed by 12 samples. It does have a transient at the buffer rollover. The third is Channel B delayed by 24 s...
by Morris
Tue Nov 10, 2009 10:49 pm
Forum: General Software Discussions
Topic: Buffer problem in fast streaming
Replies: 7
Views: 3835

Re: Buffer problem in fast streaming

Thank you, Robin. I have continued to work on the problem, and realise that it might be due to my not understanding the overview buffer structure. If I inspect the overview buffer, starting at the location pointed to by the parameter passed to the ps3000_get_streaming_last_values procedure, I can ac...
by Morris
Mon Nov 09, 2009 5:10 pm
Forum: General Software Discussions
Topic: Buffer problem in fast streaming
Replies: 7
Views: 3835

Buffer problem in fast streaming

I am launching fast streaming with the following Delphi code : [color=#0000FF]ps3000_set_ets ( ps3000_handle, 0, 0, 0 ); ps3000_set_channel ( ps3000_handle, 0, true, false, 9 ); ps3000_set_channel ( ps3000_handle, 1, true, false, 9 ); ps3000_set_trigger ( ps3000_handle, 5, 0, 0, 0, 0 ); ps3000_get_t...
by Morris
Thu Nov 05, 2009 12:09 am
Forum: General Software Discussions
Topic: PS 3224 Fast Streaming Mode
Replies: 6
Views: 4050

Re: PS 3224 Fast Streaming Mode

Thank you for your response. No, I am afraid that it does not answer my need which is to stream data for long periods. I am using ps3000_get_streaming_last_values driven by a timer which is much shorter than the time to fill the buffer I assign when invoking the ps3000_run_streaming_ns function. Onc...
by Morris
Wed Nov 04, 2009 3:04 pm
Forum: General Software Discussions
Topic: PS 3224 Fast Streaming Mode
Replies: 6
Views: 4050

Re: PS 3224 Fast Streaming Mode

How do you clear the overview buffer, please?
by Morris
Wed Nov 04, 2009 3:01 pm
Forum: General Software Discussions
Topic: Is fast streaming possible in Delphi
Replies: 2
Views: 2272

Re: Is fast streaming possible in Delphi

Yes it is (answering my own question).

I now have a fairly basic app which will set up the unit, collect streaming data, and store to disk.

I have not run it for much longer than a minute yet but it seems to work fine.
by Morris
Fri Jun 19, 2009 6:49 pm
Forum: General Software Discussions
Topic: Is fast streaming possible in Delphi
Replies: 2
Views: 2272

Added info

Sorry, I realised that I should show the declaration of my call back routine: procedure SimpleFastStream(ovBufferPtr : pointer ; overflow : smallint ; TriggeredAt : Cardinal ; Triggered : smallint ; AutoStop : smallint ; nValues : Cardinal ) ; var dummy : integer ; begin Entered := true ; try gBuffe...
by Morris
Fri Jun 19, 2009 6:26 pm
Forum: General Software Discussions
Topic: Is fast streaming possible in Delphi
Replies: 2
Views: 2272

Is fast streaming possible in Delphi

I am trying to get fast streaming in Delphi to work, without success. I have corrected the compile errors in the sample code and it works in block capture or standard streaming modes. The relevant code for my problem is: procedure TfmPS3000.StartFastButtonClick(Sender: TObject); var timebase : small...