Search found 558 matches

by Robin
Mon Aug 16, 2010 11:57 am
Forum: LabVIEW
Topic: picoScope 5203: triggering for channel B or external
Replies: 11
Views: 16258

Re: picoScope 5203: triggering for channel B or external

Hi Shuo

It is a time-out after which the unit will trigger regardless of the signal. If you set it to zero, auto triggering will be disabled.

Robin
by Robin
Fri Aug 13, 2010 8:34 am
Forum: C and C++
Topic: Problem using PicoScope4224 sample
Replies: 13
Views: 17407

Re: Problem using PicoScope4224 sample

Hi

Those functions are in the MS C runtime library (included with Visual Studio and many other IDEs) and are defined in the header conio.h. It sounds like your IDE doesn't include these library functions.

You could change the code so that it doesn't use these functions.

Robin
by Robin
Fri Aug 13, 2010 8:24 am
Forum: USB PC Oscilloscopes
Topic: Writing application for PicoScope4424
Replies: 2
Views: 3927

Re: Writing application for PicoScope4424

Hi Ben

I'm not sure why you are getting that error status. The driver checks that the segment index is in the range 0 to nSegments-1, which it obviously is. As you say, it works in the example.

Can you post your function call and any relevant definitions here?

Robin
by Robin
Wed Aug 11, 2010 11:09 am
Forum: LabVIEW
Topic: Problem with Close TC08.vi
Replies: 6
Views: 8082

Re: Problem with Close TC08.vi

Hi I don't recognise that VI. Is it an old example of ours? The case structure isn't using the return value of usb_tc08_close_unit, it's using the handle to the device. It should be connected to the return value (the top terminal on the right of the call library function node). It should also be cha...
by Robin
Wed Aug 11, 2010 7:39 am
Forum: MATLAB
Topic: ps4000 Matlab
Replies: 11
Views: 26169

Re: ps4000 Matlab

by Robin
Wed Aug 11, 2010 7:39 am
Forum: MATLAB
Topic: PS4000 Series - Callback Function Pointer for MATLAB&LABVIEW
Replies: 18
Views: 38908

Re: PS4000 Series - Callback Function Pointer for MATLAB&LAB

Hi Alex

Here is the latest driver for the ps6000. It has the new function to poll the driver so it is not necessary to use callbacks in block mode.

PICO_STATUS ps6000IsReady (short handle, short * ready);

Robin
by Robin
Wed Aug 11, 2010 7:30 am
Forum: LabVIEW
Topic: Problem with Close TC08.vi
Replies: 6
Views: 8082

Re: Problem with Close TC08.vi

Hi

I should have said, can you save it for Labview 8.2?

Thanks

Robin
by Robin
Tue Aug 10, 2010 8:37 am
Forum: LabVIEW
Topic: Problem with Close TC08.vi
Replies: 6
Views: 8082

Re: Problem with Close TC08.vi

Hi

usb_tc08_close_unit returns a 1 if successful or a zero otherwise.

Can you post the VI here?

Thanks

Robin
by Robin
Tue Aug 10, 2010 8:17 am
Forum: LabVIEW
Topic: picoScope 5203: triggering for channel B or external
Replies: 11
Views: 16258

Re: picoScope 5203: triggering for channel B or external

Hi Shuo I just double-checked the VI posted above and it works fine for me. Check your trigger settings, particularly autotrigger time. We have added a new function to the driver that allows you to easily set up a simple trigger and it might be of interest to you. I have attached the latest version ...
by Robin
Mon Aug 09, 2010 9:05 am
Forum: General Software Discussions
Topic: USB-TC08 and HP-Vee 5.01
Replies: 14
Views: 18193

Re: USB-TC08 and HP-Vee 5.01

Hi

The function usb_tc08_legacy_get_temp will only return a single temperature value.

LONG_MAX is the maximum value of the 'long' data type in C, which is 2147483647 on a 32-bit operating system.

See http://en.wikipedia.org/wiki/Limits.h

Robin
by Robin
Mon Aug 09, 2010 8:43 am
Forum: LabVIEW
Topic: Block mode example for PS2203
Replies: 1
Views: 3613

Re: Block mode example for PS2203

Hi Miguel

There is a block mode example in the SDK (ps2000_block.llb) and it is not necessary to use the wrapper for block mode (only fast streaming).

The source code for the wrapper is also included in the SDK (ps2000wrap.c).

Regards

Robin
by Robin
Mon Aug 09, 2010 8:20 am
Forum: MATLAB
Topic: PS4000 Series - Callback Function Pointer for MATLAB&LABVIEW
Replies: 18
Views: 38908

Re: PS4000 Series - Callback Function Pointer for MATLAB&LAB

Hi Olaf With the attached driver, it is no longer necessary to use a wrapper for block-mode operation. Instead, call ps4000RunBlock and pass NULL instead of a function pointer. You can then poll the driver using: PICO_STATUS ps5000IsReady (short handle, short * ready); Regarding the PICO_INVALID_HAN...
by Robin
Wed Jul 28, 2010 1:37 pm
Forum: USB PC Oscilloscopes
Topic: Block mode, how to chose number of segments?
Replies: 4
Views: 5925

Re: Block mode, how to chose number of segments?

Hi Julien In streaming mode, you get a continuous stream of data. However, the sampling rate is limited by the USB trasfer rate. Block mode allows much higher sampling rates, but there will be gaps in the data. If you are waiting for a particular event to occur, then you can set the oscilloscope to ...
by Robin
Wed Jul 28, 2010 1:29 pm
Forum: General Software Discussions
Topic: USB-TC08 and HP-Vee 5.01
Replies: 14
Views: 18193

Re: USB-TC08 and HP-Vee 5.01

Hi In the call to usb_tc08_legacy_get_temp, 'temp' is a pointer, so the caller needs to pass the address of the memory location where the value of temp should be written. I believe this is done in VEE by creating both an input and output terminal for this parameter. See the image below, where both "...
by Robin
Wed Jul 28, 2010 9:18 am
Forum: C and C++
Topic: Maximum Segments at 4227
Replies: 16
Views: 18377

Re: Maximum Segments at 4227

Hi Mathias

Here is the latest .lib. However, this shouldn't have any effect as the entry points haven't changed.

To check the location of the DLL that your application is using, you can use Process Explorer:

http://technet.microsoft.com/en-us/sysi ... 96653.aspx

Robin