PORTS Forum
Ports and Interfaces => Serial Ports => Topic started 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/
-
See my COM Port terminal example here:
http://www.lvr.com/serport.htm
-
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?
-
In my example, see the DataReceived function.
-
In my example, see the DataReceived function.
Jan,
I use PowerBasic for Windows
-
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.