computer translation
not running .Net C # - copy the code on Labview.
digital oscilloscope (PicoScope 3425). There are 2 examples from the developer, 1st driver - for LV, 2nd - C #. In LV everything works well, try to test this same driver in C #, the three functions are successful, the 4th shut up, I can not find a mistake, do not understand what you need to understand? All inputs attach an attachment. C # tested in Visual Studio 2010 express, LabView 2011. For clarity, attach pictures, slices observed, where he works, and where not.
not running .Net C # - copy the code on Labview.
not running .Net C # - copy the code on Labview.
- Attachments
-
- ps3000_c.zip
- cod Visual Studio 2010 express C#
- (177.26 KiB) Downloaded 187 times
Re: not running .Net C # - copy the code on Labview.
solution
thanks for the help
Code: Select all
static void Main(string[] args)
{
short handle = ps3000_open_unit();
ps3000_set_channel(handle, Channel.ChannelA, true, Coupling.AC, Range.Range1V);
ps3000_set_trigger2(handle, Channel.ChannelA, 0, TriggerThresholdDirection.Rising, 0, 0);
ps3000_set_ets(handle, EtsMode.Off, 0, 0);
ps3000_run_streaming_ns( handle, 1, TimeUnits.MilliSeconds, 1000000, true, 10, 25000);
Console.WriteLine(handle);
}