Search found 169 matches

by Chris
Mon Sep 27, 2010 3:39 pm
Forum: USB PC Oscilloscopes
Topic: Using the Picoscope SDK with Visual Basic 2010 express.
Replies: 12
Views: 15239

Re: Using the Picoscope SDK with Visual Basic 2010 express.

In C, waveType & sweepType are enumerated, so ... 0 = PS2000_SINE sine wave 1 = PS2000_SQUARE square wave 2 = PS2000_TRIANGLE triangle wave 3 = PS2000_RAMP_UP rising sawtooth 4 = PS2000_RAMP_DOWN falling sawtooth 5 = PS2000_DC_VOLTAGE DC voltage 0 = PS2000_UP, 1 = PS2000_DOWN, 2 = PS2000_UPDOWN, 3 =...
by Chris
Mon Sep 27, 2010 2:21 pm
Forum: USB PC Oscilloscopes
Topic: Cant find ps2000.h!
Replies: 2
Views: 21829

Re: Cant find ps2000.h!

Hi Paul

You'll need to download the SDK.
Go to ...

http://www.picotech.com/software.html


Select PicoScope 2205, then select Software Development Kit.

This contains the ps2000.h file, and examples to help in developing your own application.

-Chris
by Chris
Mon Sep 27, 2010 12:57 pm
Forum: USB PC Oscilloscopes
Topic: Using the Picoscope SDK with Visual Basic 2010 express.
Replies: 12
Views: 15239

Re: Using the Picoscope SDK with Visual Basic 2010 express.

The problem is on the previous line no_of_values = ps2000_get_values(ps2000_handle, Values_a(0), 0, 0, 0, overflow, no_of_values) using 0 for ByRef buffer_b, ByRef buffer_c, & ByRef buffer_d Changed to no_of_values = ps2000_get_values(ps2000_handle, Values_a(0), Values_b(0), Values_c(0), Values_d(0)...
by Chris
Mon Sep 27, 2010 9:19 am
Forum: USB PC Oscilloscopes
Topic: Using the Picoscope SDK with Visual Basic 2010 express.
Replies: 12
Views: 15239

Re: Using the Picoscope SDK with Visual Basic 2010 express.

I see what you mean with express.

See attached zip file.

Open ps2000.sln

-Chris
by Chris
Sun Sep 26, 2010 9:27 pm
Forum: USB PC Oscilloscopes
Topic: Using the Picoscope SDK with Visual Basic 2010 express.
Replies: 12
Views: 15239

Re: Using the Picoscope SDK with Visual Basic 2010 express.

Take a look at the example in the SDK Download from http://www.picotech.com/download.html You'll need the ps2000.vbp - project file ps2000.bas - procedure prototypes ps2000.frm - form and program This eample was written for VB6, but it will convert to VB.NET to show you how the API calls are made. -...
by Chris
Fri Sep 24, 2010 10:03 am
Forum: USB PC Data Loggers
Topic: USB TC08 and Labview 8.6.1
Replies: 1
Views: 3537

Re: USB TC08 and Labview 8.6.1

Hello

Have you looked at our TC-08 labview example in the SDK
that can be downloaded from

http://www.picotech.com/download.html

-Chris
by Chris
Tue Sep 21, 2010 1:02 pm
Forum: C and C++
Topic: Intermittent Hang on PS6403 during ps6000RunBlock
Replies: 18
Views: 46883

Re: Intermittent Hang on PS6403 during ps6000RunBlock

Hi Alex

Can you try the same tests using another PC.

If you are still having problems, please email support@picotech.com to arrange returning the unit for testing here.

Thanks

-Chris.
by Chris
Tue Sep 21, 2010 8:30 am
Forum: USB PC Data Loggers
Topic: cant get back into recorder
Replies: 3
Views: 6312

Re: cant get back into recorder

Hello The Player will start if you try to run picolog again, when there is already an instance of PicoLog running. Is there a PL icon on the taskbar? If there is, double click on it to bring PicoLog Recorder back up. (see the attached image for what the icon looks like) If you don't see this icon yo...
by Chris
Tue Sep 21, 2010 7:57 am
Forum: USB PC Oscilloscopes
Topic: 2105 hand-held
Replies: 1
Views: 2999

Re: 2105 hand-held

Hello. If you add a second 2105 you will be able to run a second instance of Picoscope 6 to see the trace, but you can't see the traces of both of these scopes on one instance of Picoscope 6. To see more than 1 trace, you'd need to use a scope with more than one channel, such as the 22xx range. -Chr...
by Chris
Thu Sep 16, 2010 7:43 am
Forum: C and C++
Topic: Intermittent Hang on PS6403 during ps6000RunBlock
Replies: 18
Views: 46883

Re: Intermittent Hang on PS6403 during ps6000RunBlock

Hi Alex

Compiled console example attached.


What compiler are you using?

-Chris.
by Chris
Wed Sep 15, 2010 8:23 am
Forum: C and C++
Topic: Intermittent Hang on PS6403 during ps6000RunBlock
Replies: 18
Views: 46883

Re: Intermittent Hang on PS6403 during ps6000RunBlock

Hi Alex In an earlier post, you said that the SDK example worked. Could you try it again to see if using the SDK example causes it to hang. If this is the case, you can return the unit to us for testing / repair. to do this, email support@picotech.com describing the problem and we can start the retu...
by Chris
Tue Sep 14, 2010 2:00 pm
Forum: C and C++
Topic: Intermittent Hang on PS6403 during ps6000RunBlock
Replies: 18
Views: 46883

Re: Intermittent Hang on PS6403 during ps6000RunBlock

Hi Alex Thanks for clarifying that, so the problem is that sometimes the CallBackBlock doesn't get called at all. This never happens on the first run, but sometimes happens when the application is re-run. Again, I've tried this here, and it always works. I've attached a zip of 2 compiled versions of...
by Chris
Mon Sep 13, 2010 2:05 pm
Forum: C and C++
Topic: Intermittent Hang on PS6403 during ps6000RunBlock
Replies: 18
Views: 46883

Re: Intermittent Hang on PS6403 during ps6000RunBlock

Hi Alex I've run this test all day, and not found any problems. In order to help track what's going wrong, i've added some printf statements to give an indication of the state of the g_blockReady flag, to check that it is being used to wait for the conversion to have taken place before ps6000GetValu...
by Chris
Thu Sep 09, 2010 3:09 pm
Forum: General Software Discussions
Topic: PicoLog1216 Mode
Replies: 5
Views: 7133

Re: PicoLog1216 Mode

Hi Kevin

If it's now working for you, that's great.

If you have any detailed questions, please email

support@picotech.com

Thanks,

Chris
by Chris
Thu Sep 09, 2010 12:09 pm
Forum: C and C++
Topic: Intermittent Hang on PS6403 during ps6000RunBlock
Replies: 18
Views: 46883

Re: Intermittent Hang on PS6403 during ps6000RunBlock

Hi Alex From the code you sent, I notice that the g_blockReady flag isn't being reset to FALSE. This wouldn't be a problem in the actual code you sent, as it would only run through once, but if you were using this functionality in another program where you could call the ps6000RunBlock more than onc...