|
Hello cedric,
I could not walk through each data points, since i have more than 20,000 samples.
FYI
Unsymmetrical Sine waveform data is as below,
ON time
Start - 5V.
Stop - 5V.
Max - 7V.
OFF time
Start - 5V.
Stop - 5V.
Min - 1V.
There will not be any negative data points. So how could i find that the waveform crosses at 5V.
|
|
|
|
|
Hi, You may well have 20,000 samples but you can still 'walk through' them, in fact you will have to analyse each point in some way to get the results you require.
I do not entirely follow the description of your waveform, but since you have no negative points you could find the time between two peaks (maximums) or troughs (minimums), this would be an equally valid measurement of period.
Hope that helps,
Ali
|
|
|
|
|
can we add command buttons to SDI application.
|
|
|
|
|
Yes
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
Respected all,
I am working with win32 application for windows mobile 5.0. I need use datetime control on one of the my dialog box. after adding the datetime control on the dialog box. The application compiled successfully but that dialog box is not loaded while running application.
Thank you.
Hiren.
|
|
|
|
|
If you remove the control from the dialog template, does the dialog then display?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Any event fired by the windows on establishment of new socket?
|
|
|
|
|
|
Hi,
i am using comport communication in my application
so i have to detect whether the data is there on the tx line
or not and then send the data is there anyway to implement
this functionality
|
|
|
|
|
Why do you need that? Don't you like output buffering?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
no the output buffering was not working so
i want to implement this way... to transmit data
|
|
|
|
|
Output buffering usually works. Could you please give more details about your problem?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
actually i am implementing a functionality in
which the tx and rx will be in a session
so while i am sending the data at a baudrate(baudrate can be any)
this is coming out of session.even though its taking the whole value into the
tx buffer its abruptly comes out of session.
|
|
|
|
|
Are you changing the baud rate on the fly, without closing and the opening again the port? I don't know if it might work, anyway you've to make sure to flush the buffer, before even trying.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
baud rate is fixed before entering the session
it cannot be changed on the fly.once i enter the session
the communication occurs at fixed baud rate.
but the data sent through can be varied...
so if i am sending large bytes of data then its coming out of session..
|
|
|
|
|
Hello Friends
i updated my code from vs2002 to 2008.and after that i got error in vector functions on m1.clear(),then i add msvcrtd.lib file then it crashed at another funcion of vector m1.push_back(). Do I need to add any other lib file to work with vector in vs2008?
Thanks In advance.
Yogesh
|
|
|
|
|
Hi Yogesh,
Are you reading/writing to the vector from multiple threads?
Best Wishes,
-David Delaune
|
|
|
|
|
yes,i m writing to the vectors.
|
|
|
|
|
|
But it was working very nicely in 2002,Y i hv to look at synchronizationin 2008.
Thanks
Yogesh
|
|
|
|
|
yogeshs wrote: But it was working very nicely in 2002
Yes, Visual Studio 2002 actually had partial thread-safety for some STL containers including vector and map.
Best Wishes,
-David Delaune
|
|
|
|
|
But are you writing to the same vector from more than one thread?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
hi,
i have a problem in reading inf files.. am able to write content into the inf file but its not reading properly.. i have used ::getprofilestring method..
compiler passes thru the function properly but not reading the values present in the inf file...
has anyone faced problem like this before? any solutions for this??
Thanks,
Rakesh.
|
|
|
|
|
|
Using GetPrivateProfileString() , is your .inf file laid out like a .ini file?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|