Click here to Skip to main content
15,896,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: trace generation question Pin
Maximilien15-Mar-07 6:39
Maximilien15-Mar-07 6:39 
AnswerRe: trace generation question Pin
led mike15-Mar-07 6:48
led mike15-Mar-07 6:48 
QuestionRe: trace generation question Pin
redbones17-Mar-07 1:36
redbones17-Mar-07 1:36 
QuestionOn Vista GetUserObjectInformation return 0 for lpnLengthNeeded... Pin
deyadav15-Mar-07 6:23
deyadav15-Mar-07 6:23 
AnswerRe: On Vista GetUserObjectInformation return 0 for lpnLengthNeeded... Pin
Mark Salsbery15-Mar-07 7:45
Mark Salsbery15-Mar-07 7:45 
GeneralRe: On Vista GetUserObjectInformation return 0 for lpnLengthNeeded... Pin
deyadav15-Mar-07 9:32
deyadav15-Mar-07 9:32 
GeneralRe: On Vista GetUserObjectInformation return 0 for lpnLengthNeeded... Pin
Mark Salsbery15-Mar-07 9:36
Mark Salsbery15-Mar-07 9:36 
QuestionMDI Pin
ScotDolan15-Mar-07 6:23
ScotDolan15-Mar-07 6:23 
I am currently developing a MDI application, which is going to control a flight simulator. The flight simulator application consist of 3 main objects invertor, motincard, and socket.

Invertor Object: The invertor object configures invertors for AC motors. The object enables/disables the motors to be control by analog output of the motioncard. The communication between the invertor and the application happens over RS-485.

MotionCard: The motion card object controls the motion of the system. The card has a analog output which is wired to the invertor and it controls the speed and direction of the motor. Motion card accepts a input from position encoder and has PID loop to produce the analog output voltage. The application initialize and commands card to move the motors to specific position at the specified speed.

Socket: The socket objects is just a simple object that simpifies socket communication. The socket object simpily requires you to create object and initialize. Packet are transmitted by a non-blocking read and write functions. The read&write commands just place the packet in fifo to be transmitted.

My question is which is the best way to setup all these objects to operate together within a single Finite State Machine within a MDI application. The MDI application needs to have seprate UI/dialog/CForm for each object. for example,

Invertor Object UI: need to be configured with a comm port address,
: The object also need to post it's internal data to UI for debugging
Motion Cards : needs to be configured with PID loop coefficients, velocitys, etc
: The motion card has some status information that also needs to be display in a ui
Socket Object : Provides some statistical information about about the number packets it
has recieved and transmitted. The Ui also is needed for configuration such as
: settting IP and port addresses.


Scott Dolan
Jernie Corporation
Engineering & Manufacturing
Software, Hardware, & Enclosures

AnswerRe: MDI Pin
Mark Salsbery15-Mar-07 7:58
Mark Salsbery15-Mar-07 7:58 
Questionhow to call add(int i,int j) function in a mfc dll from vb application Pin
punit singh15-Mar-07 5:11
punit singh15-Mar-07 5:11 
QuestionRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
David Crow15-Mar-07 5:24
David Crow15-Mar-07 5:24 
AnswerRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
punit singh15-Mar-07 6:01
punit singh15-Mar-07 6:01 
GeneralRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
David Crow15-Mar-07 6:07
David Crow15-Mar-07 6:07 
GeneralRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
punit singh15-Mar-07 6:36
punit singh15-Mar-07 6:36 
AnswerRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
Cedric Moonen15-Mar-07 5:24
Cedric Moonen15-Mar-07 5:24 
AnswerRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
krmed15-Mar-07 5:37
krmed15-Mar-07 5:37 
GeneralRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
punit singh15-Mar-07 5:57
punit singh15-Mar-07 5:57 
GeneralRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
punit singh15-Mar-07 5:59
punit singh15-Mar-07 5:59 
GeneralRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
David Crow15-Mar-07 6:11
David Crow15-Mar-07 6:11 
GeneralRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
punit singh15-Mar-07 7:00
punit singh15-Mar-07 7:00 
GeneralRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
David Crow15-Mar-07 7:06
David Crow15-Mar-07 7:06 
Questionbar style windows Pin
akqira15-Mar-07 5:08
akqira15-Mar-07 5:08 
QuestionRe: bar style windows Pin
Maximilien15-Mar-07 7:52
Maximilien15-Mar-07 7:52 
AnswerRe: bar style windows Pin
akqira16-Mar-07 5:40
akqira16-Mar-07 5:40 
QuestionADO OpenTable database ACCESS cause memory problem !! Pin
AkiraOne15-Mar-07 4:43
AkiraOne15-Mar-07 4:43 

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.