Author Topic: Interfacing DMM M-3860M to serialport communication with the PC  (Read 12742 times)

Stefke35

  • Member
  • ***
  • Posts: 10
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/



Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Interfacing DMM M-3860M to serialport communication with the PC
« Reply #1 on: May 10, 2013, 09:34:05 am »
See my COM Port terminal example here:

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

Stefke35

  • Member
  • ***
  • Posts: 10
Re: Interfacing DMM M-3860M to serialport communication with the PC
« Reply #2 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?

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Interfacing DMM M-3860M to serialport communication with the PC
« Reply #3 on: May 10, 2013, 06:12:45 pm »
In my example, see the DataReceived function.

Stefke35

  • Member
  • ***
  • Posts: 10
Re: Interfacing DMM M-3860M to serialport communication with the PC
« Reply #4 on: May 15, 2013, 08:08:57 am »
In my example, see the DataReceived function.

Jan,

I use PowerBasic for Windows

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Interfacing DMM M-3860M to serialport communication with the PC
« Reply #5 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.