Click here to Skip to main content
15,905,563 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDrawing on different types of bitmaps Pin
Jim Crafton15-Mar-07 11:27
Jim Crafton15-Mar-07 11:27 
AnswerRe: Drawing on different types of bitmaps Pin
Jim Crafton15-Mar-07 12:21
Jim Crafton15-Mar-07 12:21 
QuestionAbout Chinese characters Convert Ascii Pin
MyNothing15-Mar-07 8:05
MyNothing15-Mar-07 8:05 
AnswerRe: About Chinese characters Convert Ascii Pin
Mark Salsbery15-Mar-07 9:24
Mark Salsbery15-Mar-07 9:24 
QuestionRun exe Pin
prathuraj15-Mar-07 7:01
prathuraj15-Mar-07 7:01 
AnswerRe: Run exe Pin
David Crow15-Mar-07 7:07
David Crow15-Mar-07 7:07 
GeneralRe: Run exe Pin
prathuraj15-Mar-07 7:50
prathuraj15-Mar-07 7:50 
QuestionRe: Run exe Pin
David Crow15-Mar-07 8:00
David Crow15-Mar-07 8:00 
QuestionProblem In Printing Pin
Neptunex15-Mar-07 6:36
Neptunex15-Mar-07 6:36 
AnswerRe: Problem In Printing Pin
Mark Salsbery15-Mar-07 7:28
Mark Salsbery15-Mar-07 7:28 
GeneralRe: Problem In Printing Pin
Neptunex16-Mar-07 21:56
Neptunex16-Mar-07 21:56 
GeneralRe: Problem In Printing Pin
Mark Salsbery17-Mar-07 8:42
Mark Salsbery17-Mar-07 8:42 
Questiontrace generation question Pin
redbones15-Mar-07 6:26
redbones15-Mar-07 6:26 
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 

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.