PORTS Forum

Ports and Interfaces => Serial Ports => Topic started by: Stefke35 on May 10, 2013, 05:12:22 am

Title: Interfacing DMM M-3860M to serialport communication with the PC
Post by: Stefke35 on May 10, 2013, 05:12:22 am
Hi Everyone,

Can sombody help me how I can written a monitor en datalog program for get the data from my Digital Multimeter via the serialport. It's okay if someone here written an console application or an short GUI application. I will prefer VB.NET, C#.NET, C++. How can I representation this dataformat, what can I use for store it, array, ptr what?

Here in attachment show you the dataformat :

Communication settings
=================
Baudrate : 9600 baud
Character code : 7-bit ASCII
Parity : none
Stop-Bits : 2

Dataformat Settings
===============
http://imageshack.us/photo/my-images/805/asciidataformatm3860dmm.jpg/

Example:
======
http://imageshack.us/photo/my-images/9/examplesdataformatascii.jpg/


Title: Re: Interfacing DMM M-3860M to serialport communication with the PC
Post by: Jan Axelson on May 10, 2013, 09:34:05 am
See my COM Port terminal example here:

http://www.lvr.com/serport.htm
Title: Re: Interfacing DMM M-3860M to serialport communication with the PC
Post by: Stefke35 on May 10, 2013, 04:52:27 pm
See my COM Port terminal example here:

http://www.lvr.com/serport.htm

Jan,

I don't known how I can store the data in the dataframe. How can I write this in a functie?
Title: Re: Interfacing DMM M-3860M to serialport communication with the PC
Post by: Jan Axelson on May 10, 2013, 06:12:45 pm
In my example, see the DataReceived function.
Title: Re: Interfacing DMM M-3860M to serialport communication with the PC
Post by: Stefke35 on May 15, 2013, 08:08:57 am
In my example, see the DataReceived function.

Jan,

I use PowerBasic for Windows
Title: Re: Interfacing DMM M-3860M to serialport communication with the PC
Post by: Jan Axelson on May 15, 2013, 09:15:19 am
You can store data received from a serial port in the same way you can store any data. Put it in a variable, write it to a file, etc.