Click here to Skip to main content
16,011,608 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Vector Assertion Failure. Pin
David Crow12-Oct-07 2:46
David Crow12-Oct-07 2:46 
Questionconvert double to unsigned short Pin
l_d11-Oct-07 9:43
l_d11-Oct-07 9:43 
AnswerRe: convert double to unsigned short Pin
led mike11-Oct-07 10:12
led mike11-Oct-07 10:12 
JokeRe: convert double to unsigned short Pin
Mark Salsbery11-Oct-07 13:21
Mark Salsbery11-Oct-07 13:21 
AnswerRe: convert double to unsigned short Pin
Stephen Hewitt11-Oct-07 17:50
Stephen Hewitt11-Oct-07 17:50 
AnswerRe: convert double to unsigned short Pin
Nelek11-Oct-07 20:01
protectorNelek11-Oct-07 20:01 
GeneralRe: convert double to unsigned short Pin
led mike12-Oct-07 4:48
led mike12-Oct-07 4:48 
GeneralRe: convert double to unsigned short Pin
Nelek29-Oct-07 22:11
protectorNelek29-Oct-07 22:11 
This is what I have to do to get the real value of an analog input on a PLC.

The communication and reading function is BYTEwise, but reals in Step7 are 4 bytes. So I have to read indepentant bytes, separate some bits, and make the conversion to real using the formule of the IEEE.

BTW, thanks you a lot for the link. There is much better explained as in the help files of siemens

Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

Help me to understand what I'm saying, and I'll explain it better to you

Wink | ;)

QuestionFill Data in Active Window Pin
vikrant kpr11-Oct-07 9:21
vikrant kpr11-Oct-07 9:21 
QuestionImage enhancment Pin
Deepu Antony11-Oct-07 9:05
Deepu Antony11-Oct-07 9:05 
AnswerRe: Image enhancment Pin
led mike11-Oct-07 9:42
led mike11-Oct-07 9:42 
QuestionTemplate related error for non-template code? Pin
Franz Klein11-Oct-07 8:36
Franz Klein11-Oct-07 8:36 
AnswerRe: Template related error for non-template code? Pin
led mike11-Oct-07 8:58
led mike11-Oct-07 8:58 
AnswerRe: Template related error for non-template code? Pin
Nemanja Trifunovic11-Oct-07 8:59
Nemanja Trifunovic11-Oct-07 8:59 
AnswerRe: Template related error for non-template code? Pin
Stephen Hewitt11-Oct-07 17:52
Stephen Hewitt11-Oct-07 17:52 
QuestionIntegrate Borland Visibroker into VS 2005 Pin
Andy20211-Oct-07 6:38
Andy20211-Oct-07 6:38 
Questioncannot convert parameter 1 from 'char' to 'const char *' Pin
sntnknd11-Oct-07 6:26
sntnknd11-Oct-07 6:26 
AnswerRe: cannot convert parameter 1 from 'char' to 'const char *' Pin
led mike11-Oct-07 6:36
led mike11-Oct-07 6:36 
AnswerRe: cannot convert parameter 1 from 'char' to 'const char *' Pin
David Crow11-Oct-07 7:24
David Crow11-Oct-07 7:24 
GeneralRe: cannot convert parameter 1 from 'char' to 'const char *' Pin
sntnknd11-Oct-07 22:36
sntnknd11-Oct-07 22:36 
GeneralRe: cannot convert parameter 1 from 'char' to 'const char *' Pin
David Crow12-Oct-07 2:44
David Crow12-Oct-07 2:44 
QuestionMerging (Linking) two static library Pin
Hirakawa11-Oct-07 4:54
Hirakawa11-Oct-07 4:54 
AnswerRe: Merging (Linking) two static library Pin
jhwurmbach11-Oct-07 5:50
jhwurmbach11-Oct-07 5:50 
GeneralRe: Merging (Linking) two static library [modified] Pin
Hirakawa11-Oct-07 8:06
Hirakawa11-Oct-07 8:06 
AnswerRe: Merging (Linking) two static library Pin
Cedric Moonen11-Oct-07 7:27
Cedric Moonen11-Oct-07 7:27 

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.