From: Ted Sears
Kjeld Alexander,
Yes! You can call a Win32 API instead of using a VEE delay object.
The Win32 API is called Sleep() and you can pass a value in milliseconds to
it or create a Formula box to enter the real number of seconds you intend
to delay and multiply by 1000.
ie: 10.5 seconds x 1000 would pass 10500 to the Sleep() API.
This DLL uses ZERO CPU time during execution compared with 100 percent CPU
time using VEE delay objects.
In a multi-window VEE application the VEE delay objects starve all other
Windows applications for CPU time. I have used this technique to keep
maximum CPU time available for an application that uses 3 VEE windows and
MSAccess running concurrently.
The only down side is that the Sleep() function puts the whole VEE
application to "sleep" for the duration of the delay since VEE is a single
threaded application.
I have published this technique to HP VEE and it appeared in a recent
EXCHANGE publication from Greg Goebel at HP VEE support and it was on the
VEE web site somewhere with an explanation from Greg.
Hope this helps.
regards,
Ted Sears
Eastman Kodak
tsears@kodak.com
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo. To send messages to
this maillist, just email to "vrf@lvld.hp.com". Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.hp.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.hp.com".
---------------------------------------------------------------------
Hi Suren,
Since you have LabVIEW experience you may want to check out my article on
the HP VEE homepage.
www.tmo.hp.com/tmo/pia/HPVEE/PIATop/literature/English/HPVEE_mackinart.htm
l
Steve Mackin
Endgate Corporation
smackin@endgate.com
(408) 737-7300 x237
----------
From: Bert Leysath
Sent: Tuesday, October 05, 1999 2:35 PM
To: sivas
Cc: vrf
Subject: vrf New to the maillist...
Hi Suren,
I thought I would add my 2 cents to your interesting question.
In my opinion, with all due respect to HP Training courses, the beauty
of HP VEE is that with a little programming experience, one can develop
useful code fairly rapidly. If you are under the gun to produce test
software for a deadline and can afford the time to take the course it
might be worthwhile. Not having actually taken the course I could be
doing a disservice to HP but I taught myself VEE in about the same time
as it would take for the course by observing the provided examples,
practicing, and reading the manuals. The most difficult thing I found
using this method was to get used to the control flow aspects of VEE vs.
20 years of conventional top down programming experience. If you are
used to Lab View you should have no problem with VEE. All you need is
the manuals and some time to play around. The VRF is very helpful for
addressing obscure problems as well as trivial solutions. VRF champions
Dave Paslay, Stan Bischof, Bruce Wenner & Andy Kronquist and others
deserve kudos for exceptional helpfulness. (You probably don't need the
course.)
Regards,
Bert
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo. To send messages to
this maillist, just email to "vrf@lvld.hp.com". Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.hp.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.hp.com".
---------------------------------------------------------------------
From: Bert Leysath <leysathb@tycoelectronics.com>
Date: Tue, 5 Oct 1999 16:17:26 -0400
Subject: vrf New to the maillist...
To: sivas@Micrel.Com
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo. To send messages to
this maillist, just email to "vrf@lvld.hp.com". Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.hp.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.hp.com".
---------------------------------------------------------------------