Search:

Type: Posts; User: lwong

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    929

    My meaning is every 2 seconds, the data line will...

    My meaning is every 2 seconds, the data line will be updated( the data line is something like wave), the data line overlap with the rectangle which have horiz.and vertical grids, in my program, when...
  2. Replies
    3
    Views
    929

    help me with this

    Dear All,
    I have designed one Form, there is some draw inside, include an background rectangle and grids, and a data line.
    I want to keep the rectangle and grids unchange, but the data refresh...
  3. Replies
    1
    Views
    1,229

    what's wrong with this

    Dear All,
    I have a program like:


    void CProjDlg::OnCalculte()
    {

    typedef UINT (CALLBACK* LPFNDLLFUNC1)(INT,INT);
    typedef UINT (CALLBACK* LPFNDLLFUNC2)(INT);
    ...
  4. Replies
    1
    Views
    1,907

    how to access parallel port under windows NT

    Dear All,
    How to access parallel port under windows NT by using C++ programming?Thank you.
  5. Replies
    0
    Views
    2,716

    how to make parallel port read data

    dear all,
    i have one small program reading data from parallel port.


    void CProjDlg::OnCalculte()
    {


    unsigned DataAddress=0x378;
    int DataPort;
  6. Replies
    3
    Views
    3,129

    Thanks for your quickly response,Salem. I have a...

    Thanks for your quickly response,Salem.
    I have a program which can read the data from parallel port, but i expected not to save the data into a file, and plot the data on pc screen in real time....
  7. Replies
    3
    Views
    3,129

    get the data and plot the graph

    Dear All,
    i have data received from parallel port and how to plot them on the computer screen using visual c++? can anyone show me the simple program code? i have no such experience before. Thank u.
  8. Replies
    2
    Views
    1,653

    Display waveform in window

    Dear All,
    I have some date get from parallel port, how can i use these data to plot waveform at real time using Visual c++?
    Thank you.
  9. Replies
    1
    Views
    1,062

    How to get correct value from parallel port

    Dear All,
    i have one program which can get the input of parallel port and display the value on window.


    void CProjDlg::OnCalculte()
    {


    unsigned StatusAddress=0x378;
    int...
  10. Thank you, How to use _inp(), it takes one...

    Thank you,
    How to use _inp(), it takes one parameter, while _outp() takes two parameters,are they?
    i think it is just few lines(program) if display the signal in computer through parallel port,...
  11. how to control pinter port read/write using C++

    Dear all,
    how to control parallel port using visual c++?when i send a data to parallel port, it will be displayed in computer screen, How to do that, Thank you.
  12. Thread: is it possible?

    by lwong
    Replies
    5
    Views
    1,224

    thank you, yes it is MFC,but how to set them...

    thank you,
    yes it is MFC,but how to set them both value and control? they just can be set as either value or control at one time, are they?
  13. Thread: is it possible?

    by lwong
    Replies
    5
    Views
    1,224

    thank you, my idea was the same before, but i...

    thank you, my idea was the same before, but i don't know how to
    do that, my program will check R>S or S>R when i click ok, but before i click, it doesn't know it should show Q1 or Q2, so i abort,...
  14. Thread: is it possible?

    by lwong
    Replies
    5
    Views
    1,224

    is it possible?

    Dear All,
    i have a dialog, four edit boxes on it, called R,S,Q1,Q2, I want to design when checking R<S,Q2 edit box is disable while Q1 still keeps able for user to enter value, when R>S,Q1 is...
  15. Thread: display pulse

    by lwong
    Replies
    2
    Views
    2,128

    Thank you Codeplug. i am just an engineering...

    Thank you Codeplug.
    i am just an engineering student, a project required me to detect the heart beat pulse,(a circuit, which generates the pulses, has been provided)and display the waveform in...
  16. Thread: display pulse

    by lwong
    Replies
    2
    Views
    2,128

    display pulse

    Dear All,
    I have heart beat signal in analog, after pass through ADC0804 and pass in computer through parallel port, how can I display the signal pulse in window in real time?assuming i can get the...
  17. Replies
    9
    Views
    1,459

    Thank you all, i have solved the problem,the...

    Thank you all,
    i have solved the problem,the code is no problem, after i click rebuild all in build, it can run
  18. Replies
    9
    Views
    1,459

    My code is no any error, but cannot run. the...

    My code is no any error, but cannot run.
    the problem is caused by


    private:
    Cshunt shunt;
    Ctcircuit tcircuit;


    in the header file "lcircuit1.h"
  19. Replies
    9
    Views
    1,459

    Sorry lcircuit2.h #if...

    Sorry
    lcircuit2.h


    #if !defined(AFX_LCIRCUIT2_H__8CC450C8_55E8_42D6_BD59_33E28683A1A8__INCLUDED_)
    #define AFX_LCIRCUIT2_H__8CC450C8_55E8_42D6_BD59_33E28683A1A8__INCLUDED_

    #include "shunt.h"...
  20. Replies
    9
    Views
    1,459

    Thank you. private: Cshunt shunt;...

    Thank you.


    private:
    Cshunt shunt;
    Ctcircuit tcircuit;

    if i delete one function variable, then problem runs properly.
  21. Replies
    9
    Views
    1,459

    more than one function variable?

    Dear,
    It is possible to add more than one function variable in a class(not main class).
    Sorry, i may not make the question clearly.
    Thank you
  22. Thread: help

    by lwong
    Replies
    3
    Views
    959

    Sorry, i am a new user. So cannot declare...

    Sorry, i am a new user. So cannot declare clearly.
    The classes that i mean is MFC classes.Can different classes share one window, that means when i have some options, once i select one option, and...
  23. Thread: help

    by lwong
    Replies
    3
    Views
    959

    help

    Dear All,
    can different classes share one dialog?
    Thank you!
  24. Thread: help

    by lwong
    Replies
    1
    Views
    919

    help

    Dear All,
    how to show an image on dialog in MFC?below the image, i want to add a command button called "Next" to let the program continues, how to do that?i think it is simple, but i am the new...
  25. Thread: is it possible?

    by lwong
    Replies
    2
    Views
    893

    is it possible?

    hi, everyone,
    i have one circuit image, when i click the button "show" it will show the image, when i click"calculate" the program will caculate the value of components of the circuit, but it cannot...
Results 1 to 25 of 39
Page 1 of 2 1 2