LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

time capturing

hi!

i am having problems in my school project. i need to record the time when
an event occur but the time i got using the time vi in labview gives me the
time from the pc. it just keep going. how do you capture the time trigger
by an event?

pls help. thank you very much
0 Kudos
Message 1 of 5
(3,099 Views)
Sounds like the problem is that your time vi is inside of a loop (waiting
for the event?). One way is to exit the loop when you event occurs.
Another is to put the time function inside of a case statement and enter
that case only on your event occurring. This method will allow retriggering
(ie, overwriting the time of the first occurance of the event with the time
of a subsequent occurrance of the event). If this is a problem, you will
need some logic to perhaps set a flag indicating that you already have
captured the time of the event and use that to keep you out of the case
statement containing the time vi.

Hope I have understood your problem and that this helps.

Regards,

Jim


sang wrote in message news:39229719@newsgroups.ni.com...
>
> hi!

>
> i am having problems in my school project. i need to record the time when
> an event occur but the time i got using the time vi in labview gives me
the
> time from the pc. it just keep going. how do you capture the time trigger
> by an event?
>
> pls help. thank you very much
0 Kudos
Message 2 of 5
(3,099 Views)
Hi,
I want to hide block diagram of a vi for safety. How to do it on Labview?
I hope to get help.
Thanks,

Chenghj

Email: chenghj@alpha02.ihep.ac.cn
0 Kudos
Message 3 of 5
(3,099 Views)
Hi Cheng

In the Menu \Windows\VI Info..

There are options for locking and password protecting VI's

Tim

Cheng Huijun wrote:

> Hi,
> I want to hide block diagram of a vi for safety. How to do it on Labview?
> I hope to get help.
> Thanks,
>
> Chenghj
>
> Email: chenghj@alpha02.ihep.ac.cn
0 Kudos
Message 4 of 5
(3,099 Views)
Instead of using a password, you can save with options your
VI, and remove diagrams completely, but remember to have
the original VI safe, once you remove the diagrams you
can't edit them.
Hope this helps

Gorka Larrea


* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful
0 Kudos
Message 5 of 5
(3,099 Views)