|
Sounds to me like you have your data acquisition process running with very high priority and very frequently. Those two attributes do not give time for the 3rd application to do anything.
How are you doing your data acquisition and plotting? I am guessing that your data acquisition is the bottle neck. Where is your data coming from? Are you polling some input, like the parallel port, for onesample at a time, or are you processing an interrupt to pull in a buffer of samples? The first solution will use more processor time than the second, and if you sample rate and bits per sample are high, you can block out most other processes.
|
|
|
|
|
The data is coming from an ampere meter and the communication is through a GPIB. The application waits for a service request and reads the value. Unfortunately, I can not use the buffer of the device, in order to reduce the reading frequency. There are involved other devices and synchronization between them which doesn’t allow it.
|
|
|
|
|
So you have two applications:
1) Uses the GPIB interface to get samples of the current.
2) Plots data from the first application.
I think you have to look at your rate of interraction between the applications. For example, how often is APP1 getting the samples and how often is it sending those samples to APP2. If APP1 sends the data directly to APP2, each sample time, you may want to consider buffering your data in APP1 for a certain amount of time before sending the data to APP2.
Parallel Port Programming[^] is a book that describes some of the trade offs you need to consider for data acquisition using a PC.
|
|
|
|
|
Tonichka wrote: The problem is that, 3rd application can not start. The Windows freezes till the measuring is ended.
Try putting threads in your design. May be a seperate thread for data reading.
-Prakash
|
|
|
|
|
Does anyone know if there is any API to obtain the LocalServer32 from a CLSID, rather than querying explicitly in the registry?
thanks!
|
|
|
|
|
i had developed an aplication (vc++ 6.0).
its is ok and working,
but one of the client, had some problem with it
when is strarts executing, the system is getting hanged, and he need to
restart the system to get back to normal working condition
can any one guess and help me out in finding the problem
Thank in Advance
-- modified at 2:00 Friday 30th December, 2005
|
|
|
|
|
Its very minimal information. Can u briefly explain what exactly does ur application ?
|
|
|
|
|
It download files form olympus recoder and uploads to FTP
i had handled all the exceptions,
its working here with me fine,
and also with all the clients except one,
as soon as he started the application, system is struck up it seems
and he need to restart the system, even ATl+CLT+DEL is also not working on his system, if OS is differnet will be so, or can be any other reason
pls help me out
Thanks & Regrads
-- modified at 3:27 Friday 30th December, 2005
|
|
|
|
|
What exactly the functionality it(application) performs in the beginning. What are specs of ur pc and ur client's pc ?
|
|
|
|
|
Its like aking
what is the Disease if i have high temperature.
U need to investigate the machine , probably
reason for such thing is a infinite loop and
he thread hodling the loop is at high priority
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Thank you for your responce
The Applicatin initially, retrives some information form
DB for user,
Its is running properly on my machine
all the threads, every thing
is that of win 2k SP2 or SP4 installed on the client system, some thing like that
the whole machine freezes up, mouse won't move, ctrl-alt-del does nothing. have to push the reset button on the computer or otherwise power it off and reboot.
Thanks & Regrads
-- modified at 5:04 Friday 30th December, 2005
|
|
|
|
|
Are you sure that the system hangs and not just ur application.
To my knowledge, i Have seen some Syncronous FTP clients getting locking up the system for sometime while the download or upload is going on.
I dont know if this info is of any use to you, but then I guessed
-Prakash
|
|
|
|
|
Mr. Prakash Thank you very much for ur responce
system is hanging not the application alone,
on my system every thing is fine, all the clients r ok,
but except one, i belive he is using win2k, i am on xp..
will that make any differnce,if yes remaing clients should also the
same proble, it is not possible for me to visit him personal and
get the thing done, that is the problem, i need to trace the problem form here itself,
Thanks & Regrads
|
|
|
|
|
it could be also possible if he has installed some application that is causing problem with ur client.
Try on a clean win2k machine and see if the problem is reproduced. If no try get some info from his machine of any suspect software like personal firewall, etc ,etc.
-Prakash
|
|
|
|
|
Thanks u for ur Advice
I will check it out
Thanks & Regrads
I am an INDIAN
|
|
|
|
|
In Visual studio 6, how do you specify the "clean" target for a "Makefile" project? I see only "Build command line" and "Rebuild all options".
thanks!
|
|
|
|
|
hello,
does anyone know what do we need to install to make Windows support SCTP protocol? currently i have a linux application im trying to port to windows. and it encounters an error on this code fragment:
sk = socket(s_loc.ss_family, SOCK_SEQPACKET, IPPROTO_SCTP)
error:
10047 WSAEAFNOSUPPORT Address family not supported by protocol family.
im using visual studio .NET
thanx and happy holidays....
|
|
|
|
|
Windows does not support IPPROTO_SCTP.
-Prakash
|
|
|
|
|
Hi.
I need to map network drives in Boralnd C++. I need a function that takes the username and password as parameters. Can anybody please help? Urgent help needed!
Hearty Thanks,
Priya
|
|
|
|
|
Priya..k wrote: map network drives in Boralnd C++.
Yesterday somebody asked a similar question. Please check.
Jesus Loves You and Me <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
It said to use NetUseAdd(). But this function does work in Borland C++. I need a function that will work in Borland c++ and one that can take the username and password as parameters. Any suggestions or ideas?
Thanks,
priya
|
|
|
|
|
Look here.
http://bdn.borland.com/article/0,1410,16592,00.html[^]
Hope this helps...
I hope borland too has a forum for it's users... Do search for that too...
Jesus Loves You and Me <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
Hi there again.
Thanks for the help whoever you are.
"Search the net" is all i seem to be doing for days to get a solution to this problem.
Nothing worth however has seem to come in my way. I even search for exchange forums for Borland C++ users but can't seem to find.
Do you know any site where i can get some Borland C++ codes or a forum for Borland C++ users, or better do you know anyone that can help me on this issue?
Many thanks,
Priya
|
|
|
|
|
Did it work...
Here is a forum
http://www.tek-tips.com/threadminder.cfm?pid=206[^]
Jesus Loves You and Me <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
The link you gave me before didn't help. The code was in C++ not Boralnd C++ Builder. The two are very very different!
I'll try this one and let you know
thx
|
|
|
|