Search found 49 matches

by ARC
Wed Oct 03, 2012 1:57 pm
Forum: General Software Discussions
Topic: arbitrary sig gen
Replies: 15
Views: 25797

Re: arbitrary sig gen

I'm sorry to say this but we still can't get this to work has anybody been able to get an exact waveform? I think the issue is where it is converting from double to unsigned long. So doing lots of tests and basically as far as we can tell with delta being an integer it works like this: Delta = 1, 26...
by ARC
Wed Sep 26, 2012 7:44 am
Forum: General Software Discussions
Topic: arbitrary sig gen
Replies: 15
Views: 25797

Re: arbitrary sig gen

Great thank you.

Should the PicoScope Sig Gen work with a Delta < 1?
Because whenever the delta drops to below 1 nothing is output from the PicoScope and for 5ms per line of a arbitrary file gives delta of 0.826836 so nothing is output from the PicoScope.

Any ideas?

Many thanks
by ARC
Mon Sep 17, 2012 8:45 am
Forum: General Software Discussions
Topic: arbitrary sig gen
Replies: 15
Views: 25797

Re: arbitrary sig gen

Ok so after testing with different settings and frequencies etc im trying to create a waveform with a specific time base and i am struggling to work out the required frequency for this. waveform: -T+T-T+TT-T+TTT-T+TTTT-T+TTTTT-T+TTTTTT-T+TTTTTTT-T+TTTTTTTT-T+TTTTTTTTT-T+TTTTTTTTTT-TTT so where T = 5...
by ARC
Tue Sep 04, 2012 2:23 pm
Forum: General Software Discussions
Topic: arbitrary sig gen
Replies: 15
Views: 25797

Re: arbitrary sig gen

Ah ive just spotted what i have done my values are +- 32768 which is 1 more than max :( and ive been copying that everywhere.

sorry i got it wrong. it all works now with single back slash's.

Thanks alot :)
by ARC
Tue Sep 04, 2012 1:37 pm
Forum: General Software Discussions
Topic: arbitrary sig gen
Replies: 15
Views: 25797

Re: arbitrary sig gen

Great that's really helpful thank you. I got it to work with a file in its compile directory but i have tried to fun a file from a different directory and nothing. I have tried running the below file from the console app and it says its opened the file, status returns 0 but my Oscilloscope is not sh...
by ARC
Tue Sep 04, 2012 8:54 am
Forum: General Software Discussions
Topic: arbitrary sig gen
Replies: 15
Views: 25797

arbitrary sig gen

Hello, Ive got PicoScope 2206 and i am using the SDK C console application as a DLL which is controlled by a c# windows application. I have got the built in sig gen working but when i try to run arbitrary sig gen it reads the file fine but there is no output. it returns status 0x0000002e, im not sur...
by ARC
Thu Aug 30, 2012 9:31 am
Forum: USB PC Oscilloscopes
Topic: _kbhit?
Replies: 6
Views: 6410

Re: _kbhit?

Ah i see when i did that before i didnt make it global for some stupid reason. :|

Thanks so much.
by ARC
Thu Aug 30, 2012 7:18 am
Forum: USB PC Oscilloscopes
Topic: _kbhit?
Replies: 6
Views: 6410

Re: _kbhit?

my c# code is windows app so console commands dont work, sorry i realised i didnt mention this and edited my first post to include this. so it errors saying "InvalidOperationException was unhandled" "Cannot see if a key has been pressed when either application does not have a console or when console...
by ARC
Wed Aug 29, 2012 2:38 pm
Forum: USB PC Oscilloscopes
Topic: _kbhit?
Replies: 6
Views: 6410

Re: _kbhit?

sorry not sure how to use that?

put it in the C DLL or C# code?

The C DLL is from the SDK so its inside the main while loop taking readings and printing them to the txt file, so it can't sleep until key press otherwise no samples will be recorded? unless im understanding this wrong?

Many thanks
by ARC
Wed Aug 29, 2012 12:10 pm
Forum: USB PC Oscilloscopes
Topic: _kbhit?
Replies: 6
Views: 6410

_kbhit?

Hello, I'm trying to control capturing stream of data through oscilloscope 2206 but I'm unsure how to stop it capturing because if i just exit the thread it obviously doesn't finish with the file so there's nothing in it. I'm calling the stream functions in a DLL from a c# GUI program. and it works ...
by ARC
Fri Aug 24, 2012 2:20 pm
Forum: USB PC Oscilloscopes
Topic: PicoScope 2206 SDK Wont Run
Replies: 8
Views: 8707

Re: PicoScope 2206 SDK Wont Run

Don't worry i have got the oscilloscope side working now :)

Thanks :)
by ARC
Thu Aug 23, 2012 12:50 pm
Forum: USB PC Oscilloscopes
Topic: PicoScope 2206 SDK Wont Run
Replies: 8
Views: 8707

Re: PicoScope 2206 SDK Wont Run

Great got it working now thank you.

Moving onto Osciliscope functions :?

Thanks :)
by ARC
Tue Aug 21, 2012 1:02 pm
Forum: USB PC Oscilloscopes
Topic: PicoScope 2206 SDK Wont Run
Replies: 8
Views: 8707

Re: PicoScope 2206 SDK Wont Run

Great thanks for the info. Yes that handle value was a typo. Im currently just trying to use the built in functions, sine, square,triangle, so is delta called in this situation? So i have defined SetSignalGenerator in c# as: [DllImport("PS2000ACON.dll", CallingConvention = CallingConvention .Cdecl)]...
by ARC
Tue Aug 21, 2012 10:08 am
Forum: USB PC Oscilloscopes
Topic: PicoScope 2206 SDK Wont Run
Replies: 8
Views: 8707

Re: PicoScope 2206 SDK Wont Run

I thought its better if i continue this thread rather than start another. I have got communication with the PicoScope now and to start off im just trying to get function generator output. Using my programing which is c# GUI using the C SDK as a dll to access the picoscope then i call setsignalgenera...
by ARC
Fri Aug 17, 2012 2:18 pm
Forum: USB PC Oscilloscopes
Topic: PicoScope 2206 SDK Wont Run
Replies: 8
Views: 8707

Re: PicoScope 2206 SDK Wont Run

Ah ha Thank you very much :D