Click here to Skip to main content
15,906,816 members
Home / Discussions / C#
   

C#

 
QuestionIssue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
shaina22317-Jun-10 0:51
shaina22317-Jun-10 0:51 
AnswerRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
Johnny J.7-Jun-10 1:14
professionalJohnny J.7-Jun-10 1:14 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
shaina22317-Jun-10 1:52
shaina22317-Jun-10 1:52 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
Johnny J.7-Jun-10 1:57
professionalJohnny J.7-Jun-10 1:57 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
shaina22317-Jun-10 2:00
shaina22317-Jun-10 2:00 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
J4amieC7-Jun-10 2:05
J4amieC7-Jun-10 2:05 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
shaina22317-Jun-10 2:12
shaina22317-Jun-10 2:12 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
J4amieC7-Jun-10 2:26
J4amieC7-Jun-10 2:26 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
shaina22317-Jun-10 2:29
shaina22317-Jun-10 2:29 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
Johnny J.7-Jun-10 2:41
professionalJohnny J.7-Jun-10 2:41 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
Dave Kreskowiak7-Jun-10 3:48
mveDave Kreskowiak7-Jun-10 3:48 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
Mirko19807-Jun-10 4:35
Mirko19807-Jun-10 4:35 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
Johnny J.7-Jun-10 2:39
professionalJohnny J.7-Jun-10 2:39 
GeneralOT Pin
jeron17-Jun-10 4:34
jeron17-Jun-10 4:34 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
Alan N7-Jun-10 3:58
Alan N7-Jun-10 3:58 
QuestionNUnit and testing in Web Developer 2008 Express Pin
Bart Van Eyndhoven7-Jun-10 0:22
Bart Van Eyndhoven7-Jun-10 0:22 
QuestionInstall windows Service from ClickOnce Deployment Pin
Abdul Rahman Hamidy7-Jun-10 0:04
Abdul Rahman Hamidy7-Jun-10 0:04 
QuestionChild Form From its parent form Pin
Enobong Adahada6-Jun-10 22:05
Enobong Adahada6-Jun-10 22:05 
AnswerRe: Child Form From its parent form Pin
Łukasz Nowakowski6-Jun-10 22:22
Łukasz Nowakowski6-Jun-10 22:22 
AnswerRe: Child Form From its parent form Pin
Anshul R8-Jun-10 20:33
Anshul R8-Jun-10 20:33 
QuestionMultithreading Pin
peropata6-Jun-10 21:20
peropata6-Jun-10 21:20 
AnswerRe: Multithreading Pin
Luc Pattyn7-Jun-10 1:01
sitebuilderLuc Pattyn7-Jun-10 1:01 
Hi,

There basically are two schemes you have to choose from.

1.
if the timer is a Windows.Forms.Timer and your Tick handler is short (less than 10 msec), then everything should be OK. That requires there are no blocking I/O methods called. So when your peripheral needs 200 msec to perform a data acquisition, it would only work smoothly if that gets handled asynchronously, i.e. in one timer tick you issue a "start acquisition" command without waiting for the results; and in a different handler (or a later tick of the timer) you issue a "now deliver the available data" command.

2.
If the above is not possible, the alternative is to have a second thread that takes care of communicating with your peripheral and preparing the new data; it should then use the Control.InvokeRequired/Invoke pattern to update the GUI. See this little article[^].

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read formatted code with indentation, so please use PRE tags for code snippets.

I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).

modified on Monday, June 7, 2010 8:39 AM

QuestionSerial number in installer. Pin
MayukhSen6-Jun-10 20:52
MayukhSen6-Jun-10 20:52 
AnswerRe: Serial number in installer. Pin
Hristo-Bojilov6-Jun-10 21:24
Hristo-Bojilov6-Jun-10 21:24 
QuestionPDF to Tiff through C# Pin
mehrdadc486-Jun-10 18:24
mehrdadc486-Jun-10 18:24 

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.