FixYa.com
Technical Support, Instructions & Repair Service


Tags:

Intel Play QX3 Monocular Microscope

Clock problem caused by a Fortran software

By LiZzIe - usenet poster


Hi everyone.

I have a problem with Minos, a non-linear programming software programmed in
Fortran. We compiled this program with Compaq Visual Fortran 6.5 on Windows
2000.

When I call Minos many times, I notice that the computer internal clock
accelerates. Is there any Visual Fortran setting that could cause this
effect? I actually study this code, but if someone experienced something
similar, I'd like to know about it.

Regards.

Fran??ois Grondin

This Problem has been added to the Share Your Expertise Page under "My Work Queue".
Solution #1
posted on Aug 02, 2007
Not Rated (0)

Perkins

Perkins - usenet poster

Rank:Apprentice Apprentice
Rating: 0%, 0 votes
Seems like a question for the developers/maintainers of the library.

Was this solution helpful? Show your Appreciation by rating it:

Solution #2
posted on Aug 02, 2007
Not Rated (0)

kcw573

kcw573 - usenet poster

Rank:Apprentice Apprentice
Rating: 0%, 0 votes
^
^ ^ ^ ^ ^ ^ ^ ^ ^
^ This is a new one for me.. I can't imagine anything that CVF could be
^ doing that makes a difference here.
^
^ However, it helps to understand how the clock is handled by the OS.
^ The OS schedules an interrupt every 10 milliseconds (usually), and
^ when this interrupt fires, it adds a preset value to the variable it
^ uses for the system date. It is not actually reading a hardware
^ clock. There is a mechanism to write the date/time back to the
^ hardware clock, but this typically happens only at shutdown or perhaps
^ infrequently while the system is running.
^
^ I could see the possibility of a highly compute-bound application
^ preventing this interrupt from firing in a timely (!) manner, but the
^ usual effect of that is to make the clock seem slow, not fast.

I have experienced something like this. A very simple stress test
application, written in FORTRAN but making STDCALLs to interact with
imaging devices via TWAIN. Repeated opening and closing of the Data
Source (the software associated with the hardware). One particular
device, the Intel QX3 play microscope, behaved very curiously. On the
first machine I ran the test on, after a few hundred open-close
cycles, the machine had ground to a halt - swapping itself to death,
basically. My log file recorded that the cycle time had suddenly
started to increase dramatically, from around 10 seconds to ultimately
about two and a half minutes before everything finally collapsed in a
heap. Where it got really weird was on the second machine I tried.
This time the log file recorded that the cycle time had stayed rock
solid at around 10 seconds, but the system clock had lost about three
quarters of an hour.

Andy

--
sparge at globalnet point co point uk

We must be fearless
We must have fearlessness
We must not be fearlessnessless
We must not have fearlessnesslessness
We must be fearlessnesslessnessless

Was this solution helpful? Show your Appreciation by rating it:

Solution #3
posted on Aug 02, 2007
Not Rated (0)

Melissa

Melissa - usenet poster

Rank:Apprentice Apprentice
Rating: 0%, 0 votes


This is a new one for me.. I can't imagine anything that CVF could be
doing that makes a difference here.

However, it helps to understand how the clock is handled by the OS.
The OS schedules an interrupt every 10 milliseconds (usually), and
when this interrupt fires, it adds a preset value to the variable it
uses for the system date. It is not actually reading a hardware
clock. There is a mechanism to write the date/time back to the
hardware clock, but this typically happens only at shutdown or perhaps
infrequently while the system is running.

I could see the possibility of a highly compute-bound application
preventing this interrupt from firing in a timely (!) manner, but the
usual effect of that is to make the clock seem slow, not fast.

I have read in the past that some anti-virus software has had a
side-effect of making the clock run slow or fast - how, I don't know.
I haven't experienced this myself. You may want to see if disabling
your anti-virus software makes a difference here.

Please send Visual Fortran support requests to

Steve Lionel
Software Products Division
Intel Corporation
Nashua, NH

User communities for Intel Fortran and Compaq Visual Fortran:
#

Was this solution helpful? Show your Appreciation by rating it:

Solution #4
posted on Aug 02, 2007
Not Rated (0)

Hart

Hart - usenet poster

Rank:Apprentice Apprentice
Rating: 0%, 0 votes
Certainly not deliberately... :) Don't see just how it could interact
unless there's something in there to do usage checking and it mucks up
the setting via a system API call somehow (or your driver code is doing
something similar).

I note you're on CVF 6.5, you might consider the 6.6 downloadable
upgrade, but I think it will not have any bearing on this particular
phenomenon.

Was this solution helpful? Show your Appreciation by rating it:

Can you Help with these Microscopes problems?

Microscopes
User's guide or instruction...
where can I find information on... Answer This...
Microscopes
Microscope manual not complete ...
Blue Hat Toy Company 's 28... Answer This...
Microscopes
In search of a new scope
Hello, we are looking to... Answer This...
Microscopes
Instructions not included
We recieved a vivitar... Answer This...
Microscopes
no instructions
I bought a vivitar 900x... Answer This...
Repair Service
Find Microscope Repairman Near You:

FixYa does not evaluate or guarantee the accuracy of any information provided through its proposed solutions, posts, or Expert Assistance Sessions. By entering this site you declare you read and agreed to its Terms. You may NOT copy or distribute the content that appears on this site without written permission from FixYa Inc.
© 2005-2008, FixYa, Inc. or its affiliates
When the original poster rates a solution that was given to his own problem, that rating is locked!
X

Are you sure the solution content is Inappropriate?
   
Tech buddies can communicate directly to answer questions. Become a Tech Buddy and have direct access to your favorite expert for FREE!