Search found 5 matches

by andurimees
Wed Sep 24, 2014 10:59 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: c# Built-In Waveform in AWG functions
Replies: 2
Views: 2962

c# Built-In Waveform in AWG functions

You might find, that the SDK for C# does not contain the AWG functions for the 2205MSO. As first part of the solution, here is a code snippet for the Built-In waveforms. The enums were kindly provided by Karunen, the rest is reverse engineering: :D //add in Imports: #region Driver Imports //provided...
by andurimees
Tue Sep 23, 2014 4:03 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: No support of the AWG...
Replies: 6
Views: 6503

AWG behaves pretty strange!

Hi, well, according to my beliefs, the code below should generate a ramp up. It actually generates random voltage levels with approx. 40ms plateaus all spread within the +/- 1V range specified. Whatever I program as waveForm does not matter. Int32 status; Int32 waveLen= 1024; short[] waveForm = new ...
by andurimees
Tue Sep 23, 2014 3:09 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: No support of the AWG...
Replies: 6
Views: 6503

AWG functions...

Thanks for the fast reply. It did not work out perfectly, but the version I managed to execute is: [DllImport(_DRIVER_FILENAME, EntryPoint = "ps2000aSetSigGenArbitrary")] public static extern Int32 SetSigGenArbitrary( short handle, int offsetVoltage, uint pkTopk, uint StartDeltaPhase, uint StopDelta...
by andurimees
Tue Sep 23, 2014 9:57 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: No support of the AWG...
Replies: 6
Views: 6503

No support of the AWG...

In the C# versions of the SDK the function
"ps2000aSetSigGenArbitrary" is not part of the DLL calls as well as a Sweep Type is not implemented.
According to page 46 of the programmer manual this function should be present.
How else can one program the AWG using c#?

Yours
Harald
by andurimees
Tue Sep 23, 2014 9:31 am
Forum: USB PC Oscilloscopes
Topic: How do I use the AWGs (in terms of hardware)?
Replies: 2
Views: 1786

Re: How do I use the AWGs (in terms of hardware)?

Any op amp is ok. Please note that the AWG is bipolar ranging by standard from -1V to +1V. You have to reprogram it to run from 0...1V losing half the bits in the DAC. I use a LMC660 on a 5V single rail supply. The AWG output is lifted from -1...+1V by a 22kOhm + 100kOhm potentiometer voltage divide...