On 7/14/06, Jonathan Pryor <[EMAIL PROTECTED]> wrote: > > How do you talk to the GPIB instruments in C, etc.? Do you need to open > a /dev device and talk some binary protocol?
no > Or is there a define C API that you need to use? yes > Use a serial port? no > If a /dev device, you can probably create a System.IO.FileStream > instance for the specified file, and read/write the binary data as > appropriate. see above > If a C API, you can use DllImport declarations to import the C API into > C#; see http://www.mono-project.com/dllimport. yes I will check the document... thanks... > If a serial port is used, use `gmcs' to compile (to target the .NET 2.0 > runtime) and use the System.IO.Ports.SerialPort type. no see above In any case thanks for the prompt reply Igor _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
