Search found 49 matches

by ARC
Wed Aug 21, 2013 12:27 pm
Forum: C and C++
Topic: EXT trigger on 2206
Replies: 6
Views: 3603

Re: EXT trigger on 2206

Hi, I still can't get the PicoScope to trigger a function on a channel (scope or EXT). I either get error 51 PICO_PLL_LOCK_FAILED when trying to use EXT (which i htink is to do with digital inputs?!?) or if i set PS2000SetSignGenArbitrary TRIG SOURCE to AUX_IN i get error 46 PICO_BUFFERS_NOT_SET. No...
by ARC
Wed Aug 14, 2013 8:06 am
Forum: C and C++
Topic: EXT trigger on 2206
Replies: 6
Views: 3603

Re: EXT trigger on 2206

Hi Martyn, I have tried both Gate high and Rising settings with ADC count values of 19507 (3V) and 13004 (2V) and have connected a bench power supply set to 5V and turned it on and off and still the waveform isnt output. I have also tried ramping it up and down as well as setting it to 2v and 3v for...
by ARC
Fri Aug 02, 2013 9:09 am
Forum: C and C++
Topic: EXT trigger on 2206
Replies: 6
Views: 3603

Re: EXT trigger on 2206

Thanks for your reply.

That has stopped it crashing but now i call the function and the waveform is output when nothing is connected to EXT port.
but it should be waiting for a rising edge?
Are any of my other settings wrong?

Thanks

Rob
by ARC
Tue Jul 30, 2013 2:30 pm
Forum: C and C++
Topic: EXT trigger on 2206
Replies: 6
Views: 3603

EXT trigger on 2206

Hello, I have tried a few times to get this to work on my PicoScope 2206 now and i still can't get it. I can output a waveform using software trigger but can't trigger from EXT port. Could you tell me if these settings are correct? status = ps2000aSetSigGenArbitrary(unit.handle, offset, pktopk, (uns...
by ARC
Wed Apr 24, 2013 3:24 pm
Forum: USB PC Oscilloscopes
Topic: Oscilloscope buffers
Replies: 2
Views: 1525

Re: Oscilloscope buffers

Thank you that all makes sense now.

Thanks for the help :)
by ARC
Tue Apr 23, 2013 10:16 am
Forum: USB PC Oscilloscopes
Topic: Oscilloscope buffers
Replies: 2
Views: 1525

Oscilloscope buffers

Hello, I want to record 2 signals sometimes the same and sometimes different on channel A and B. i have been trying to figure out how to print the buffer values into separate files. Im always setting the channel to sample every 10us with no aggregation, in ac mode and channel range is 500mv. Which i...
by ARC
Wed Apr 10, 2013 2:14 pm
Forum: General Software Discussions
Topic: Software triggered generator operation (3204A)
Replies: 15
Views: 63505

Re: Software triggered generator operation (3204A)

OK so SIGGEN RISING is wrong. I have changed the function call and it still doesn't work, its reporting error code 46. status = ps2000aSetSigGenBuiltIn(unit.handle, offset, pktopk, waveform, (float)frequency, (float)frequency, 0, 0, (PS2000A_SWEEP_TYPE) 0, PS2000A_PRBS, PS2000A_SHOT_SWEEP_TRIGGER_CO...
by ARC
Wed Apr 10, 2013 7:53 am
Forum: General Software Discussions
Topic: Software triggered generator operation (3204A)
Replies: 15
Views: 63505

Re: Software triggered generator operation (3204A)

Ok,

So can you software trigger PRBS continuously, like below, until stopped by software trigger?

Thanks
by ARC
Tue Apr 09, 2013 7:55 am
Forum: General Software Discussions
Topic: Software triggered generator operation (3204A)
Replies: 15
Views: 63505

Re: Software triggered generator operation (3204A)

Hello, I'm trying to produce a continuous stream from Sig gen built in on 2206 and I can't. I have defined #define PS2000A_SHOT_SWEEP_TRIGGER_CONTINUOUS_RUN 0xFFFFFFFF in ps2000aApi.h after PS2000A_MIN_ANALOGUE_OFFSET_5V_20V. Then my set sig gen built in call (for white noise) looks like this status...
by ARC
Thu Apr 04, 2013 1:32 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Triggered streaming and arbitrary function gen
Replies: 6
Views: 4585

Re: Triggered streaming and arbitrary function gen

Just got it working, Thank you very much :)
by ARC
Tue Mar 26, 2013 8:36 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: Triggered streaming and arbitrary function gen
Replies: 6
Views: 4585

Re: Triggered streaming and arbitrary function gen

Hi Hitesh,

The status code before and after calling ps2000aRunStreaming = 0.
Sample count = 10240
Downsample ratio = 1000
Time unit = PS2000A_US
Ratio mode = PS2000A_RATIO_MODE_AGGREGATE

Thanks,
by ARC
Mon Mar 25, 2013 1:36 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Triggered streaming and arbitrary function gen
Replies: 6
Views: 4585

Re: Triggered streaming and arbitrary function gen

Hi thanks for the reply, I change frequency,waveform,filename,offset,pktopk,channelbtrig,ch and AC just above main in the following function: _declspec(dllexport) int function (char operation, double hz, short name, char location[128], long move, unsigned long size, int settings, BOOL acdc) { comple...
by ARC
Fri Mar 08, 2013 11:52 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: Triggered streaming and arbitrary function gen
Replies: 6
Views: 4585

Triggered streaming and arbitrary function gen

Hello, I have found out that instead of triggering the waveform then recording data using the oscilloscope i actualy need to record during the waveform. so during the triggered streaming sleep cycle i cam checking for a waveform request then calling SetSignalGenerator and passing it all the usual in...
by ARC
Thu Feb 28, 2013 10:27 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: Memory Access Violation?
Replies: 10
Views: 5188

Re: Memory Access Violation?

Ah ok, I have just moved the file opening code to after its triggered, and now it works :D

Thank you very much for your help :)
by ARC
Thu Feb 28, 2013 8:12 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: Memory Access Violation?
Replies: 10
Views: 5188

Re: Memory Access Violation?

OK so passing:
offset = 0,
mode = analogue,
repname = a directory,
text = "Ten readings after trigger".

When the program gets to the while loop the values are:
timebase = 1,
sample count = 1024,
time interval = -858993460,
oversample 1,
max samples = -858993460.

Thanks for the help :)