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_open_unit()
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?
Thanks
Cart

