Re: Index of XY graph

2004-06-08 Thread Irene He
Dear David,
Thank you for your reply. That was a good math lesson though :-). I believe
your method would work too. Someone sent me a vi, just using the property
node of the XY graph, there is a property called "Cursor.index" would
directly output the index. So I guess LabVIEW has done all the hard work
internally for us already.

Irene He
www.geocities.com/irene_he
www.hytekautomation.com

- Original Message - 
From: "David Ferster" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 08, 2004 11:25 AM
Subject: Re: Index of XY graph


> What info are you starting from? Assuming you have the X and Y values
> of the point whose index you want (call them A and B), then calculate
> the squared distance of each point in the graph from (A,B) and find
> the minimum (squared) distance.
>
> D = ((X-A)^2 + (Y-B)^2)
>
> Here, X and Y are 1-D arrays of the x and y values of all points in
> the graph. D becomes is an array of distances squared.
>
> Now search D for 0's if you know A and B are exactly on a point. Or
> use the Array Max and Min function if you just want to find the point
> closest to A,B, for example, if (A,B) is the position of a cursor
> placed near the point. In either case, you get an index of the point
> in the graph closest to (A,B).
>
> David
>
>
>
> >Dear List,
> >Does anyone know how to find out the index of a point
> >in a XY graph?
> >Thank you.
> >Irene
> >
> >=
> >Irene He
> >
> >www.geocities.com/irene_he
> >www.hytekautomation.com
>
>
> -- 
> David Ferster
> Actimetrics, Inc.
> 1621 Elmwood Ave., Wilmette, IL 60091
> http://www.actimetrics.com
> 847/922-2643 Phone
> 847/589-8103 FAX
>
>
>






Index of XY graph

2004-06-08 Thread Irene He
Dear List,
Does anyone know how to find out the index of a point
in a XY graph?
Thank you.
Irene

=
Irene He

www.geocities.com/irene_he
www.hytekautomation.com




Re: Call Library

2004-06-07 Thread Irene He

- Original Message - 
From: "Craig Graham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 07, 2004 3:25 AM
Subject: Call Library

...
> This is on Linux, if it's relevant. I have a library with a function whose
> prototype (from the header file) is;
> const char *gpgme_check_version (const char *req_version);
>
> This function returns a string and takes either a string or null,
depending
> on how you want it to work. For simplicity I'm passing nothing to it. In a
C
> compiler I can get this to return the version number of the library so I
> know it's working.
>
> In Labview (7.0) the closest I can get to this prototype using the "Call
> Library" node is
>
> unsigned char gpgme_check_version(CStr req_version);
> CStr gpgme_check_version(CStr req_version);
>
> I've also tried not specifying  the argument passed to the function. If it
> is specified, I wire an empty string to the input.
>
> When the VI runs, no data comes back. There are no errors- the VI is
> executable and Labview doesn't segfault. I know that when getting arrays
> back from a function in general you have to supply preallocated space, but
> there's no input terminal as such for the return code- just a shaded
> placeholder. Nonetheless, I can wire a generously-sized string to it with
no
> errors, although it doesn't help.


Dear Dr. Craig,
I've never used the return type as string (I don't remember if this type
exsits in version before LV7), I always leave it as argument, because I know
this way it always work. If as argument, you need to preallocate a space for
the string.

Regards,

Irene He
www.geocities.com/irene_he
www.hytekautomation.com






Re: Recursive Code Challenge

2004-06-03 Thread Irene He

> George Gatling wrote:
> >... I am truly amazed that a thread about commercial vs.
> >free software and unsolicited advertising has morphed
> >into a coding challenge to eliminate LabVIEW's recursion
> >exception.  Kinda reminds me of the whisper game we
> >played in kindergarten!
>
> The whisper game was based on unintentional morphing, thats not the case
> here...
>

Can't we just get over that commercial vs free software thing, not
mentioning it anymore?:-$
I don't really have anything to contribute to recursive thing, so this
e-mail is probably valueless again. I only did it once for a job because I
had to...but I think people who can think recursively are real genius.
Sorry, maybe OT again.
Irene






Re: Main VI and sub-vi's control

2004-06-03 Thread Irene He
Hi Ann,
I think the problem is your subvi hasn't finished running, that's why the
main vi is still waiting it to finish which blocks the user actions.
What you can do is you need to use vi server to run your subvi without
waiting it to finish, but you need to add communication between subvi and
the main vi through, for example queue, to tell the main vi if the subvi
finished so that you can move to next subvi (I remember your last post that
you said you have a set of subvis to run in a sequence). This way, while
your subvi is running, your main vi user interface will not be blocked.
Hope this helps.

Irene He
Yahoo Messenger ID: [EMAIL PROTECTED]
www.geocities.com/irene_he
www.hytekautomation.com

- Original Message - 
From: "Lai, Ann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 03, 2004 6:30 PM
Subject: Main VI and sub-vi's control


Hi,
My sub-VI outputs 10 different things, 4 things at a time.  It has a
continue button that blinks when one set of output is finished, and the
sub-VI will continue after the user clicks on this continue button.
Right now I am writing a main VI that will control this sub-VI along
with some other sub-VI.  I have an input and output cluster in my main
VI to send and receive info from the sub-VI.  But I am having a problem
with making this continue button works.  In my output cluster in my Main
VI, I have a continue button just like the one in my sub-VI.  In my
sub-VI, I have a "blink yet?" indicator to indicate when the program has
finished taking a set of data.  In my Main VI, I use get control value
method to set the blinking property of the Main VI's continue button.
This button blinks fine, but when it blinks, I cannot click on it to
change its value, does anyone know why or know of a better way to do
this?
Thanks.






Re: Maybe off topic - freeware and commercial ad

2004-06-02 Thread Irene He



Dear 
Everyone,Thank you for all your replies and I appologize for any "trouble" 
ormisunderstanding that I may have caused whatever that is.Yes, I 
understand the list policy and will do my best to followIf I have 
too much time, I will rearrange it...(sorry off-topic again,just can't stop 
express feeling).Have a nice day, everyone 
:-)Regards,Irene


Re: Maybe off topic - freeware and commercial ad

2004-06-01 Thread Irene He
Dear Dr. Scott,
You wrote:
> Ok, this *is* starting to drift off the topic since
> it is beginning to have little to do with the
> current complaint.

Sorry if you feel it's a continue of the current
complaint, but it is not, that's why the subject is
new. But I think it happens all the time here that
topic may drift from it's original discussion and I
hope this is not the policy of this list that no topic
drifting is allowed.

>I hope we don't go into the open
> source debate or take that debate to some other
> venue!   These are my personal feelings and sort of
> list policy.

If I understand correctly there is no discussion about
open source allowed in this list, correct? What other
topics are taboos?

>It is
> *NOT* about commercial announcements to the list.

Certainly I understand the English text in the
previous complaints, but as said my "feeling
expression" (I don't want to call it complaint) is not
a straight continue of the previous posts, it's new.

I'm sorry if you feel offended because you may think
my posts were not following the policy of the list. I
still like to hang out with this list, so whatever you
say it's the policy of the list, I will pay more
attention in the future posts.

Regards,
Irene He
--- Info-LabVIEW List Maintainer
<[EMAIL PROTECTED]> wrote:
> At 9:47 -0700 6/1/04, Irene He wrote:
> >I don't really think it's totally off topic from
> this list, because it can also be LabVIEW related.
> 
> >From what I have read recently, I feel people are
> more tolerant about so called "freeware", but notice
> not all freeware are really "free" even it says
> "free", it's only free for personal use, not
> commercial...so how many real value is it just
> because it's called "free"?
> 
> >Regarding the ad, I like to see some short ad in
> this list. I like to get notified about new things
> in LabVIEW world, so that I know one day if I need
> this feature, there is a way to go rather than
> sitting in the dark.
> 
> Ok, this *is* starting to drift off the topic since
> it is beginning to have little to do with the
> current complaint.  I hope we don't go into the open
> source debate or take that debate to some other
> venue!   These are my personal feelings and sort of
> list policy.  This policy can be changed by the
> wishes of the majority in a completely
> non-scientific way.  (squeeky wheel democracy).
> 
> The original complaint was that someone's email
> address was "harvested" from the list email by
> another subscriber and then commercial advertising
> was sent to that person.  The sender claims that the
> address came from other means.  If you post to the
> list, your email address is exposed to all other
> members of the list.  There is no way to stop others
> from sending private messages.  In fact that is one
> of the good things and encourages off-list personal
> interaction.  Some may be offended by this email
> contact and are free to express that feeling.  It is
> *NOT* about commercial announcements to the list.
> 
> The list had a policy under Tom and I will continue
> it that short product announcements are allowed. 
> These should be announcements of new products and
> not just periodic advertising.  I think it is
> important for members of the list to stay current
> with hardware and software offerings both "free" and
> commercial.  As many have pointed out evaluate where
> and what the real cost is of obtaining software and
> hardware.
> 
> AFAIK, the list is not mirrored on any "newsgroup"
> so that bulk harvesting of addresses by a spambot is
> much more difficult.  As we know all newsgroups are
> actively harvested.  I hope that spam is not created
> by posting to this list, but I can't guarantee it
> and I would like to minimize the chance.
> 
> -Scott
> -- 
>   Dr. Scott Hannahs, National High
> Magnetic Field Lab
>Info-LabVIEW List Maintainer 
> <http://sthmac.magnet.fsu.edu/labview>
> 
> Subscribe:
> <mailto://[EMAIL PROTECTED]>
>   Unsubscribe:
> <mailto://[EMAIL PROTECTED]>
> 



=
Irene He
Yahoo Messenger ID: [EMAIL PROTECTED]
www.geocities.com/irene_he
www.hytekautomation.com




Re: Main Vi and sub-VI

2004-06-01 Thread Irene He
Hi Ann,
You wrote:
"but if I used "wait until finish" then I cannot get the main
to update every time the running sub-VI updates"

Why not if you pass in the main vi control ref which you want to be updated
into subvis, it'll be updated while the subvi is running. Let the update
work done in the subvis.
Irene

=
Irene He
Yahoo Messenger ID: [EMAIL PROTECTED]
www.geocities.com/irene_he
www.hytekautomation.com


- Original Message - 
From: "Lai, Ann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 01, 2004 12:22 PM
Subject: Main Vi and sub-VI


I have a main VI that will call several test sub-VI's.  The main VI
sends the inputs into the sub-VI, and displays output from the sub-VI
via input and output clusters.  The sub-Vis runs one at a time depending
on the order that the user requests.  The user puts his or her request
in a listbox, then after he or she clicks "RUN", then the tests will run
according to what the user has requested.  I indexed the listbox and
wire it to a case statement, so that only the requested tests will run.
I want the main VI to update every time the running sub-VI updates.  But
the output is a cluster so that would mean sending in many references.
The indicators that made up the clusters are widely spread, so if I used
bundle, it's very cumbersome and tedious.  I tried to use the dynamic VI
function, but if I used "wait until finish" then I cannot get the main
to update every time the running sub-VI updates.  If I set "wait until
finish" to false, then the main VI will think that this test has already
finish running and will run the next test.  Thanks.






Maybe off topic - freeware and commercial ad

2004-06-01 Thread Irene He
Dear List,
I don't really think it's totally off topic from this
list, because it can also be LabVIEW related.
>From what I have read recently, I feel people are more
tolerant about so called "freeware", but notice not
all freeware are really "free" even it says "free",
it's only free for personal use, not commercial...so
how many real value is it just because it's called
"free"? On the other hand why would people request
freeware while they would like to charge for what they
work for? Sure we would appreciate real freeware and
thanks for it, but there is no need to depreciate non
freeware, I would have understand if these people are
from some non-profit organization like university, but
people from industry they should accept non freeware
just as with freeware if they don't provide free
service themself.
Regarding the ad, I like to see some short ad in this
list. I like to get notified about new things in
LabVIEW world, so that I know one day if I need this
feature, there is a way to go rather than sitting in
the dark. There are too many information in internet,
but there are only few places to hang out for me like
this forum, so I would like to get notified here to
make me feel it's powerful to work with LabVIEW,
because you can do so many things...or would you
rather not knowing things that is capable with
LabVIEW?
Hope this makes sense.
Irene

=
Irene He
Yahoo Messenger ID: [EMAIL PROTECTED]
www.geocities.com/irene_he
www.hytekautomation.com




Re: QTLibrary, was: webcam

2004-05-27 Thread Irene He
I want to say congratulations to Chris for his webcam
toolkit for all platform too. I feel bad that I do not
have enough knowledge of MAC and Linux to contribute
to all of the LabVIEW users since I have a similar
toolkit, but unfortunately only for Windows platform.
Anyway, happy wiring.
Irene
[EMAIL PROTECTED]

--- Urs Lauterburg <[EMAIL PROTECTED]>
wrote:
> Chris,
> 
> A big hand for your efforts and to make it freely
> available for all of us
> to use. Thanks for your contributions to the LabVIEW
> culture and also for
> your tireless engagement for keeping LabVIEW alive
> on its heritage Apple
> Macintosh platform.
> 
> May the strength be with you, now and in the future
> 
> Urs
> 
> Urs Lauterburg
> Electronics Engineer
> Physics Institute
> University of Bern
> Switzerland
> 
> 
> >Dear list,
> >
> >I guess it is time to publish the link to my
> QuickTime library. Due to PhD
> >redaction I cannot currently devote as much time as
> I would like for the
> >development of this lib. therefore I still consider
> it as in beta version
> >even if it is very stable.
> >This lib is meant to be a shareware, at this stage
> it is free for your
> >personal use. Currently the rule (ie licence) is
> that if you make money with
> >this lib or a derived work of this lib I would like
> to get my share :-)
> >That said please have a look at:
> >
> > http://labview.epfl.ch/qt/QTVIs.html
> >
> >Sometime (often :-( ) the web server caches the
> wrong thing, just reload the
> >page to get what you expected...
> >
> >As Scott said it is cross-platform, it works on
> MacOS9, MacOSX and windows.
> >It allows you to grab
> USB/FireWire/Parallel/Built-in video source provided
> >that you have drive for it. I was able to get 4
> firewire cameras in parallel
> >(I only have 4 !)
> >
> >With this lib you can also:
> >
> >- Read image from a file (or from memory) in any
> format supported by
> >QuickTime and display it in a LV Picture control
> >- Write a LV Picture into a file (or to memory)
> compressed with any format
> >supported by QuickTime
> >- Apply transformations to a LV Picture like
> rotate, scale, skew or any
> >combination of these
> >- Read movies in any format supported by QuickTime,
> this includes (MOV,
> >MPEG, Flash, Animated Gif, etc)
> >- Write movies in any format supported by QuickTime
> (with control over
> >compression)
> >- Grab concurrently any video input supported by
> QuickTime :-) this include
> >FireWire, USB, built-in, etc.
> >- Read a sound track encoded with any QuickTime
> supported formats (WAV, mp3,
> >ACC, µLaw, etc)
> >- Add a sound track to a QuickTime Movie.
> >
> >You feedback is welcome but as I said I cannot
> devote as much time as I like
> >to this lib, this includes support.
> >
> >Chris
> >
> >
>
>
> >Christophe Salzmann  tel. (+41)
> (0) 21 693 38 49
> >Laboratoire d'automatiquefax. (+41)
> (0) 21 693 25 74
> >IIS - STI - EPFL office
>ME.C2-426
> >Swiss Federal Institute of Technology
> >CH-1015 Lausanne / Switzerland
> >mailto:[EMAIL PROTECTED]
> >http://iawww.epfl.ch
> >Access map http://plan.epfl.ch/?room=MEC2426
> >
> >
> >
> >
> >> From: Scott Hannahs <[EMAIL PROTECTED]>
> >> Date: Wed, 26 May 2004 14:49:46 -0400
> >> To: Hamid Shojai <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED]
> >> Subject: Re: webcam
> >>
> >> At 4:12 -0700 5/26/04, Hamid Shojai wrote:
> >>> Hello,
> >>>
> >>> I want to work with webcam in labview. form
> which point should I start?
> >>
> >> Actually, I just wrote one using one of the
> examples Christophe Salzmann's
> >> quicktime interface.  Works like a dream!!! 
> Cross platform and handles all
> >> camera's that have a quicktime driver.  Contact
> Christophe for a copy.
> >>
> >> -Scott
> >>
> >>
> 
> 
> 
> 


=
Irene He
Yahoo Messenger ID: [EMAIL PROTECTED]
www.geocities.com/irene_he
www.hytekautomation.com




Re: webcam

2004-05-27 Thread Irene He
Hi Rolf,
Thank you for clarifying this, you can always make things easy
understandBut that was what I meant that IVision is Directshow based
(accessing to WDM and VFW driver) other than some other drivers are just VFW
based...but somehow I wrote it wrong :-)

Anyway, it's always very educational to read your posts.
Regards,
Irene
- Original Message - 
From: "Rolf Kalbermatter" <[EMAIL PROTECTED]>
To: "'Irene He'" <[EMAIL PROTECTED]>
Cc: "Info LabVIEW (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, May 27, 2004 5:26 AM
Subject: Re: webcam


"Irene He" <[EMAIL PROTECTED]> wrote

>Or you can try this link too:
>http://www.hytekautomation.com/Products/IVision.html
>Besides the image capturing, it has also many camera control functions and
>image processing functions. It's WDM based, has many advantages over VFW
>based drivers. (I think VFW is being abandoned).

WDM is the device driver accessing the hardware. It is not just video
capture
but all modern W2K and XP drivers are usually that. VfW is one of the APIs
to
access multimedia image acquisition hardware. I think an application does
not access a WDM driver directly but uses DirectShow or whatever Direct...
for that. As such VfW is not state of the art anymore (you could say its
use is deprecated) but a lot of WDM based video grabbers still have a VfW
wrapper and failing that there is always a DirectShow to VfW wrapper. The
advantage of VfW is its simple use and a lot of applications (including many
commercial ones) still depend on it.
That said a DirectShow access to a WDM grabber driver will usually be more
performant than through VfW.

Rolf Kalbermatter
CIT Engineering Nederland BVtel: +31 (070) 415 9190
Treubstraat 7H  fax: +31 (070) 415 9191
2288 EG Rijswijk http://www.citengineering.com
Netherlands mailto:[EMAIL PROTECTED]







Re: webcam

2004-05-26 Thread Irene He
Just wonder how many cameras have quicktime driver. Could you please list
some of those cameras for example?
Thank you.
Irene
- Original Message - 
From: "Scott Hannahs" <[EMAIL PROTECTED]>
To: "Hamid Shojai" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, May 26, 2004 2:49 PM
Subject: Re: webcam


> At 4:12 -0700 5/26/04, Hamid Shojai wrote:
> >Hello,
> >
> >I want to work with webcam in labview. form which point should I start?
>
> Actually, I just wrote one using one of the examples Christophe Salzmann's
quicktime interface.  Works like a dream!!!  Cross platform and handles all
camera's that have a quicktime driver.  Contact Christophe for a copy.
>
> -Scott
>






Re: webcam

2004-05-26 Thread Irene He
Or you can try this link too:
http://www.hytekautomation.com/Products/IVision.html
Besides the image capturing, it has also many camera control functions and
image processing functions. It's WDM based, has many advantages over VFW
based drivers. (I think VFW is being abandoned).
Irene
- Original Message - 
From: "Michael Aivaliotis" <[EMAIL PROTECTED]>
To: "'Hamid Shojai'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, May 26, 2004 11:34 AM
Subject: RE: webcam


> You can try this link:
>
> 
>
> Michael Aivaliotis
> 
>
>
>
> Hello,
> I want to work with webcam in labview. form which point should I start?
> regards,
>
>
>






Re: [W] IMAQ AVI read from Matrox MJPEG

2004-04-08 Thread Irene He
--- Daniel Press <[EMAIL PROTECTED]> wrote:
> Hey folks,
> 
> I've got an open support request on this one, but
> maybe someone out here has
> the answer.
> 
> I'm trying to read from an AVI file created directly
> from a Matrox video
> capture card.  It seems that they use their own
> proprietary version of the
> MJPEG codec.  They supplied me with the codec that
> allows playback in
> Windows Media Player.  The codec name even shows up
> on the output of "IMAQ
> AVI Get Filter Names.vi".  However, when I try to
> open the AVI with "IMAQ
> AVI Open.vi" I get a nasty error.  Nasty means it
> doesn't go to the error
> cluster, but rather pops up a dialog talking about
> an exception happening in
> some external code that may have corrupted LabVIEW's
> memory.  When the
> Matrox codec is removed, I get a normal error
> cluster error
> number -1074395993.  I still get that error if I
> install either one of two
> other MJPEG codecs (one from Mogan Media and one
> from Pegasus Imaging).
> Those other codecs don't allow me to play back in
> Media Player either.
> 
> So the question is, has anyone had success in
> reading frames from an MJPEG
> AVI file created by a Matrox video capture card?

Hi Daniel,
I haven't used IMAQ avi functions, but I can guess the
reason that you can not playback AVI file with Matrox
codec is this decoder is not used by IMAQ play AVI
file function. But if you can play back with Windows
Media Player, you can try my toolkit, IVision LabVIEW
toolkit, it should work as it'll automatically used
the right decoder depends on the codec of the AVI
file.
Download the toolkit at:
http://www.hytekautomation.com/Products/IVision.html

Start with IVision_MediaFileExample1.vi.
please DON'T use IVision_Play AVI File_VFW.vi, as this
vi may just work like the one in IMAQ vision, it can
not decode all the codecs.

Good luck.
Irene

=
Irene He
Yahoo Messenger ID: [EMAIL PROTECTED]
www.geocities.com/irene_he
www.hytekautomation.com




Re: Fw: [W] Sentinel SupePro Automatic Protection

2004-03-22 Thread Irene He
> - Original Message - 
> From: "Reed, Christopher"
> <[EMAIL PROTECTED]>
> To: "LabVIEW Mailing List (E-mail)"
> <[EMAIL PROTECTED]>
> Sent: Monday, March 22, 2004 1:41 AM
> Subject: [W] Sentinel SupePro Automatic Protection
> 
> 
> Dear List,
> A while back there was some talk about using LabVIEW
> drivers
> for Integrated Protection with the Sentinel Security
> Key from
> Rainbow Technologies.  
>  
> But has anyone managed to use Automatic Protection
> (ie. wraps
> a security shell around the LabVIEW executable) on a
> LabVIEW
> program?
>  
> Everytime I try to run a "protected" LabVIEW
> application it just
> displays the message. 
> "This is the application template and cannot be run
> alone"
>  
> Technical support from Rainbow are a bit baffled
> with this since
> they have not heard of a programming language called
> LabVIEW
> and so are not really sure what the problem is.


I read this text from the "Developer's Guide"
"If you are shelling an application and you try to
encrypt a .DLL which is a dependency of the
application you are shelling, the .DLL will not be
decrypted at runtime because the operating
system tries to load the .DLL before the shell has a
chance to decrypt it."
So I guess maybe at runtime, LabVIEW try to load the
application before it's decrypted.
Irene


=
Irene He
Yahoo Messenger ID: [EMAIL PROTECTED]
www.geocities.com/irene_he
www.hytekautomation.com




Re: LabSQL license question

2004-03-11 Thread Irene He

--- Jeffrey Travis <[EMAIL PROTECTED]> wrote:
> Hi Irene
> 
> LabSQL is licensed under the Lesser GPL (LGPL)
> license. In general this
> means you can use LabSQL any way you want, even
> bundle it with proprietary
> software. You can even modify LabSQL to suit your
> purposes. What you
> *cannot* do is make modifications to LabSQL itself
> and keep those
> proprietary. What the LGPL says in essence any
> modifications to LabSQL
> itself that you do must continue to be open source.
> However, any software
> VIs that use LabSQL can remain proprietary if you
> wish.
> 
> This is a broad generalization of the license in my
> own layman's terms. You
> can read the exact terms of the LGPL license here:
> 
> http://www.gnu.org/copyleft/lesser.html
> 
> 
> Best,
> 
> Jeffrey Travis
> 
> --
> Jeffrey Travis Studios  http://jeffreytravis.com
> 512.371.3614[EMAIL PROTECTED]
> 

Thank you very much Jeffrey. It's a good news. Now I
feel much safer to use it if I need it.
Thank you again.


=
Irene He
Yahoo Messenger ID: [EMAIL PROTECTED]
www.geocities.com/irene_he
www.hytekautomation.com




LabSQL license question

2004-03-10 Thread Irene He
Hello everyone,
I may be thinking of using some open source LabVIEW
SQL toolkit but just wonder if I am qualified to use
it. If I give my source code to my customer and the
software is mainly for use internally for the cutomer,
can I actually use LabSQL?
Your reply is great appreciated.
Thank you.
Irene

=
Irene He
[EMAIL PROTECTED]
msn Messenger ID: [EMAIL PROTECTED]
www.hytekautomation.com
www.geocities.com/irene_he




Re: Fw: Language Independence on Serial Output of "."

2004-03-08 Thread Irene He
> - Original Message - 
> From: "Holland, Guy" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, March 08, 2004 12:15 PM
> Subject: Language Independence on Serial Output of
> "."
> 
> 
> I have an application that outputs a string with
> numbers via the serial
> port.  Ex. "SG1.23,4.56,7.89".  I developed the
> application in English but
> when the application was installed onto a
> Non-English say Holland language,
> the output string turns into "SG1,23,4,56,7,89". 
> The periods are replaced
> with commas.  I believe it might happen with all
> languages that use commas
> ($1,00) rather than periods ($1.00).  How can I get
> around this problem so
> that my application can be language independent?
> 
> TIA,
> 
> Guy Holland
> Intralase Corp.
> 
> 

You can go to control panel->Regional Options->Numbers
tab to change the Decimal Symbol to "." instead of
"'". But that will affect all the decimal numbers on
that computer. So may not be the best way to handle
it. Unless you can retrieve what the decimal symbol is
used in a computer, then you can programmatically
change your command string to match that settings or
you have to make up a list of all the contries that
use "," for decimal numbers so that you can set the
strings correctly depends on the user input what
country they are. I know Germany use "'" instead of
"." too at least.


=
Irene He
[EMAIL PROTECTED]
msn Messenger ID: [EMAIL PROTECTED]
www.hytekautomation.com
www.geocities.com/irene_he




Re: web cam

2004-02-27 Thread Irene He
Zann wrote:
--
I've done some rather brief google-ing on the subject
about
a year ago, and here is what I found and bookmarked:

http://www.warwicktech.freeserve.co.uk/lvdownloads.html
http://www.mindofpete.org/labview_webcam.shtml
http://www.info-labview.org/the-archives/vi/lv4/lv_vfw.zip

Never looked into it any closer than that though ...
---

I guess I have to reply to this one. If you do a
google search now, you will also see IVision...

Irene



=
Irene He
[EMAIL PROTECTED]
www.hytekautomation.com
www.geocities.com/irene_he




New version of IVision LabVIEW toolkit is available (v1.5)

2004-02-19 Thread Irene He
Hello,
Just to inform users that IVision LabVIEW toolkit 1.5 is available.
It's now part of IVision suite. 22 new functions are added in since
version 1.3, mostly are camera control functions and examples.
check details here:
http://www.hytekautomation.com/Products/IVision.html

Thank you.
Irene He



New updates: IVision LabVIEW toolkit 1.5 is available

2004-02-18 Thread Irene He
Hi,
Just to inform people who are interested that IVision
LabVIEW toolkit 1.5 and AudioPlus 1.2 is available. 22
new functions are added in, mainly are camera
functions and some new example vis. Of course
including bug fixes for previous version.
Here is the link:
http://www.hytekautomation.com/Products/IVision.html
Thank you.
Irene

=
Irene He
[EMAIL PROTECTED]
www.hytekautomation.com
www.geocities.com/irene_he




How to with xy graph

2004-02-13 Thread Irene He
Hello everyone,
want to ask people first before using my own brain as
there are too much snow stucking in my head. Does
anyone know how to:
1. Update a xy graph point by point without plot the
whole graph everytime.
2. Update only one selected curve in a multiple curves
xy graph without having to replot those unchanged
ones.

Thank you and have a nice weekend.
Irene

=
Irene He
[EMAIL PROTECTED]
www.hytekautomation.com
www.geocities.com/irene_he




Re: I Really Like Event Structures, But...

2004-01-29 Thread Irene He
> - Original Message - 

> Ah, but Tip Strip is a property of a generic control
> refnum.
> 
> In general though what you do is check the Class ID
> of the refnum, base on
> that use the 'To More Specific Class' to cast that
> refnum to the specific
> type, then you can get all properties for that
> class. For example, arrays
> are Class ID 14
> 
> Jason
> 
> --
> Jason Corwin
> [EMAIL PROTECTED]
> (858) 592-4025

I just figured out that I can type cast to the boolean
reference using a boolean reference, so that I can
assign the tip strips to "AllObjs" if the cluster only
contains booleans. But the order of "AllObjs" elements
seems to be reversed. Which means, the order of
controls in the cluster is opposite of the order of
the "AllObjs" array? Odd?
Irene

=
Irene He
[EMAIL PROTECTED]
www.hytekautomation.com
www.geocities.com/irene_he




Re: I Really Like Event Structures, But...

2004-01-29 Thread Irene He
> - Original Message - 

> > 1) you can programmatically set the tip strip,
> from LV6.1 upwards.
> > 2) I suggest sucking in the strings from a
> tab-delimited text file
> exported
> > from excel, although once youve written the
> text-array to tip-strip
> routine,
> > any source of a text array would do.
> > Blair
> >

Ja, I know there is a property of tip-strip. But what
I really want to know is if there is a really lazy way
to generally assign the tip strips to each controls
without creating the references for each control
first, it feels like the same amount of work of typing
in tips manually for each one. I know we can create a
reference for the cluster containing the booleans,
from that cluster reference we can get all objects
references, but those are general references, I don't
see that we can use those references to set tip
strips.
Am I missing anything here?
Irene

=
Irene He
[EMAIL PROTECTED]
www.hytekautomation.com
www.geocities.com/irene_he




Re: USB Camera?

2004-01-29 Thread Irene He

> - Original Message - 
> From: "Peter M DeVita" <[EMAIL PROTECTED]>
> To: "Irene He" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Thursday, January 29, 2004 5:27 PM
> Subject: Re: Fw: USB Camera?
> 
> 
> > THanks Irene,
> > I am looking for just video capture.
> >
> > I have used the 1394 drivers for camera capture
> work. These work fine for
> hi
> > end work. I have recently had a request for a low
> cost approach - more
> like
> > WebCam. The cost of these cameras can get below
> $100, so having a $1000
> > software driver is out of the question.
> >
> > If some one does have some simple USB camera
> capture vis, I would be
> > interested in getting them.
> >
I find the link for free vis:
http://www.mindofpete.org/labview_webcam.shtml

But my toolkit does not cost $1000, but around $600
and it has a lot more functions than the free vis. But
if you just want something simple for just USB, maybe
the free one is better for you.
Have fun.
Irene

=
Irene He
[EMAIL PROTECTED]
www.hytekautomation.com
www.geocities.com/irene_he




Re: Fw: USB Camera?

2004-01-29 Thread Irene He


> - Original Message - 
> From: "Peter M DeVita" <[EMAIL PROTECTED]>
> To: "Info LabView" <[EMAIL PROTECTED]>
> Sent: Tuesday, January 27, 2004 1:35 PM
> Subject: USB Camera?
> 
> 
> > Hi All,
> > Now that LV7 has USB drive, has anyone tried to
> connect to a USB camera? 
> > What's available? Is there an additional driver
> required?
> > 
> > Thanks,
> > Peter
> > 
> > Eng. Peter M DeVita,
> > MASc, MBA, P.Eng.
> > 
> 

Hello Peter,
I don't think it's an easy way to directly use the USB
vis for capturing images from camera. There are many
low level things you need to know. But if you just
want to get images from USB camera, there are few
existing software can help you doing that. There are
free vis, but I'm not very sure the exact weblink.
Maybe someone else here can tell you or you can search
from this list, I think it was discussed before.
Besides the free vis, there are also other non free
vis, for example my IVision LabVIEW toolkit. It works
for USB cameras and firewire cameras and more. A demo
version is available for download from:
http://www.hytekautomation.com/Products/IVision.html

Irene

=
Irene He
[EMAIL PROTECTED]
www.hytekautomation.com
www.geocities.com/irene_he




Re: Fw: I Really Like Event Structures, But...

2004-01-29 Thread Irene He


> - Original Message - 
> From: "Cat" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 28, 2004 10:41 PM
> Subject: I Really Like Event Structures, But...
> 
> 
> > Hi all,
> >
> > I have a front panel with 1024 square-light
> boolean indicators (8 clusters
> > of 4 clusters of 32 booleans, if that makes any
> sense).  The purpose of
> > this screen is to visually alert the user if a
> sensor is overloaded.  Each
> > light represents one sensor.  The number of
> clusters/sensors visible at
> any
> > one time is dependent on the test configuration.
> >
> > I would like for the caption of a light to appear
> if the mouse hovers over
> > it, and disappear when the mouse is elsewhere. 
> Other than coding 2048
> > Mouse Enter/Leave states into an event structure,
> what options do I have??
> >
> > Thanks!
> >
> >
> > Cat

Hi Cat,
There is a lazy way to do if you don't using caption
instead of using tip strips. There is no coding needed
for tip strips in order to show the tips whenever the
mouse points over the booleans. Right click on each
boolean control and select "Description and tip..."
and type in the tip for the boolean. Although I don't
know a tricky way to programmtically give the tips for
each boolean rather than type in manually one by one,
but I guess it may not give you more work since you
have to type the caption for each boolean too.
Hope this will help.
Irene


=
Irene He
[EMAIL PROTECTED]
www.hytekautomation.com
www.geocities.com/irene_he




Re: Fw: [A] Call by Ref & Open VI Ref Question

2004-01-28 Thread Irene He
Could that be that when you press down the slider
there is an event occurred that cause you to execute
other states in the state machine, so that it never
gets to the "call by ref" case in your state machine
until you release the mouse?
Just guessing...
Irene

> - Original Message - 
> From: PJ M 
> To: LABVIEW INFO 
> Sent: Monday, January 26, 2004 12:15 PM
> Subject: [A] Call by Ref & Open VI Ref Question
> 
> 
> Hi everyone,
> 
> I have a main VI that call a SubVI containing a call
> by reference.
> The call by ref pass some parameters to the target
> VI.
> One of the parameter is from a control on the main
> VI (UI). As long as I dont hold the control (a
> slider), everything is fine. If I do hold the
> control, the call by reference does not execute
> until I release the mouse (to be more specific the
> Open VI reference does not execute). It would not be
> a problem if the call by reference was not in a
> state machine, (and expected to be called several
> time while the user hold the control), the
> consequence is that my VI execute only once with the
> first value from the control which is always never
> the one when the user release the mouse. It might
> very well be a know behavior (but until now it has
> never been an issue for me). Does it happen because
> my SubVI is in the UI thread (because of the call by
> ref ? )? Is there a way to prevent this from
> happenning (or do I have to redesign my VI around
> that behavior ?)?
> 
> Thanks
> 
> PJM
> 
> 
>
----
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool.
> Try it!


=
Irene He
[EMAIL PROTECTED]
www.hytekautomation.com
www.geocities.com/irene_he




Re: Fw: Call LV-ActiveX-Server from CE.NET 4.2

2004-01-28 Thread Irene He

> - Original Message - 
> From: "Erdmann, Ralf" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 27, 2004 4:49 AM
> Subject: Call LV-ActiveX-Server from CE.NET 4.2
> 
> 
> Hello all,
> I've got a LV7-App which acts as a ActiveX-Server,
> so that I can set a control value of this App via
> DCOM from another desktop PC with another App that
> I've written using Visual C++. (currently under W2K)
> 
> Now I need to set a control value of this App from
> a Windows CE.NET 4.2 device.
> 
> I know I have to rewrite the C++ App, but how can
> I register the LV7-App as an ActiveX-Server under
> Windows CE ?
> 
> Does anybody know if this is possible or has
> anyone already done it ?
> 

Hello Ralf,
In order to set LV7-App as an ActiveX server, you need
to enable the activeX server when you build the
LabVIEW application (in application builder, go to
"Application Settings" tab to check the ActiveX server
box). The result is you will get a *.tlb file together
with your LV EXE file. Then in your C/C++ code, you
declare this *.tlb file. There is an example in NI
site:
http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3E21356A4E034080020E74861&p_node=DZ52051&p_submitted=N&p_rank=&p_answer=&p_source=External

although it's for LabVIEW itself, but for LV
application it's similar, you just need to declare
your LV application *.tlb file instead of LabVIEW.tlb
in the C/C++ code. But still when you compile C code
you may get one parameter too few or too much error in
calling the LV vi from C/C++ code if you just copy the
code from the NI site. Just reduce or add one more
parameter with zero value, that worked for me.

Hope this help.
Irene

=
Irene He
[EMAIL PROTECTED]
www.hytekautomation.com
www.geocities.com/irene_he




Re: Fw: Fw: [A] Call by Ref & Open VI Ref Question

2004-01-28 Thread Irene He
Hi PJ M,
You said that "In between, the execution is "halted"
on the Open VI ref". Could that be that the vi that
you called by reference is still being used
somewhere(running, not finish task) at the time you
want to open it's reference the second time? Using
call by reference is just like you drop in a subvi,
you have to wait for it to finish. Just another wild
guess.
Irene
> - Original Message - 
> From: PJ M 
> To: Irene He ; LABVIEW INFO 
> Sent: Monday, January 26, 2004 5:16 PM
> Subject: Re: Fw: [A] Call by Ref & Open VI Ref
> Question
> 
> 
> Irene,
> 
> There is indeed something happening in my state
> machine that might be part of the problem. I test
> the issue separetly (slider connect to a change
> detector (the one from OpenG) connected to a case
> where true do the calling by ref. Everything is in a
> while loop). The true case execute twice (one when
> you start holding the slider and one when you
> release it). In between, the execution is "halted"
> on the Open VI ref (the first time the case become
> true). It seem that my problem is that in my app I
> do not catch the second execution (which contain the
> last "valid" value for the slide). I will need to
> investigate further why it is so (it might be
> because by the time the second firing occurs, I am
> still doing other stuff and I am missing it).
> As a side note, I am not using event structure in
> this app.
> 
> In any case, thanks for the reply.
> 
> PJM
> 
> Irene He <[EMAIL PROTECTED]> wrote:
>   Could that be that when you press down the slider
>   there is an event occurred that cause you to
> execute
>   other states in the state machine, so that it
> never
>   gets to the "call by ref" case in your state
> machine
>   until you release the mouse?
>   Just guessing...
>   Irene
> 
>   > - Original Message - 
>   > From: PJ M 
>   > To: LABVIEW INFO 
>   > Sent: Monday, January 26, 2004 12:15 PM
>   > Subject: [A] Call by Ref & Open VI Ref Question
>   > 
>   > 
>   > Hi everyone,
>   > 
>   > I have a main VI that call a SubVI containing a
> call
>   > by reference.
>   > The call by ref pass some parameters to the
> target
>   > VI.
>   > One of the parameter is from a control on the
> main
>   > VI (UI). As long as I dont hold the control (a
>   > slider), everything is fine. If I do hold the
>   > control, the call by reference does not execute
>   > until I release the mouse (to be more specific
> the
>   > Open VI reference does not execute). It would
> not be
>   > a problem if the call by reference was not in a
>   > state machine, (and expected to be called
> several
>   > time while the user hold the control), the
>   > consequence is that my VI execute only once with
> the
>   > first value from the control which is always
> never
>   > the one when the user release the mouse. It
> might
>   > very well be a know behavior (but until now it
> has
>   > never been an issue for me). Does it happen
> because
>   > my SubVI is in the UI thread (because of the
> call by
>   > ref ? )? Is there a way to prevent this from
>   > happenning (or do I have to redesign my VI
> around
>   > that behavior ?)?
>   > 
>   > Thanks
>   > 
>   > PJM
>   > 
>   > 
>   >
>  
>

>   > Do you Yahoo!?
>   > Yahoo! SiteBuilder - Free web site building
> tool.
>   > Try it!
> 
> 
>   =
>   Irene He
>   [EMAIL PROTECTED]
>   www.hytekautomation.com
>   www.geocities.com/irene_he
> 
> 
> 
>

> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool.
> Try it!


=
Irene He
[EMAIL PROTECTED]
www.hytekautomation.com
www.geocities.com/irene_he