Try using an XY Trace instead of the X vs Y plot. Combine your original X
and Y data with a Build Coord and feed the coord to the XY Trace. Then you
can build another coord with just two points, both at the same X value, to
be your marker.
Regards,
Bill Ossmann
--
bill_ossmann@agilent.com
Agilent Technologies
Imaging Systems Division
>-----Original Message-----
>From: Richard Kleinhenz [mailto:scubaman@us.ibm.com]
>Sent: Monday, June 11, 2001 9:49 AM
>To: vrf@lvld.agilent.com
>Subject: vrf markers
>
>
>I would like to have a marker displayed in an X vs Y plot. I
>don't like
>the std triangle marker, nor do I need a readout of the value.
> I want this
>marker to be a vertical line from ymin to ymax at a given x. Is this
>possible? I've tried generating another curve, running mostly
>below ymin
>and above ymax but that way I will always get a non-vertical
>line because
>the transiition is over 1 x-interval. I can have it run way
>below ymin and
>way above ymax, that way it'd appear vertical. Isn't there a
>more elegant
>way, though?
>
>--
>Regards,
>Rich
>===========================
>Richard Kleinhenz
>mailto:scubaman@us.ibm.com
>845-892-2617
>===========================
>
>---------------------------------------------------------------------
>This is the "vrf" maillist, managed by Majordomo. To send messages to
>this maillist, just email to "vrf@lvld.agilent.com". Subscriptions and
>unsubscriptions are done through the address
>"vrf-request@lvld.agilent.com".
>If you need details, just send a message containing the text "help"
>to "vrf-request@lvld.agilent.com".
>---------------------------------------------------------------------
>
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo. To send messages to
this maillist, just email to "vrf@lvld.agilent.com". Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------
and Y data with a Build Coord and feed the coord to the XY Trace. Then you
can build another coord with just two points, both at the same X value, to
be your marker.
Regards,
Bill Ossmann
--
bill_ossmann@agilent.com
Agilent Technologies
Imaging Systems Division
>-----Original Message-----
>From: Richard Kleinhenz [mailto:scubaman@us.ibm.com]
>Sent: Monday, June 11, 2001 9:49 AM
>To: vrf@lvld.agilent.com
>Subject: vrf markers
>
>
>I would like to have a marker displayed in an X vs Y plot. I
>don't like
>the std triangle marker, nor do I need a readout of the value.
> I want this
>marker to be a vertical line from ymin to ymax at a given x. Is this
>possible? I've tried generating another curve, running mostly
>below ymin
>and above ymax but that way I will always get a non-vertical
>line because
>the transiition is over 1 x-interval. I can have it run way
>below ymin and
>way above ymax, that way it'd appear vertical. Isn't there a
>more elegant
>way, though?
>
>--
>Regards,
>Rich
>===========================
>Richard Kleinhenz
>mailto:scubaman@us.ibm.com
>845-892-2617
>===========================
>
>---------------------------------------------------------------------
>This is the "vrf" maillist, managed by Majordomo. To send messages to
>this maillist, just email to "vrf@lvld.agilent.com". Subscriptions and
>unsubscriptions are done through the address
>"vrf-request@lvld.agilent.com".
>If you need details, just send a message containing the text "help"
>to "vrf-request@lvld.agilent.com".
>---------------------------------------------------------------------
>
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo. To send messages to
this maillist, just email to "vrf@lvld.agilent.com". Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------
sit down and give it a try. During the last year I have been working with
Microsoft ADO to access an SQL database from VEE. The ADO documentation
describes connecting to a wide variety of other data sources, including text
files. This is the first time I actually tried to do that.
Before you run this example, save both of the attached files. When I tried
this at work, I also had to remove the read-only attribute from "Keys.txt".
Next, open the VEE program and enter the path to your "Keys.txt" in the
"Data Directory Name" text box inside "Main". This text box is in the
program only, not on the panel.
Now run the program. Click the "Lookup" button. The "Value Found" should
be 12.0. Now try to look up "my new key". The response should be "(key not
found)." Finally, click "Add Key" and try "Lookup" again. This time "my
new value" should be returned.
Once you have this code setup in your own program, you can just call "Find"
anywhere in your program to get the value associated with a key.
To get setup, copy the five VEE objects with greenish title bars into your
program. Put them in "Main" or otherwise make sure they run before you try
to access the keys. They only need to run once. Also copy the functions
"Find" and "FindFailed" into your "Local User Functions". You don't need
the other functions if you are willing use a text editor to make all your
changes to the keys in the text file.
(To copy a function, right-click on the function name in the program
explorer and select "Cut". Then open your program and select "Paste" from
the "Edit" menu. This is easier if you run two copies of VEE at once and
cut-and-paste between the two.)
I also spent some time on another version that uses ADO to access keys saved
in an Excel file. Using Excel allows a file to contain several different
tables of keys, but I could not get the "Add Key" function to work with
Excel. You would have to use Excel to make any changes to the data file. If
anyone is interested I can send this rather crippled example along next
weekend.
...david
David Sherrill
Agilent Technologies
Healthcare Solutions Group
(soon to become a part of Philips Medical Systems)
----------------------------------------------------------------------------
Notes:
I could not get "Delete" to work. You'll have to use a text editor to
delete records.
If you add more than one record with a given key, "Lookup" will only find
the smallest value from all the matching keys.
You could extend the program by adding more key columns to the data file,
and changing the "Find" function to use something like:
Find("Key1 = 'value 1' AND Key2 = 'value 2'", ...
In addition to "=" you can also use "Find" with ">", "<", "NOT =", etc.
This example uses Microsoft's ActiveX Data Objects (ADO) to access a
simple text file. ADO provides a full suite of common data access functions
(add, sort, filter, ...) and is available for free download. Full
programming information for ADO is contained in the Microsoft Developer's
Library, which is available for free at
http://msdn.microsoft.com
To get ADO, install the Microsoft Data Access Components (MDAC) at
http://www.microsoft.com/data/
If you have MS Internet Explorer 5.5 installed, you should already have MDAC
installed.
...david
David Sherrill
Agilent Technologies
Healthcare Solutions Group
(soon to become a part of Philips Medical Systems)
-----Original Message-----
From: c2e4gnfb@pro.klienci.pkobp.pl
[mailto:c2e4gnfb@pro.klienci.pkobp.pl]
Sent: Tuesday, June 05, 2001 6:17 AM
To: vrf@lvld.agilent.com
Subject: vrf VRF: Handling *.ini files in Vee
I need to save more than "a few" parameters between sessions of my
*.vee program. I do not want to play with Registry so the most handy
way seems to be to use *.ini file and separate keys in it. I am sure
that there must be some functions in Win dlls to manipulate
records in *.ini files - using native Windows functions would be more
convenient. Is there anyone in VEE WORLD who can help ?
Pawel Zylka
Wroclaw University of Technology
Institute of Electrical Engineering Fundamentals
Division of Electrotechnology
Wybrzeze Wyspianskiego 27
50-370 Wroclaw
Poland
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo. To send messages to
this maillist, just email to "vrf@lvld.agilent.com". Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo. To send messages to
this maillist, just email to "vrf@lvld.agilent.com". Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------