Search found 45 matches

by TimOster
Fri Jul 13, 2018 9:40 pm
Forum: General Software Discussions
Topic: two programming guides
Replies: 1
Views: 2990

two programming guides

I am using the 2205a. I have two different programming guides; picoscope-2000-series-a-api-programmers-guide and picoscope-2000-series-programmers-guide. They list different functions. Which is correct for the driver I have installed. I don't see a ps2000a.dll, there is a ps2000.dll and ps2000awrap....
by TimOster
Fri Jul 13, 2018 7:03 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Form app based upon example code doesn't always work
Replies: 5
Views: 9405

Form app based upon example code doesn't always work

I took the BlockGui example code and used it as a template to build a vb.net form app. My app allows you to select any available v/div, AC or DC coupling, timebase, numsamples....all the various trigger parameters...all the signal generator parameters. Pretty much everything. I then use the example ...
by TimOster
Fri Jun 29, 2018 6:32 pm
Forum: General Software Discussions
Topic: looking for vb.net streaming mode example
Replies: 4
Views: 7678

Re: looking for vb.net streaming mode example

OK, downloaded the c# files from GitHub. After looking at them, I see that you are using unsafe code. That can not be translated to vb.net.

VB.net does not support unmanaged code, so that won't work.

I'll work with the VBA example.
by TimOster
Fri Jun 29, 2018 5:05 pm
Forum: General Software Discussions
Topic: looking for vb.net streaming mode example
Replies: 4
Views: 7678

Re: looking for vb.net streaming mode example

OK, where is the C# example?
by TimOster
Fri Jun 29, 2018 4:19 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: vb.net get_unit_info Option Strict ON
Replies: 2
Views: 6662

Re: vb.net get_unit_info Option Strict ON

Thanks. I made a small change to send the data to my form and a temp variable to hold the returned string. I get the device info now.
by TimOster
Wed Jun 20, 2018 5:36 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: phase detection
Replies: 4
Views: 13181

Re: phase detection

Thank you, but I'm talking about in vb.net code. Not the PicoScope 6 software.
by TimOster
Tue Jun 19, 2018 6:02 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: vb.net get_unit_info Option Strict ON
Replies: 2
Views: 6662

vb.net get_unit_info Option Strict ON

In my company I am forced to keep Option Strict ON for all projects. That is causing an error in ps2000_get_unit_info(). I have a class named Pico2205A with all the original declares stored. Pico2205A.ps2000_get_unit_info(handle, infoStr, CShort(infoStr.Length), i), you can't see it, but Visual Stud...
by TimOster
Tue Jun 19, 2018 5:09 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: phase detection
Replies: 4
Views: 13181

phase detection

I have a project (software) in which I want to look at two ~100KHz signals, and compute the phase difference. I'm using a 2205A, so the bandwidth isn't a problem. I understand how to set each channel, and the trigger. But I am unsure how to collect a block of data. Do I use two statements? ((EDIT: n...
by TimOster
Tue Jun 19, 2018 4:54 pm
Forum: General Software Discussions
Topic: looking for vb.net streaming mode example
Replies: 4
Views: 7678

looking for vb.net streaming mode example

Where can I find a streaming mode example for vb.net? The GitHub only has block mode. I've got that working, now I'd like to add streaming.

Thanks.
by TimOster
Tue Jun 19, 2018 2:24 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: TimeUnits...please explain
Replies: 8
Views: 10021

Re: TimeUnits...please explain

OK, so for a single channel.

If X = the number of cycles to read,

16K/(period * X) = max sample rate. Then look for the next slower sample rate.

Or do I have that backwards (period * X)/16K?
by TimOster
Mon Jun 18, 2018 7:21 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: TimeUnits...please explain
Replies: 8
Views: 10021

Re: TimeUnits...please explain

Thanks.
by TimOster
Thu Jun 14, 2018 2:28 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: TimeUnits...please explain
Replies: 8
Views: 10021

Re: TimeUnits...please explain

Perfect, thanks.

You said for one channel enabled. Do you divide that total for two channels? Just wanting to be clear.
by TimOster
Thu Jun 14, 2018 2:25 pm
Forum: General Software Discussions
Topic: PS2000_MAX_RANGES
Replies: 2
Views: 3460

Re: PS2000_MAX_RANGES

Yes, thanks.
by TimOster
Wed Jun 13, 2018 5:03 pm
Forum: General Software Discussions
Topic: PS2000_MAX_RANGES
Replies: 2
Views: 3460

PS2000_MAX_RANGES

Is PS2000_MAX_RANGES how to use the autoscaling function present in PicoScope6? Or do I need to look at the return for an overflow and act accordingly?

Thanks.
by TimOster
Wed Jun 13, 2018 3:40 pm
Forum: General Software Discussions
Topic: Possible to pull in PicoScope6 measurement functions?
Replies: 5
Views: 6605

Re: Possible to pull in PicoScope6 measurement functions?

Not to hijack the thread, but for me vb.net. All functions :) MATH Channels, Freq, AC RMS, DC Avg, Counters to start. If you have THD for pure sine that would be nice also, I don't see that in the app though.

Tim