I am using the PS 4227 and explored the SDK (PS4000sdk_r10_1_0_8) in Visual Studio 2010.
The C application starts just fine and the signal generator works out of the box.
But LED flashing is not possible. Can anybody tell me why?
I also took a look at the C# example from the SDK. I recognized that there are a lot of functions missing in the DllImports (why?) , so I added the LED function just like this:
[DllImport(_DRIVER_FILENAME, EntryPoint = "ps4000FlashLed")]
public static extern short FlashLed(
In the main program I first initialize the device (!) and then i call the LED function in the C# project like this:
but nothing happens.
I already checked the programmer's guide to verify my arguments are valid.
What could be the reason for this in C and in C#?
Is there an error in the ps4000.dll?