Search found 9 matches

by hinxx
Fri Jul 12, 2019 6:37 am
Forum: PicoScope for Linux
Topic: Save waveform after each trigger
Replies: 1
Views: 48

Save waveform after each trigger

Is there a way to automagically save a waveform as text/png that was captured on each repeated trigger?
by hinxx
Fri May 17, 2019 12:12 pm
Forum: C and C++
Topic: ps4000aGetTimebase() return value PICO_INVALID_CHANNEL
Replies: 1
Views: 177

ps4000aGetTimebase() return value PICO_INVALID_CHANNEL

Looking at the ps4000aCon.c I see no error checks when ps4000aGetTimebase() is used. In my code I had to check the return status since I was getting PICO_INVALID_CHANNEL messages. I recall getting these early in development process, and I wonder if the reason is/was that I had no channels enabled th...
by hinxx
Fri May 17, 2019 12:06 pm
Forum: C and C++
Topic: ps4000aMaximumValue/ps4000aMinimumValue results
Replies: 1
Views: 126

ps4000aMaximumValue/ps4000aMinimumValue results

What does the value returned by these two functions stand for? IOW, what could it is useful for?
I seem to be getting the same values for any voltage range I set; minimum -32 767, maximum +32 767 that is.
by hinxx
Thu May 16, 2019 8:37 am
Forum: C and C++
Topic: use of ps4000aSetSimpleTrigger() vs. ps4000aSetTriggerChannelProperties() et. al.
Replies: 1
Views: 161

Re: use of ps4000aSetSimpleTrigger() vs. ps4000aSetTriggerChannelProperties() et. al.

Looking at the PS4000A API, both ps4000aSetTriggerChannelProperties() and ps4000aSetTriggerChannelConditions() have the ability to disable the trigger (using nConditions=0). What would be best practice to enable/disable triggering on a particular channel? Will calling one of the above functions be e...
by hinxx
Wed May 15, 2019 2:28 pm
Forum: C and C++
Topic: use of ps4000aSetSimpleTrigger() vs. ps4000aSetTriggerChannelProperties() et. al.
Replies: 1
Views: 161

use of ps4000aSetSimpleTrigger() vs. ps4000aSetTriggerChannelProperties() et. al.

This is on PS4824, using PS4000A C/C++ API. If user sets up triggering using ps4000aSetSimpleTrigger() should it be disabled using the same ps4000aSetSimpleTrigger() with 2nd argument 0? Or can one just issue calls to ps4000aSetTriggerChannelProperties() and buddies in order to reconfigure the trigg...
by hinxx
Wed May 15, 2019 2:23 pm
Forum: C and C++
Topic: ps4000aSetSimpleTrigger() returned 13
Replies: 3
Views: 200

Re: ps4000aSetSimpleTrigger() returned 13

You're right Martyn..
by hinxx
Mon May 13, 2019 6:14 pm
Forum: C and C++
Topic: Direction parameter on pulse width qualifier
Replies: 4
Views: 1925

Re: Direction parameter on pulse width qualifier

Does the same logic apply to Ps4000a API? Ex. for PS 4824 unit.
by hinxx
Mon May 13, 2019 6:10 pm
Forum: C and C++
Topic: ps4000aSetSimpleTrigger() returned 13
Replies: 3
Views: 200

Re: ps4000aSetSimpleTrigger() returned 13

I think I found the problem. I was not paying close attention to the way my buffers were allocated; turns out I only had one buffer properly allocated and setup with the unit.

I’m curios why it did not fail for channels 2-5, but only for channel 6, though..
by hinxx
Mon May 13, 2019 12:51 pm
Forum: C and C++
Topic: ps4000aSetSimpleTrigger() returned 13
Replies: 3
Views: 200

ps4000aSetSimpleTrigger() returned 13

I'm writing a C/C++ application that uses PS4000A API with PS4824. The code is written with EPICS (epics.anl.gov) toolkit version R3.15.5. If I use a single channel (the rest are ignored by the code) I can operate the PS4824 as expected. As soon as I start to deal with more channels, I get an error ...