Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
AnswerRe: cross thread issue Pin
Richard Andrew x6426-Mar-14 11:22
professionalRichard Andrew x6426-Mar-14 11:22 
GeneralRe: cross thread issue Pin
Member 1068390226-Mar-14 16:50
Member 1068390226-Mar-14 16:50 
AnswerRe: cross thread issue Pin
Bernhard Hiller26-Mar-14 22:04
Bernhard Hiller26-Mar-14 22:04 
GeneralRe: cross thread issue Pin
Member 1068390227-Mar-14 5:51
Member 1068390227-Mar-14 5:51 
GeneralRe: cross thread issue Pin
BobJanova27-Mar-14 6:54
BobJanova27-Mar-14 6:54 
GeneralRe: cross thread issue Pin
Bernhard Hiller27-Mar-14 23:26
Bernhard Hiller27-Mar-14 23:26 
GeneralRe: cross thread issue Pin
BobJanova28-Mar-14 0:26
BobJanova28-Mar-14 0:26 
SuggestionBUILDING a GUI that talks to two energy-meters through the serial port Pin
Henri Aghaei26-Mar-14 7:51
Henri Aghaei26-Mar-14 7:51 
I am coming from Texas instruments Forum (MSP430f47197) due to my curiosity on C# and serial communications!

I just started to make a GUI that can communicate with two energy meters and read their voltage, current, power factor, and the Active power as well.

The GUI itself was easy for me as I saw a couple of Youtube videos and learnt how to make forms in Visual Studio.

The confusion and ambiguity was started when I noticed that I need to make the PC connected to the serial port and most importantly, read the values. Moreover, for one out of two meters I need to write as well and return that back to the GUI! Cry | :((

As I am new in Serial communication and C# stuff, what do you think of this project? Is this doable?

I have the code for one of the energy-meters. The code which is written in the CHIP of the board is partially modified by me and I am almost familiar with.

But the other energy-meter is not. It is just a black-box and I have only some h files! Is this possible to talk to such energy meter?

I would like to know how much time do I need and where is the best point to start with?

I have divided the steps for my project as follows. However your feedback and comments much more appreciate it.

1. Receiving data from the E-meter code through Hyper-terminal or other monitoring software.

2. Receiving the Voltage from the SPM without decimal points via Hyper.

3. Receiving the Voltage from the SPM Using C#.

4. Modifying the Voltage from the SPM Using C# and sending it back to the MCU and showing the modified version of Voltage on the display.

5. Receiving the Voltage from the Radian-meter Using C#.

6. Comparing voltage from SPM to Radian-meter and calculate the offset and sending back to SPM.

P.S.

SPM: energy-meter 1
Radian-meter: energy-meter 2
Voltage: Just as an example to get one value.
GeneralRe: BUILDING a GUI that talks to two energy-meters through the serial port Pin
Dave Kreskowiak26-Mar-14 8:38
mveDave Kreskowiak26-Mar-14 8:38 
GeneralRe: BUILDING a GUI that talks to two energy-meters through the serial port Pin
V.27-Mar-14 0:04
professionalV.27-Mar-14 0:04 
GeneralRe: BUILDING a GUI that talks to two energy-meters through the serial port Pin
BobJanova27-Mar-14 6:53
BobJanova27-Mar-14 6:53 
GeneralRe: BUILDING a GUI that talks to two energy-meters through the serial port Pin
Henri Aghaei7-Apr-14 9:18
Henri Aghaei7-Apr-14 9:18 
QuestionConvert .mp3 file to .vox in vb.net or c# Pin
Member 1070135326-Mar-14 6:46
Member 1070135326-Mar-14 6:46 
AnswerRe: Convert .mp3 file to .vox in vb.net or c# Pin
Eddy Vluggen26-Mar-14 8:02
professionalEddy Vluggen26-Mar-14 8:02 
GeneralRe: Convert .mp3 file to .vox in vb.net or c# Pin
harold aptroot26-Mar-14 8:26
harold aptroot26-Mar-14 8:26 
QuestionC# Web Forms: Add a context menu to a grid and outside grid also. Pin
AshwiniSH25-Mar-14 23:57
professionalAshwiniSH25-Mar-14 23:57 
AnswerRe: C# Web Forms: Add a context menu to a grid and outside grid also. Pin
Pete O'Hanlon26-Mar-14 0:04
mvePete O'Hanlon26-Mar-14 0:04 
GeneralRe: C# Web Forms: Add a context menu to a grid and outside grid also. Pin
AshwiniSH26-Mar-14 0:12
professionalAshwiniSH26-Mar-14 0:12 
Questionstyle close button extra tab Pin
ebrahim.rayatparvar25-Mar-14 22:27
ebrahim.rayatparvar25-Mar-14 22:27 
AnswerRe: style close button extra tab Pin
BillWoodruff25-Mar-14 23:10
professionalBillWoodruff25-Mar-14 23:10 
GeneralRe: style close button extra tab Pin
ebrahim.rayatparvar25-Mar-14 23:50
ebrahim.rayatparvar25-Mar-14 23:50 
AnswerRe: style close button extra tab Pin
Pete O'Hanlon25-Mar-14 23:10
mvePete O'Hanlon25-Mar-14 23:10 
GeneralRe: style close button extra tab Pin
ebrahim.rayatparvar25-Mar-14 23:52
ebrahim.rayatparvar25-Mar-14 23:52 
GeneralRe: style close button extra tab PinPopular
Pete O'Hanlon26-Mar-14 0:03
mvePete O'Hanlon26-Mar-14 0:03 
AnswerRe: style close button extra tab Pin
Simon_Whale25-Mar-14 23:12
Simon_Whale25-Mar-14 23:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.