Search found 14 matches

by cmos
Thu Jun 09, 2016 9:07 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: PicoScope stops working
Replies: 3
Views: 3773

Re: PicoScope stops working

Sorry for my late reply. There is no error per say. However, I do hear a dop in the connection, as for Windows recognizing a new USB device has been plugged in. In the data acqusition side, the software hangs and freezes. I was able to solve the problem by providing power using a battery pack throug...
by cmos
Thu Jun 02, 2016 3:19 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: PicoScope stops working
Replies: 3
Views: 3773

PicoScope stops working

Hi I was able to generate the sine wave. However I am running into a second problem. After I get the signal generator going, it takes between 5 to 15 seconds to trip and the unit loses connectivity with the C# software. I am using Windows 8.1 and operating the unit in USB mode. Unfortunately I do no...
by cmos
Tue May 31, 2016 3:51 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Generating Sine using PS5000
Replies: 20
Views: 12261

Re: Generating Sine using PS5000

Hi
It worked! The problem was in my end. I was trying to set up my peak to peak values in milivolts. using microvolts, as suggested in the API guide, was the solution.

Thank you for your assistance.

Cristian
by cmos
Fri May 27, 2016 5:55 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: Generating Sine using PS5000
Replies: 20
Views: 12261

Re: Generating Sine using PS5000

Thank you very much. I found the signature were slightly different as mine returned "short" and yours returned an "uint" value. Not sure if this will make a big difference. Nevertheless, I was able to test your sample code and it works. I will compare all codes this weekend to see if there is any ot...
by cmos
Thu May 26, 2016 2:29 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Generating Sine using PS5000
Replies: 20
Views: 12261

Re: Generating Sine using PS5000

Hi, I tested with both signatures BuiltIn and BuiltInV2 and they do not throw any error anymore when using numbers directly. However, I cannot observe any signall from the Signal Generator output. I have tried choosing different shots/sweep values, diferent frequencies and triggering modes (even cal...
by cmos
Thu May 26, 2016 6:16 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: Generating Sine using PS5000
Replies: 20
Views: 12261

Re: Generating Sine using PS5000

Hi I did try both ps5000aSetSigGenBuiltIn and ps5000aSetSigGenBuiltInV2 definitions but it did not work. To avoid the float/double definitions, I input the number directly into the functions as you saw in my attached file in my previous post. I will try again tomorrow and I let you know if I get any...
by cmos
Wed May 25, 2016 2:10 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Generating Sine using PS5000
Replies: 20
Views: 12261

Re: Generating Sine using PS5000

Hi I did try calling both functions, ps5000aSetSigGenBuiltIn() and ps5000aSetSigGenBuiltInV2() as both signatures are present in my include file. I noticed one uses float definitions for its parameters while the other uses double definitions. They are both present in the ps5000aAPI.h file in my SDK/...
by cmos
Tue May 24, 2016 5:22 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Generating Sine using PS5000
Replies: 20
Views: 12261

Re: Generating Sine using PS5000

Great, thanks. I found the header file. I added the function definitions in my Imports file but I do not seem to be able to generate any signal. I have a PS5244A and I used the following call: Imports.SetSigGenBuiltInV2( _handle, 0, //offsetVoltage 200, //pktopk Imports.WaveType.PS5000A_Sine, 390000...
by cmos
Mon May 23, 2016 10:21 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Generating Sine using PS5000
Replies: 20
Views: 12261

Re: Generating Sine using PS5000

Hi
I am having a hard time finding the ps5000aApi.h file. Where is it located? I tried using windows find engine and looking in the program files directory but I don't seem to find that specific file. Am I missing something?

Thanks for your help,

Cristian
by cmos
Fri May 20, 2016 5:19 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Generating Sine using PS5000
Replies: 20
Views: 12261

Re: Generating Sine using PS5000

Hi I am trying to generate the sine wave but I do not seen to have access to the signal generator functions as described in the API documentation. I have a PS5000 5244A and I believe my driver is ps5000A.dll (as described in the PS5000AImports.cs file) in my C# project. I was broswing the provided c...
by cmos
Sun May 01, 2016 7:08 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: C# setting databuffers in dual channel mode
Replies: 3
Views: 4655

Re: C# setting databuffers in dual channel mode

So one of the problems I was having initially was with the actual power of the device. I am using a single headed USB as the double headed one triggers a high current spike in our laptops. The single headed seems to work fine except in my current laptop. It only works in one of the four available US...
by cmos
Thu Apr 28, 2016 3:38 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Blocking mode vs. streaming mode
Replies: 3
Views: 6092

Re: Blocking mode vs. streaming mode

Hi Here are the answers to your questions. I presume you mean Rapid Block mode when referring to 'FastBlockTransfer'? If so, that might be a better approach as it will capture waveforms with minimum re-arm time between triggers. Yes, I meant rapid block. When you say that the signal is always over t...
by cmos
Thu Apr 28, 2016 6:47 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: Blocking mode vs. streaming mode
Replies: 3
Views: 6092

Blocking mode vs. streaming mode

Hi Is there a big difference between the block mode and streaming mode when collecting continuous data? For example, assuming that mi signal is always over my setup threshold, the system would always be triggering. In case that we want to collect data at a maximum rate (single channel, 10^5 samplepo...
by cmos
Thu Apr 28, 2016 6:39 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: C# setting databuffers in dual channel mode
Replies: 3
Views: 4655

C# setting databuffers in dual channel mode

Hi I am looking for some guidance setting up the data buffers using C#. We have a PS5244A and we have been using it in blockmode on a single channel based on your BlockModeExample. I tried to implement the dual channel following the instructions of the API manual: --Enabled and set both channels --C...