Search found 14 matches

by zipcode
Wed Feb 13, 2019 11:52 pm
Forum: C and C++
Topic: Set range channel for probes ps4000aSetChannel()
Replies: 6
Views: 10888

Re: Set range channel for probes ps4000aSetChannel()

I found out how it has to be used. So now basicaly i do not have to use all the settings that have to deal with ranges. for(i=0;ihandle, userProbe...
by zipcode
Wed Feb 13, 2019 10:33 pm
Forum: C and C++
Topic: Set range channel for probes ps4000aSetChannel()
Replies: 6
Views: 10888

Re: Set range channel for probes ps4000aSetChannel()

Yes and it dones't work.
by zipcode
Wed Feb 13, 2019 8:36 pm
Forum: C and C++
Topic: Set range channel for probes ps4000aSetChannel()
Replies: 6
Views: 10888

Re: Set range channel for probes ps4000aSetChannel()

Yes, the ps4000aSetProbeInteractionCallback function populates the values of userProbeInfo.userProbeInteractions . I can get access to them and obtain for example rangeFirst_ which in this case returns 6003 but can not be established as a value range inside ps4000aSetChannel . Also when the call to ...
by zipcode
Wed Feb 13, 2019 5:21 pm
Forum: C and C++
Topic: Set range channel for probes ps4000aSetChannel()
Replies: 6
Views: 10888

Re: Set range channel for probes ps4000aSetChannel()

I did not find a solution, ps4000aSetChannel() does not accept values like PICO_1KV_500V or 6010 . I kind of hardcoded the range so when I make a plot from the csv values the signal has the same shape as the one from the software. For example to use the 500V for the 442 differential probe i set the ...
by zipcode
Wed Feb 13, 2019 2:49 am
Forum: General Software Discussions
Topic: Configuring a PicoConnectProbe through the API
Replies: 10
Views: 8069

Re: Configuring a PicoConnectProbe through the API

Is there a way to just tell the unit that I want to use a connected probe without handling errors? Could I pass a null pointer to ps4000aSetProbeInteractionCallback? [/size] I recommend you to use the available c example and forget about python. You just have to run the ps4000aCon.c file and works ...
by zipcode
Wed Feb 13, 2019 2:29 am
Forum: C and C++
Topic: Set range channel for probes ps4000aSetChannel()
Replies: 6
Views: 10888

Set range channel for probes ps4000aSetChannel()

I have a picoscope 4444 connected with a TA300 current probe and an 442 differential probe ,to be able to make current and voltage measurements. On the programmers-guide PDF it is specified that the range is defined in the header file : PICO_STATUS ps4000aSetChannel ( int16_t handle, PS4000A_CHANNEL...
by zipcode
Wed Feb 13, 2019 1:51 am
Forum: General Software Discussions
Topic: Streaming with Python
Replies: 7
Views: 13708

Re: Streaming with Python

Streaming mode with python looks like is not available for now.
by zipcode
Tue Feb 05, 2019 3:02 pm
Forum: General Software Discussions
Topic: Python Callback Function Error
Replies: 3
Views: 4831

Re: Python Callback Function Error

NeilH wrote:
Thu Dec 06, 2018 10:09 am
Hi

We are currently looking into implementing streaming mode for Python and will be generating examples for streaming mode soon
Any news?
by zipcode
Mon Dec 10, 2018 8:49 am
Forum: C and C++
Topic: Reduce Sample Number in Streaming Mode
Replies: 2
Views: 7526

Re: Reduce Sample Number in Streaming Mode

I'm trying to use ps4000aGettimebase(). With this function i can specify the number of samples and the time interval between readings. Can this be used in streaming mode?
I know that I can specify the time interval between readings when I call ps4000aRunStreaming() but not the number of samples.
by zipcode
Fri Dec 07, 2018 9:40 am
Forum: C and C++
Topic: Reduce Sample Number in Streaming Mode
Replies: 2
Views: 7526

Reduce Sample Number in Streaming Mode

My question is the following: I am running the 4444a in streaming mode and I want a reduce the number of samples , how can be made? In this case I want 1 sample every 250ms,during a long period of time. uint32_t sampleInterval=250 ps4000aRunStreaming(unit->handle, &sampleInterval, PS4000A_MS, preTri...
by zipcode
Fri Dec 07, 2018 6:35 am
Forum: General Software Discussions
Topic: Python Callback Function Error
Replies: 3
Views: 4831

Re: Python Callback Function Error

NeilH wrote:
Thu Dec 06, 2018 10:09 am
Hi

We are currently looking into implementing streaming mode for Python and will be generating examples for streaming mode soon
Thank you :wink:
by zipcode
Wed Dec 05, 2018 5:54 pm
Forum: General Software Discussions
Topic: Python Callback Function Error
Replies: 3
Views: 4831

Python Callback Function Error

I am also having problems with streaming in Python. I'm stuck with the callback function. First I defined the callback function as: @CFUNCTYPE(None, c_int16,c_int32,c_uint32,c_int16,c_uint32,c_int16,c_int16,c_int32) def callBackStreaming(handle,noOfSamples,startIndex,overflow,triggerAt,triggered,aut...
by zipcode
Wed Dec 05, 2018 9:12 am
Forum: General Software Discussions
Topic: Streaming with Python
Replies: 7
Views: 13708

Re: Streaming with Python

Where do you problems with https://github.com/jbentham/picostream ?
by zipcode
Wed Dec 05, 2018 9:07 am
Forum: General Software Discussions
Topic: Streaming with Python
Replies: 7
Views: 13708

Re: Streaming with Python

I am also having problems with streaming in Python. I'm stuck with the callback function. First I defined the callback function as: @CFUNCTYPE(None, c_int16,c_int32,c_uint32,c_int16,c_uint32,c_int16,c_int16,c_int32) def callBackStreaming(handle,noOfSamples,startIndex,overflow,triggerAt,triggered,aut...