Click here to Skip to main content
11,929,675 members (60,460 online)

Silverlight / WPF

AnswerRe: Enterprise solution Pin
Super Lloyd14-Feb-13 19:04
memberSuper Lloyd14-Feb-13 19:04 
QuestionRe: Enterprise solution Pin
vaishali thaker10-Apr-13 20:24
membervaishali thaker10-Apr-13 20:24 
QuestionChange 3 variables in another WPF window Pin
GiuseppeKoll9-Feb-13 23:38
memberGiuseppeKoll9-Feb-13 23:38 
AnswerRe: Change 3 variables in another WPF window Pin
Mycroft Holmes10-Feb-13 10:02
memberMycroft Holmes10-Feb-13 10:02 
GeneralRe: Change 3 variables in another WPF window Pin
GiuseppeKoll10-Feb-13 10:40
memberGiuseppeKoll10-Feb-13 10:40 
QuestionExpose Enum From Template Pin
Kevin Marois9-Feb-13 13:10
memberKevin Marois9-Feb-13 13:10 
AnswerRe: Expose Enum From Template Pin
SledgeHammer019-Feb-13 14:43
memberSledgeHammer019-Feb-13 14:43 
QuestionData Flow in a WPF App Pin
AeroClassics9-Feb-13 12:19
memberAeroClassics9-Feb-13 12:19 
Maybe data flow isn't the right question, maybe application organization describes my quandary a little better. Here is what I am trying to do and could stand a bit of help getting there.

The app I am creating basically sits between two pieces of equipment and provides data management and communications management between the two. On one side is a piece of equipment that views its world as dealing with a single entity that provides a go no-go result. The other side is a piece of gear that can have of measurements to keep up with. Essentially all this data must be gathered, analyzed and a go no-go be sent. One side expects a TCP/IP server the other is a GPIB bus master. The comms are handled as that was the easy part.

Where I am a bit stuck is gluing all this together. The GPIB code and the logic to handle the data is done and runs as a task. The TCP/IP server is done and it runs as a task. I need to add one more piece of logic to handle the decision making plus have a UI that needs to be kept up to date.

Right now I have test programs for testing the comms etc. There I have the UI registering event handlers to get notifications of something happening. I use EventWaitHandles to notify the thin interface layers that sit about the comms. All works great! But when I put all this together..............???

I want areas of functionality as loosely coupled as I can for better reuse. In the UNIX world this is simple but in this world, not so much. My inclination is let the MainWindow code behind kick off each task and the tasks expose public methods or permit registering event handlers. But something about this doesn't feel right. In the UNIX world I would have started POSIX threads to handle each functional area and used message queues to facilitate data flow. That way synchronous functionality is grouped and asynchronous is grouped. But the Windows world doesn't seem to operate that way. What I have seen is all the classes/objects are gathered into a single app and there is a lots of "peeking" over the wall to do things which I think tends to make things very tightly coupled.


AnswerRe: Data Flow in a WPF App Pin
Super Lloyd14-Feb-13 19:08
memberSuper Lloyd14-Feb-13 19:08 
QuestionBinding DataGrid Pin
Sawyer19889-Feb-13 4:33
memberSawyer19889-Feb-13 4:33 
AnswerRe: Binding DataGrid Pin
Andy41128-Feb-13 3:25
memberAndy41128-Feb-13 3:25 
QuestionMain Widow Appears on top of the Navigated Window In WPF Navigation Service Pin
Vuyiswa Maseko6-Feb-13 1:43
memberVuyiswa Maseko6-Feb-13 1:43 
QuestionOpening new WPF form in seperate thread. Pin
Hema Bairavan2-Feb-13 9:31
memberHema Bairavan2-Feb-13 9:31 
AnswerRe: Opening new WPF form in seperate thread. Pin
SledgeHammer012-Feb-13 11:28
memberSledgeHammer012-Feb-13 11:28 
GeneralRe: Opening new WPF form in seperate thread. Pin
Hema Bairavan3-Feb-13 3:57
memberHema Bairavan3-Feb-13 3:57 
GeneralRe: Opening new WPF form in seperate thread. Pin
SledgeHammer013-Feb-13 8:41
memberSledgeHammer013-Feb-13 8:41 
GeneralRe: Opening new WPF form in seperate thread. Pin
Jason Gleim1-Mar-13 9:00
memberJason Gleim1-Mar-13 9:00 
QuestionHow to user control view open in center of main parent window ? Pin
rahul ameta2-Feb-13 2:56
memberrahul ameta2-Feb-13 2:56 
Questionarrange elements inside wpf Pin
Remix Mixdox1-Feb-13 23:27
memberRemix Mixdox1-Feb-13 23:27 
AnswerRe: arrange elements inside wpf Pin
Abhinav S3-Feb-13 8:02
mvpAbhinav S3-Feb-13 8:02 
QuestionCustom Controls Pin
Sawyer19881-Feb-13 8:05
memberSawyer19881-Feb-13 8:05 
QuestionApplication Launcher Pin
Mycroft Holmes31-Jan-13 14:49
memberMycroft Holmes31-Jan-13 14:49 
AnswerRe: Application Launcher Pin
Abhinav S1-Feb-13 9:22
mvpAbhinav S1-Feb-13 9:22 
QuestionWPF controls refresh Pin
caradri31-Jan-13 2:50
membercaradri31-Jan-13 2:50 
AnswerRe: WPF controls refresh Pin
Pete O'Hanlon31-Jan-13 3:44
protectorPete O'Hanlon31-Jan-13 3:44 

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.

Advertise | Privacy | Mobile
Web04 | 2.8.151126.1 | Last Updated 27 Nov 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid