Search found 36 matches

by jaray
Tue Dec 01, 2015 5:27 pm
Forum: C and C++
Topic: Issues with the updated PicoScope 5244B SDK
Replies: 13
Views: 13518

Re: Issues with the updated PicoScope 5244B SDK

Hi jaray, If you have PicoScope 6 (including the Beta) version installed on the PC then it's location will be in the PATH environment variable and hence the dlls from the install directory will be picked up. If that is not the case, are there are any other locations in the PATH environment variable...
by jaray
Mon Nov 30, 2015 3:57 pm
Forum: C and C++
Topic: Issues with the updated PicoScope 5244B SDK
Replies: 13
Views: 13518

Re: Issues with the updated PicoScope 5244B SDK

So I decided to play around with how I am including the libraries in my software. I once again downloaded the most up to date 5244B SDK. I didn't want to depend on the path variable, so I removed the portion pointing to the SDK directory. In the root of my development directory I have a lib folder w...
by jaray
Mon Nov 30, 2015 3:01 pm
Forum: C and C++
Topic: Issues with the updated PicoScope 5244B SDK
Replies: 13
Views: 13518

Re: Issues with the updated PicoScope 5244B SDK

Hi jaray, Are the dlls in the same directory as your exe when you refer to the root directory? If not, then the PicoScope 6 installation directory is likely to be found first in your search path. For the external trigger, there is a fixed maximum count value to scale against. On the channels this w...
by jaray
Thu Nov 19, 2015 3:14 pm
Forum: C and C++
Topic: Issues with the updated PicoScope 5244B SDK
Replies: 13
Views: 13518

Re: Issues with the updated PicoScope 5244B SDK

I should note that I also fixed my triggering issue. It was not related to the SDK. Instead I was triggering on the EXT input but was calculating my ADC values using the current ADC Voltage level Channel A instead of a set Voltage level.
by jaray
Thu Nov 19, 2015 3:11 pm
Forum: C and C++
Topic: Issues with the updated PicoScope 5244B SDK
Replies: 13
Views: 13518

Re: Issues with the updated PicoScope 5244B SDK

I think that may be the issue. On my release computer I use for testing, I do not have PicoScope 6 installed, so it is requiring I have both of those dlls. However on my development computer I do have PicoScope 6 installed. This computer is 64bit but I am developing targeting 32bit. I am surprised t...
by jaray
Mon Nov 16, 2015 3:47 pm
Forum: C and C++
Topic: Issues with the updated PicoScope 5244B SDK
Replies: 13
Views: 13518

Issues with the updated PicoScope 5244B SDK

I've been successfully using my PicoScope 5244B with my C++ software for several months now. I've been having issues with the device not triggering properly recently, so I wanted to see if updating the libraries helped. I've been using the windows 32bit drivers dated 1/13/15. I've been using the sta...
by jaray
Mon May 18, 2015 8:25 pm
Forum: C and C++
Topic: How to generate a signal and record it at the same time
Replies: 2
Views: 5371

Re: How to generate a signal and record it at the same time

Hitesh's method is essentially how I am doing it. I have an arm button that when pressed sets up the function generator, run block, and another piece of hardware I am using. Once I want to collect data I tell the run block to start, trigger my other piece of hardware, then trigger the arbitrary func...
by jaray
Fri May 15, 2015 12:33 pm
Forum: General Software Discussions
Topic: The need for the winusb driver
Replies: 2
Views: 5292

Re: The need for the winusb driver

I found that in the SDK and wanted to delete this post before it went up. I'll leave it up in case anyone else has the same issue.
by jaray
Thu May 14, 2015 5:16 pm
Forum: General Software Discussions
Topic: The need for the winusb driver
Replies: 2
Views: 5292

The need for the winusb driver

I've finally gotten my code to a point where I am wanting to try it on different machines. The machine I have been testing on has the picoscope 6 software installed, so I have had no trouble communicating with the device using the libraries provided by the SDK. After deploying my application and mov...
by jaray
Fri Apr 17, 2015 8:52 pm
Forum: General Software Discussions
Topic: Decaying DC Offset during first block capture - 5244B C++
Replies: 3
Views: 6027

Decaying DC Offset during first block capture - 5244B C++

I designed my software around the C example for capturing a block of data. Everything works except the first block of data I capture always starts with a slight positive DC offset that decays as the record continues. The scope channel is set for AC coupling. The major difference between my code and ...
by jaray
Wed Feb 25, 2015 3:09 pm
Forum: C and C++
Topic: Trouble using ps5000aSetSigGenArbitrary with PicoScope 5244B
Replies: 9
Views: 11095

Re: Trouble using ps5000aSetSigGenArbitrary with PicoScope 5

So I set up several debug statements to watch variables as I need them. Turns out I had awgBufferSize in my UNIT struct defined as a short instead of an unsigned short so using PS5X44A_MAX_SIG_GEN_BUFFER_SIZE caused the variable to turn negative because it is larger than 32767. I found an example on...
by jaray
Mon Feb 23, 2015 8:36 pm
Forum: C and C++
Topic: Trouble using ps5000aSetSigGenArbitrary with PicoScope 5244B
Replies: 9
Views: 11095

Re: Trouble using ps5000aSetSigGenArbitrary with PicoScope 5

I was able to get the function to work by creating a signal that had the max number of samples. I am going to investigate further into varying sample sizes to see how it changes.
by jaray
Mon Feb 23, 2015 7:34 pm
Forum: C and C++
Topic: Trouble using ps5000aSetSigGenArbitrary with PicoScope 5244B
Replies: 9
Views: 11095

Re: Trouble using ps5000aSetSigGenArbitrary with PicoScope 5

I responded in the email, but I will do it here also in case anyone else runs into the same issues. Upon using the new dll and lib you sent to my email, I received this email upon compiling: *** A stack buffer overrun occurred in C:\Users\Jason\Documents\Development\Qt\build-CrackDetection-Desktop_Q...
by jaray
Mon Feb 23, 2015 3:52 pm
Forum: C and C++
Topic: Trouble using ps5000aSetSigGenArbitrary with PicoScope 5244B
Replies: 9
Views: 11095

Re: Trouble using ps5000aSetSigGenArbitrary with PicoScope 5

Thanks, Hitesh, I just received the email and will try these out momentarily. Currently playing around with reading in the csv file. I checked the contents of the array I was passing, and things were not quite right.