Search found 22 matches

by dfergenson
Tue Jun 22, 2021 4:47 pm
Forum: PicoScope 6 for Windows
Topic: Logic Triggering Using A Threshold and A Level
Replies: 6
Views: 7519

Re: Logic Triggering Using A Threshold and A Level

5444DError.png Thanks, Bennog. As you can see from the screen shots in the initial post, the D signal was definitely high when the triggering occurred off of the edge on A. Things are slightly more complicated than I thought but I've been able to trap the error (or something a lot like it) for repr...
by dfergenson
Tue Jun 22, 2021 5:30 am
Forum: PicoScope 6 for Windows
Topic: Logic Triggering Using A Threshold and A Level
Replies: 6
Views: 7519

Re: Logic Triggering Using A Threshold and A Level

Gerry, I certainly understand that it can be difficult to infer what I was trying to do from those screenshots. I've attached a setup file to this post and also a diagram. In the diagram, you can see that the PS5444A has two inputs active, A and D, and that its signal generator is also active. Locko...
by dfergenson
Sat Jun 19, 2021 3:28 pm
Forum: PicoScope 6 for Windows
Topic: Logic Triggering Using A Threshold and A Level
Replies: 6
Views: 7519

Re: Logic Triggering Using A Threshold and A Level

Thanks, Gerry. If I understand your response, because Channel A's falling edge AND Channel D's high level were not true at the same time, I was unable to trigger off of the condition of Channel A experiencing a falling edge while Channel D was high. And that was absolutely the condition in the photo...
by dfergenson
Mon Jun 14, 2021 6:13 pm
Forum: PicoScope 6 for Windows
Topic: Logic Triggering Using A Threshold and A Level
Replies: 6
Views: 7519

Logic Triggering Using A Threshold and A Level

I implemented a system to add a holdoff feature to my PicoScope 5444A. Basically, I want to lock triggering out for about eight milliseconds after a trigger in block acquisition mode but when I ran into trouble I reverted to the PicoScope app to debug it. I am using the latest version on both Mac an...
by dfergenson
Wed Mar 17, 2021 11:57 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: VB.net Example Code for Complex Triggering using ps5000a
Replies: 1
Views: 8157

Re: VB.net Example Code for Complex Triggering using ps5000a

I fought my way through some of the functions and wrote this explanation of them. I hope that it helps someone and, if you are able to help, there are some requests for additional work below. A Treatise on Triggering the PicoScope 5000X Series Oscilloscopes Using the Legacy Complex Triggering Functi...
by dfergenson
Fri Mar 12, 2021 7:35 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Complex Triggering
Replies: 1
Views: 7174

Re: Complex Triggering

I created a fork in my Github account. All of my changes are within the PS5000A folder:

https://github.com/dfergenson/picosdk-c-sharp-examples

Thanks.

-Davio
by dfergenson
Fri Mar 12, 2021 6:05 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: Complex Triggering
Replies: 1
Views: 7174

Complex Triggering

I'm developing drivers for the PS5000A.dll in VisualStudio 2019 to drive a PS5444D and I've run into some confusing results when attempting to interface with the complex triggering functions. I started off working in VB.net but eventually switched to C# to see if I could get my head around the funct...
by dfergenson
Tue Mar 09, 2021 9:18 pm
Forum: General Software Discussions
Topic: Documentation Error: ps5000aOpenUnit
Replies: 2
Views: 4851

Re: Documentation Error: ps5000aOpenUnit

Thank you. I've gone through and checked all of my other string arguments to ensure that I've converted all ByRef statements to ByVals in my code.

-David
by dfergenson
Tue Mar 02, 2021 7:35 pm
Forum: General Software Discussions
Topic: Documentation Error: ps5000aOpenUnit
Replies: 2
Views: 4851

Documentation Error: ps5000aOpenUnit

I've identified an error in the latest version of picoscope-5000-series-a-api-programmers-guide.pdf that is minor but serious. I'm working from the latest version, ps5000apg.en.r4. The description of ps5000aOpenUnit shows the argument serial as being by reference. Calling it by reference, even with ...
by dfergenson
Fri Jan 29, 2021 7:38 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Signal Generator Frequency Restrictions (PS5444D)
Replies: 1
Views: 7458

Signal Generator Frequency Restrictions (PS5444D)

I'm writing some VB.net code to control the function generator on my PS5444D and I've run into something that I'm not sure is fully documented. ps5000aSetSigGenBuiltIn is described on P. 102 of the API Programmer's Guide and it refers to the minimum value of the argument startFrequency as being PS50...
by dfergenson
Thu Jan 28, 2021 4:21 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: VB.net Example Code for Complex Triggering using ps5000a
Replies: 1
Views: 8157

VB.net Example Code for Complex Triggering using ps5000a

Does anyone have any working VB.net example code that shows how to set complex triggers using the ps5000a.dll? I've read through the API Programmer's Guide sections on: ps5000aSetTriggerChannelConditionsV2 ps5000aSetTriggerChannelDirectionsV2 ps5000aSetTriggerChannelProperties ps5000aSetPulseWidthQu...
by dfergenson
Mon Oct 29, 2018 5:10 am
Forum: Pre-Sales Advice
Topic: 5000D vs 5000B
Replies: 5
Views: 6824

Re: 5000D vs 5000B

I believe that I've just answered my own question. The question was wether the waveform generator in the 5000A, B and/or D could be triggered to output on scope trigger. The answer is yes in all three instruments. The answer is in the PicoScope 6 User's Guide. The table on page 219, column ST shows ...
by dfergenson
Mon Oct 29, 2018 4:58 am
Forum: Pre-Sales Advice
Topic: 5000D vs 5000B
Replies: 5
Views: 6824

Re: 5000D vs 5000B

I noticed the following passage in the 5000D specifications sheet: "Trigger tools allow you to output one or more cycles of a waveform when various conditions are met, such as the scope triggering or a mask limit test failing." I assume that this means that the AWG can be used to produce a trigger o...
by dfergenson
Fri May 13, 2016 7:37 am
Forum: General Software Discussions
Topic: ps5000aGetNoOfProcessedCaptures and ps5000aFlashLed
Replies: 2
Views: 7548

Re: ps5000aGetNoOfProcessedCaptures and ps5000aFlashLed

Andrew, thanks. I've been hung up on allocating the buffers and transferring the acquisitions in bulk. I just can't figure out the syntax. Do you have example code showing rapid block mode in action? Or can you see what's wrong with my code here? status = ps5000aRunBlock(handle, numPreTriggerSamples...
by dfergenson
Thu May 12, 2016 7:24 am
Forum: General Software Discussions
Topic: ps5000aGetNoOfProcessedCaptures and ps5000aFlashLed
Replies: 2
Views: 7548

ps5000aGetNoOfProcessedCaptures and ps5000aFlashLed

I've been having trouble getting calls to two functions in the .dll to work. In the case of ps5000aGetNoOfProcessedCaptures, the .DLL doesn't seem to recognize the call. ps5000aGetNoOfCaptures is recognized. I couldn't tell from the SDK manual if there was a difference between the two. In the case o...