<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD><BODY><DIV><FONT face=Arial size=2><SPAN class=085144507-22012004>Is there a way to run a batch-file or exe without using I/O -> Execute Program? In VEE6.1 this otion is not available.</SPAN></FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><P><FONT face="Times New Roman" size=2>Mit freundlichem Gru</FONT></P><P><FONT face="Times New Roman" size=2>Alexander Levi<BR></FONT><FONT face="Times New Roman" color=#0000ff size=2>Entwicklung / Konstruktion</FONT> <BR><I><FONT face="Times New Roman" color=#0000ff size=2>development / engineering</FONT></I><BR><FONT face="Times New Roman" size=2>______________________________<BR><B></B></FONT><B><FONT face="Times New Roman" color=#0000ff size=2>er</FONT><FONT face="Times New Roman" color=#ff9900 size=2>a</FONT><FONT face="Times New Roman" size=2> - contact GmbH<BR></FONT></B><FONT face="Times New Roman" size=2>Gewerbestrae 44<BR>D-75015 Bretten</FONT> </P><DIV><U><FONT face=Arial color=#0000ff size=2></FONT></U> </DIV>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list, email "vrf@agilent.com". <BR>If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".<BR>Send your favorite VEE example to "VRF-EXAMPLES@agilent.com" for possible inclusion in VEE 7.0!</BODY></HTML>
completing and getting the READ Transaction set up.
Can anything be done to reduce this.?
If they're in the same direct IO box I'd think it would be ASAP - like less
than milliseconds. However, "when the Lockin next stores a data point it
also sends a message to the PC" seems to indicate a loop with some kind of
termination condition, maybe a read timeout? Anyway, it shouldn't be *that*
big a deal even if the read is in a loop. What's the Lockin's timeout?
250ms. should be plenty. Anyway, if the instrument is setup to SRQ whenever
it sends data then the driver will service it within microseconds of the
SRQ. Latency in NT kernel drivers is difficult to pin down exactly, but at
the kernel level a microsecond is an awfully long time.
> b). When a READ Transaction is executing can anything else
in the programme run. (i.e. Any Time Slicing going on
during a READ?)
Well, assuming a read transaction uses the Windows ReadFile paradigm, then
yes. Any other threads in the system can execute while the driver is waiting
on data arrival or while other Agilent code (i.e., IO Libs) is waiting on
the driver for data arrival. The answer is really heavily "it depends"
based: there are two basic models to use (wait or callback) and I don't know
how it's done. If you mean in the VEE program, I wouldn't think so but I
don't know. Direct IO Objects are atomic - that is, while VEE is "in the
box" nothing else (in VEE) executes.
Now, if you're in a loop then there are other objects in the receiver
function and VEE will slice with other parallel "threads". You can nix that
by calling the receiver function (the function with the short loop that
reads points and terminates on some condition) via a formula box who's
formula is input via the Formula control input pin. VEE will not timeslice a
function so called.
There may be other options too. If you have an ActiveX control for the
instrument for instance, data arrival will fire some event. An ActiveX event
caught in VEE will execute completely to it's exit and not time slice with
any other VEE code.
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Send your favorite VEE example to "VRF-EXAMPLES@agilent.com" for possible inclusion in VEE 7.0!
using some shareware font generation program. The font containted only 6
capital letters of the alphabet because it was to be used as a logo. In any
event, this font works in every windows program I have ever tried it in
except VEE. I notice that the VEE font requester also leaves out occasional
"legitimate" TTF fonts as well. Why?
----- Original Message -----
From: "Shawn Fessenden" <shawn@testech-ltd.com>
To: "VRF" <vrf@agilent.com>
Sent: Monday, January 19, 2004 1:06 PM
Subject: [vrf] RE: font-char set
> > Is it possible to use different, eg. Central European char set?
>
> Never having done this, I don't know for a fact BUT...
>
> I think you'd have to use a display object that can have it's font set the
> "Windows Way". I'd never noticed that the char set drop down is grayed.
>
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Send your favorite VEE example to "VRF-EXAMPLES@agilent.com" for possible inclusion in VEE 7.0!
> it in except VEE. I notice that the VEE font requester also
> leaves out occasional "legitimate" TTF fonts as well. Why?
I can venture a guess.
Observations:
o I've also produced fonts that work fine in other apps,
but not in VEE.
o All the font dialogs I can find do not appear to be the
Windows common Font dialog.
o No True Type Open fonts are displayed in these dialogs.
o A font file is an enormously complex beast of data
structures containing tables of definitions, glyph data,
bitmap data, mappings, equivalences, code pages, character
sets, substitution tables... the list seems endless.
o Some "questionable" fonts can actually crash graphics
applications, or are rendered insanely in both graphics
and typographical applications (I'm thinking of Corel
and Quark mainly - the only ones I have experience with).
It looks as if this is another one of those "features" born of the fact that
VEE didn't start life as a Windows application. Constructing a font file is
a very difficult thing to do - not the drawing of the glyphs, but the actual
rendering of the binary data of file itself. It's easy to screw it up. But -
who knows how Windows reads them? Maybe the vast majority of these screw ups
are no big deal.
A specific example. I have a font called Aardvark that works in most
everything I try it in, but I always have to raise the baseline to get it to
line up with other, less "questionable" fonts. Why? I dunno. Somebody
screwed up the baseline definition I assume, or the character height, or
something. The thing is, VEE does not list this font as a choice.
I think VEE does some kind of verification before it lists a font, and for
some reason some fonts don't pass where the EnumFonts or EnumFontFamiliesEx
functions don't care.
It's just a theory.
Casual browsing of the True Type 1.0 Font File Specification turns up this
fact:
o The fontRevision field is intended for font manufacturers to
indicate the revision number of font software. All other version
numbers in a TTF refer to versions of the TrueType specification
or the particular table specification, and an inappropriate value
in a version field may produce unpredictable results.
Could it be that this has something to do with what's going "wrong"?
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Send your favorite VEE example to "VRF-EXAMPLES@agilent.com" for possible inclusion in VEE 7.0!
Yes, I have Code page 1250 properly installed. The program code, you have sent shows intermittent behavior really and what's more different on WinXPSP1/VEE6.2 and Win95/VEE6.01. The first machine shows different number of question marks "... 'upperbar'??x??A", where x is either 4 or ?. I cannot see any "". On Win95 machine it operates exactly as described. The WinXPSP1/VEE7Beta3 is again slightly different but any "".
My idea was and still is that all (some!) objects responsible for communication with the user should properly display characters with diacritic marks. As far as I know the VEE behaves in this respect consistently from version 3. Seems to me this behavior is programmed somewhere deep inside the VEE (7/8-bit ASCII?).
Once again, thanks to all.
Best Regards,
Frantisek
> -----Original Message-----
> From: Shawn Fessenden [mailto:shawn@testech-ltd.com]
> Sent: Tuesday, January 20, 2004 11:28 AM
> To: VRF
> Subject: [vrf] RE: font-char set
>
>
> > Is it possible to use different, eg. Central European char set?
>
> I think I finally have an answer for this. Most of the fonts
> you have installed should be able to draw glyphs in this
> character set. First of all, this is Code Page 1250 (ANSI -
> Central Europe).
>
> 1) Verify that you have Code Page 1250 installed:
> convenient. This simple demonstration shows it's possible,
> but a real solution would probably best be implemented in a
> custom ActiveX control so you can write a real WndProc and
> have it do exactly what you want. It would behave very much
> like a standard Windows edit control.
> -SHAWN-
>
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Send your favorite VEE example to "VRF-EXAMPLES@agilent.com" for possible inclusion in VEE 7.0!