Search found 36 matches

by jaray
Fri Mar 04, 2016 2:03 pm
Forum: C and C++
Topic: Possible bug with ps5000aGetTimebase2, ps5000a.dll v1.1.4.42
Replies: 1
Views: 2322

Possible bug with ps5000aGetTimebase2, ps5000a.dll v1.1.4.42

I tried to make a post with a lot of my code, but cloud flare blocked me from being able to post it. The issue I noticed is that sometimes my captures are 1 sample short of what they are supposed to be. My only thought is that the float that is returned from ps5000aGetTimebase2 isn't always correct ...
by jaray
Mon Feb 08, 2016 3:26 pm
Forum: C and C++
Topic: Coupling issue when using AWG from 5244B
Replies: 13
Views: 7001

Re: Coupling issue when using AWG from 5244B

So I adjusted my code so that the last sample is always 0 and the waveform that is created works great in picoscope 6, but I am still having issues in my software. I think the problem stems from once I arm the AWG it sets to a DC level that is the first sample of the waveform. This makes sense for c...
by jaray
Thu Feb 04, 2016 4:45 pm
Forum: C and C++
Topic: Coupling issue when using AWG from 5244B
Replies: 13
Views: 7001

Re: Coupling issue when using AWG from 5244B

Through some experimentation with PicoScope 6, this seems to only happen if a function starts negative. Using the built in functions for "ramp up", "manual trigger", "15 cycles", the same problem happens. However if I use say a sine wave everything works great. If set for no trigger everything seems...
by jaray
Thu Feb 04, 2016 4:08 pm
Forum: C and C++
Topic: Coupling issue when using AWG from 5244B
Replies: 13
Views: 7001

Re: Coupling issue when using AWG from 5244B

I decided to try 1000 cycles and had the same results. These are two subsequent captures.
1000cyclesac.PNG
1000cyclesac2.PNG
by jaray
Thu Feb 04, 2016 3:06 pm
Forum: C and C++
Topic: Coupling issue when using AWG from 5244B
Replies: 13
Views: 7001

Re: Coupling issue when using AWG from 5244B

A few notes on how I did this. In order to output 15 waveforms, I changed my shots from 1 to 15. I also had to increase the frequency of the DDS to be larger than my capture. Upon running this, the problem persists. I can see the ADC head toward 0 during the capture but as soon as the next burst hap...
by jaray
Wed Feb 03, 2016 9:23 pm
Forum: C and C++
Topic: Coupling issue when using AWG from 5244B
Replies: 13
Views: 7001

Re: Coupling issue when using AWG from 5244B

No luck, here is what I have. Turns out I was already adjusting the ddsoutput in between captures. Forgot about that. for (int i = 0; i<1024; i++) baselineArbitrarywaveform_m.append((unsigned int)0); void PicoSignal::loadZeroFunction() { waveformsize_m = (long)baselineArbitrarywaveform_m.size(); arb...
by jaray
Wed Feb 03, 2016 9:02 pm
Forum: C and C++
Topic: Coupling issue when using AWG from 5244B
Replies: 13
Views: 7001

Re: Coupling issue when using AWG from 5244B

I will try it out. At first I thought that couldn't be the case since even the first capture has issues, however I am performing a dummy capture to fix the issues posted above.
by jaray
Mon Feb 01, 2016 3:53 pm
Forum: C and C++
Topic: Coupling issue when using AWG from 5244B
Replies: 13
Views: 7001

Re: Coupling issue when using AWG from 5244B

I don't think so. I posted that same question last April, https://www.picotech.com/support/topic16681.html My work around is pretty simple, when I arm my system (apply the configurations, etc), I go ahead and run a dummy capture. What I am running into now seems to be a problem with the output of th...
by jaray
Thu Jan 28, 2016 3:25 pm
Forum: C and C++
Topic: Coupling issue when using AWG from 5244B
Replies: 13
Views: 7001

Coupling issue when using AWG from 5244B

The issue I am having is only related to the software I wrote, and I can not replicate it using PicoScope 6. The issue is that when I record the signal from the AWG using my software (by running the output from the AWG straight into channel A), the signal is correct ONLY when the input is DC coupled...
by jaray
Fri Jan 08, 2016 4:25 pm
Forum: General Software Discussions
Topic: DC offset....sometimes
Replies: 5
Views: 4971

Re: DC offset....sometimes

I should have noted the white noise. That is in fact white noise, but it is because I am doing burst frequency testing. So for this particular test I am sending out 100 cycles of a particular frequency, anywhere from 1-3 Mhz. The images I posted are just the baseline noise after the burst is complet...
by jaray
Mon Jan 04, 2016 5:57 pm
Forum: General Software Discussions
Topic: DC offset....sometimes
Replies: 5
Views: 4971

Re: DC offset....sometimes

baselinenoise.PNG The Holidays got the best of me. Here is what I was able to capture. This is a mix of the software I wrote along with using The PicoScope 6 software. The sampling rate I am using in my software is the max allowed with a signal channel at 16 bit resolution, 62.5 Mhz. The signal loo...
by jaray
Wed Dec 16, 2015 11:30 pm
Forum: General Software Discussions
Topic: DC offset....sometimes
Replies: 5
Views: 4971

Re: DC offset....sometimes

Sorry for the delayed response. As it is currently 5:30 PM over here, I will post the captures in the morning.
by jaray
Wed Dec 09, 2015 7:47 pm
Forum: General Software Discussions
Topic: DC offset....sometimes
Replies: 5
Views: 4971

DC offset....sometimes

I've always notice, but didn't pay much attention to, that there is a DC offset associated with the capture data block when my scope A input is AC coupled. Some details about this are that the signal I am testing with has a DC offset of about 325 mV with a Pk-Pk value of 600 mV. The issue is that so...
by jaray
Wed Dec 09, 2015 6:58 pm
Forum: C and C++
Topic: Issues with the updated PicoScope 5244B SDK
Replies: 13
Views: 5430

Re: Issues with the updated PicoScope 5244B SDK

Ah ha! I had suspected as much. Yes am I statically accessing the library in my code, so I am using ps5000a.lib. This brings up another point then, if I am using the library statically, then the library should be bundled in the compiled exe (unless I am mistaken here). If that is the case then the ...
by jaray
Fri Dec 04, 2015 3:14 pm
Forum: C and C++
Topic: Issues with the updated PicoScope 5244B SDK
Replies: 13
Views: 5430

Re: Issues with the updated PicoScope 5244B SDK

Ah ha! I had suspected as much. Yes am I statically accessing the library in my code, so I am using ps5000a.lib. This brings up another point then, if I am using the library statically, then the library should be bundled in the compiled exe (unless I am mistaken here). If that is the case then the r...