Search found 558 matches

by Robin
Thu Sep 02, 2010 8:51 am
Forum: USB PC Oscilloscopes
Topic: PS2205 with Borland turbo C++
Replies: 12
Views: 6006

Re: PS2205 with Borland turbo C++

Hi A return value of 0 indicates that the unit can't be found and -1 indicates that it has failed to open. I'm really not sure why you can't open the unit. You're using the correct .lib file (ps2000bc.lib). Data types should be the same. I wonder if it has something to do with name mangling. Are you...
by Robin
Thu Sep 02, 2010 7:57 am
Forum: C and C++
Topic: Problem using PicoScope4224 sample
Replies: 13
Views: 7337

Re: Problem using PicoScope4224 sample

Hi
srul wrote:1. can i read data from two channels together when the trigger is on channel A?
Yes.
srul wrote:fro this function i understand that the trigger level is 100mv, is that true?
Correct!

Robin
by Robin
Tue Aug 31, 2010 12:55 pm
Forum: C and C++
Topic: Hang on data read with some timebases on Picoscope 2204
Replies: 9
Views: 5628

Re: Hang on data read with some timebases on Picoscope 2204

Hi I have not been able to re-create this either by changing the buffer to 8064 or by using a timebase of 18. There is a longer delay when using longer timebases. How long are you waiting before aborting? Also, you mentioned changing the trigger settings, but these are not used when you select optio...
by Robin
Tue Aug 31, 2010 8:50 am
Forum: USB PC Oscilloscopes
Topic: PS2205 with Borland turbo C++
Replies: 12
Views: 6006

Re: PS2205 with Borland turbo C++

Hi It sounds like the example has been built successfully but that it can't open the scope. Can you check that you can see it in Device Manager and that it's not being used by any other application (such as PicoScope 6)? The error code appears to be displayed incorrectly. To check the status returne...
by Robin
Fri Aug 27, 2010 1:54 pm
Forum: C and C++
Topic: TC-08, msdos program in C or C++
Replies: 7
Views: 5015

Re: TC-08, msdos program in C or C++

Hi

I have attached the full project that I just tested in Visual Studio 2005 Standard Edition.

Hope it helps

Robin
by Robin
Thu Aug 26, 2010 1:03 pm
Forum: C and C++
Topic: PL1000 overflow problems
Replies: 2
Views: 2298

Re: PL1000 overflow problems

Hi Markus

The only possible cause of channels swapping I can think of is other processes running not allowing the driver's thread to run.

Are you running any high priority or demanding processes at the same time?

Does your code do something different when an overflow occurs?

Robin
by Robin
Thu Aug 26, 2010 12:57 pm
Forum: USB PC Oscilloscopes
Topic: PS2205 with Borland turbo C++
Replies: 12
Views: 6006

Re: PS2205 with Borland turbo C++

Hi I'm not sure what is causing the error message, but you'll notice that the description at the top of ps2000.c says that the example applies to the 210x oscilloscopes only. It should be fairly easy to modify this to work with the 2205. However, the console example will work with the 2205 and demon...
by Robin
Thu Aug 26, 2010 12:47 pm
Forum: C and C++
Topic: Useful looking compiler warning from PS2000con.c
Replies: 1
Views: 1911

Re: Useful looking compiler warning from PS2000con.c

Hi

Well spotted. It will be changed in the next SDK release.

Older versions of Visual Studio don't seem to give a warning.

Robin
by Robin
Thu Aug 26, 2010 12:40 pm
Forum: C and C++
Topic: TC-08, msdos program in C or C++
Replies: 7
Views: 5015

Re: TC-08, msdos program in C or C++

Hi Nicolas The example is a Windows example and will have been created in Visual Studio. You also need to include the resources in your project. The SDK includes both the resource script (.rc) and the compiled resource file (.res). I don't know much about Dev-C++ and how easy it is to include the re...
by Robin
Wed Aug 25, 2010 11:30 am
Forum: LabVIEW
Topic: Drivers for which LabVIEW Version
Replies: 1
Views: 1860

Re: Drivers for which LabVIEW Version

Hi

Verison 8.2

Robin
by Robin
Tue Aug 24, 2010 11:45 am
Forum: C and C++
Topic: TC-08, msdos program in C or C++
Replies: 7
Views: 5015

Re: TC-08, msdos program in C or C++

Hi

We have a C example in the SDK, which can be downloaded via www.picotech.com/software.html

Robin
by Robin
Fri Aug 20, 2010 11:42 am
Forum: C and C++
Topic: Problem using PicoScope4224 sample
Replies: 13
Views: 7337

Re: Problem using PicoScope4224 sample

Hi When using block mode, the timebase is passed to ps4000RunBlock. When using streaming, you pass the sample interval to ps4000RunStreaming. Aggregation is described in the programmer's guide. It is a way of reducing the data returned by the drive. For example, if you had an aggregation factor of 1...
by Robin
Thu Aug 19, 2010 12:25 pm
Forum: C and C++
Topic: Problem using PicoScope4224 sample
Replies: 13
Views: 7337

Re: Problem using PicoScope4224 sample

Hi

Sorry, I missed part of your question.

Your #defines look correct. What timebase are you using and what aggregation factor are you using? In what way is the data defective?

Robin
by Robin
Thu Aug 19, 2010 11:59 am
Forum: C and C++
Topic: Problem using PicoScope4224 sample
Replies: 13
Views: 7337

Re: Problem using PicoScope4224 sample

Hi ps4000GetTimebase can be used to discover the available timebases and it returns the sample interval for a given timebase code. It does not set the timebase and you don't have to use it. There are four columns because the example uses aggregation and these are the min and max values, as described...
by Robin
Wed Aug 18, 2010 11:37 am
Forum: C and C++
Topic: Problem using PicoScope4224 sample
Replies: 13
Views: 7337

Re: Problem using PicoScope4224 sample

Hi I need simple things from this driver, just to set the picoscop and read data. Even if you cannot run the example, it should help you to understand how to collect a block of data, for example. The API functions are described in the Programmer's Guide. Regarding using the MS C Runtime Library, the...