Search found 45 matches

by TimOster
Wed Sep 19, 2018 5:05 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: trouble adding reference to library
Replies: 4
Views: 11425

Re: trouble adding reference to library

I write in Visual Studio, but for vb.net. When I use the labjack I reference the LJUDDotNet.dll file. It is located in the \Drivers folder, not the PicoScope6 folder.
by TimOster
Tue Sep 04, 2018 2:24 pm
Forum: Projects
Topic: Logging data from a Wheatstone Bridge
Replies: 2
Views: 12265

Re: Logging data from a Wheatstone Bridge

That was a very long post, so I admit I didn't read all of it. I simply use buffer amplifiers. I've done that since the mid 1990's and it's the method usually suggested by the sensor manufacturers.
by TimOster
Thu Aug 16, 2018 2:40 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Return mV data without sep call to that function
Replies: 2
Views: 7637

Re: Return mV data without sep call to that function

Thanks, figured it out and have it working.
by TimOster
Wed Aug 15, 2018 3:10 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Return mV data without sep call to that function
Replies: 2
Views: 7637

Return mV data without sep call to that function

My boss wants me to arrange things in our class library, so that instead of returning the adc array, then sending that to the adcToMv function, I simply get the mV array on the first call. I was thinking that if I pass in all the parameters needed for both, into one function in my class that I can d...
by TimOster
Fri Aug 03, 2018 2:58 pm
Forum: General Software Discussions
Topic: ps2000_get_timebase2
Replies: 7
Views: 7710

Re: ps2000_get_timebase2

My bad, it was in the following programming guide: ps2000apg.en r10, page 36.
by TimOster
Fri Aug 03, 2018 2:51 pm
Forum: General Software Discussions
Topic: Frequency Measurement with DLL. PS2205A
Replies: 5
Views: 8960

Re: Frequency Measurement with DLL. PS2205A

OK, I was thinking too literally. Transition from a positive to a negative value, rather than hitting zero exactly. Makes sense now.
by TimOster
Thu Aug 02, 2018 4:17 pm
Forum: General Software Discussions
Topic: Frequency Measurement with DLL. PS2205A
Replies: 5
Views: 8960

Re: Frequency Measurement with DLL. PS2205A

Why do you say that? The zero crossing might occur between measurements, just like a peak. How does the Pico software measure frequency? At the fastest sampling rate and highest freq don't you only have a dozen or so samples?
by TimOster
Wed Aug 01, 2018 5:25 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: phase detection
Replies: 4
Views: 13090

Re: phase detection

Thanks. Since both channels are "lined" up in time, I have a simple sub to find the index at a peak. I can just look at the distance (in time) between them and see the period. Knowing the freq I can infer the phase.

Tim
by TimOster
Wed Aug 01, 2018 5:21 pm
Forum: General Software Discussions
Topic: ps2000_get_timebase2
Replies: 7
Views: 7710

Re: ps2000_get_timebase2

vb.net
by TimOster
Tue Jul 31, 2018 4:37 pm
Forum: General Software Discussions
Topic: ps2000_get_timebase2
Replies: 7
Views: 7710

Re: ps2000_get_timebase2

It is used in the example program for block mode.
by TimOster
Tue Jul 24, 2018 4:16 pm
Forum: General Software Discussions
Topic: ps2000_get_timebase2
Replies: 7
Views: 7710

ps2000_get_timebase2

What is the difference between this function and ps2000_get_timebase? They both contain the same parameters.

Thanks.
by TimOster
Thu Jul 19, 2018 3:28 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: GetStreamingLatestValues() - 'PICO_BUSY'
Replies: 7
Views: 19371

Re: GetStreamingLatestValues() - 'PICO_BUSY'

since this seems to be an old thread, I'll hijack it...

Can you just use something like (pseudo code) While PICO_BUSY = true...wait some time, check again, then grab the data when it's no longer true?

That way you won't need to know exactly how long it will take.
by TimOster
Mon Jul 16, 2018 6:47 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Form app based upon example code doesn't always work
Replies: 5
Views: 9342

Re: Form app based upon example code doesn't always work

Mystery solved. I'm not sure if this is an error in your example code or not. In the Imports class you have a line as follows: Public inputRanges() As Integer = New Integer(12) {10, 20, 50, 100, 200, 500, 1000, 2000, 5000, 10000, 20000, 50000, 100000} ' ranges in mV That array contains voltage range...
by TimOster
Mon Jul 16, 2018 5:58 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Form app based upon example code doesn't always work
Replies: 5
Views: 9342

Re: Form app based upon example code doesn't always work

I think I figured out my trigger problem. I didn't read the reference well, I was telling the scope to trigger at 100 as in mV, but I see I needed to use the adc counts. My bad. I'm still having trouble with the amplitude results though. I don't seem to be getting the correct answer from the adctomv...
by TimOster
Mon Jul 16, 2018 3:50 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Form app based upon example code doesn't always work
Replies: 5
Views: 9342

Re: Form app based upon example code doesn't always work

I've tried sending the code via email but everything I could think of was getting rejected. Zip files, the actual code, I even renamed the files as .txt. The last attempt I copied the code into the email text. So far I haven't gotten a rejection, actually I just got the response from your site, so I...