Click here to Skip to main content
15,922,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Print Preview and "x"-Button Pin
Mark Salsbery13-Feb-08 13:26
Mark Salsbery13-Feb-08 13:26 
GeneralRe: Print Preview and "x"-Button Pin
led mike13-Feb-08 13:32
led mike13-Feb-08 13:32 
QuestionPermanent System wide hook Pin
Alberto Bar-Noy13-Feb-08 9:14
Alberto Bar-Noy13-Feb-08 9:14 
GeneralRe: Permanent System wide hook Pin
led mike13-Feb-08 10:38
led mike13-Feb-08 10:38 
GeneralRe: Permanent System wide hook Pin
Rajesh R Subramanian13-Feb-08 18:54
professionalRajesh R Subramanian13-Feb-08 18:54 
GeneralRe: Permanent System wide hook Pin
Alberto Bar-Noy13-Feb-08 19:25
Alberto Bar-Noy13-Feb-08 19:25 
GeneralRe: Permanent System wide hook Pin
Rajesh R Subramanian13-Feb-08 19:27
professionalRajesh R Subramanian13-Feb-08 19:27 
QuestionCan This Be Done - Thread Nighmare for a .net Beginner Pin
Turquoise13-Feb-08 9:07
Turquoise13-Feb-08 9:07 
I will try to make it short and sweet... and for those with a little more time, the details are following.

Is it possible to ensure a program loop is being continuously accomplished while a single THREAD is being done?

Details:
I am using a 3D stage with 3 steppers and 3 piezos from Thorlabs. At the press of a button, the program executes a given course with a single thread, using only the steppers. So far, the program works fine.

However, for a 2D movement (XY), the Z value (shown constant) is in fact changing due to various mechanical factors. I need to implement a continuous compensation with the piezo motor. I have the equation (Z=f(X,Y)), and I have a library of activeX controls, such as GetPosition, at my disposal. I guess this should be a single loop of commands, but I don't know where to put it.

A compensation at the end of the course is not acceptable. The stage has to be MAINTAINED with a constant Z at all time.

Anyone???Confused | :confused:

Turquoise
Mechanical-Engineer-to-be
Montreal

GeneralRe: Can This Be Done - Thread Nighmare for a .net Beginner Pin
led mike13-Feb-08 10:36
led mike13-Feb-08 10:36 
GeneralRe: Can This Be Done - Thread Nighmare for a .net Beginner Pin
Turquoise13-Feb-08 10:44
Turquoise13-Feb-08 10:44 
GeneralRe: Can This Be Done - Thread Nighmare for a .net Beginner Pin
led mike13-Feb-08 11:16
led mike13-Feb-08 11:16 
GeneralRe: Can This Be Done - Thread Nighmare for a .net Beginner Pin
Turquoise13-Feb-08 17:35
Turquoise13-Feb-08 17:35 
GeneralRe: Can This Be Done - Thread Nighmare for a .net Beginner Pin
CPallini13-Feb-08 23:28
mveCPallini13-Feb-08 23:28 
GeneralRe: Can This Be Done - Thread Nighmare for a .net Beginner Pin
Turquoise13-Feb-08 17:44
Turquoise13-Feb-08 17:44 
GeneralRe: Can This Be Done - Thread Nighmare for a .net Beginner Pin
Rajesh R Subramanian13-Feb-08 19:25
professionalRajesh R Subramanian13-Feb-08 19:25 
GeneralRe: Can This Be Done - Thread Nighmare for a .net Beginner Pin
Turquoise14-Feb-08 1:51
Turquoise14-Feb-08 1:51 
GeneralRe: Can This Be Done - Thread Nighmare for a .net Beginner Pin
Rajesh R Subramanian14-Feb-08 7:12
professionalRajesh R Subramanian14-Feb-08 7:12 
GeneralAcessing a device driver program Pin
Deepu Antony13-Feb-08 6:39
Deepu Antony13-Feb-08 6:39 
GeneralRe: Acessing a device driver program Pin
led mike13-Feb-08 6:59
led mike13-Feb-08 6:59 
GeneralRe: Acessing a device driver program Pin
Stephen Hewitt13-Feb-08 15:02
Stephen Hewitt13-Feb-08 15:02 
GeneralRe: Acessing a device driver program Pin
Randor 13-Feb-08 12:37
professional Randor 13-Feb-08 12:37 
GeneralRe: Acessing a device driver program Pin
Stephen Hewitt13-Feb-08 15:20
Stephen Hewitt13-Feb-08 15:20 
GeneralAutomatic scrolling edit control Pin
LCI13-Feb-08 5:08
LCI13-Feb-08 5:08 
GeneralRe: Automatic scrolling edit control Pin
led mike13-Feb-08 6:36
led mike13-Feb-08 6:36 
GeneralRe: Automatic scrolling edit control Pin
David Crow13-Feb-08 6:37
David Crow13-Feb-08 6:37 

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.