Picoscope 2202 streaming

Post your VB and VBA discussions here
Post Reply
Posts: 1
Joined: Tue Mar 31, 2009 10:44 am

Picoscope 2202 streaming

Post by Alexiusuk » Tue Apr 07, 2009 12:24 pm

I have been trying to create a programme which reads the picoscope streaming values. I was advised from another forum to create an array and store the streaming value in there then use a msg box to dispaly the value in the array. This is the code which I have learnt from the guide.

ReDim Values_a(100)
ps2000_set_channel(ps2000_handle, 0, True, 0, 1)
ps2000_run_streaming(ps2000_handle, 10, 100, 0)
ps2000_get_values(ps2000_handle, Values_a(100), 0, 0, 0, 0, 100)

MsgBox("value is: " & Values_a(0))

The msg box which returns is alway dispalying 0, can anybody see what I am doing incorrectly?

Advanced User
Advanced User
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Post by ziko » Thu Apr 09, 2009 4:15 pm

I think there are examples in the PS3000 for streaming they should operate in a similar way. Have a look at that.

Kind regards

Technical Specialist

Post Reply