LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

4 questions in Labview

I have come across a series of doubts using labview

How to generate a pulse in LabVIEW.
Here I mean a pulse and not a square wave.

1.I am in the process of designing a circuit where a led should glow
when the pulse reaches the 1 state of a pulse and should go off for 0
state of the pulse. How can I do this.

2.And if I generate a signal (say sine) I need to get only the positive
half cyles of the input signal (i.e the output of a halfwave rectifier)
How can I do this ceasing the negative half cycles of the signal?

3. I need to add a authentication terminal for my program. i.e I need
to access my program only when I enter a password or of such type to
operate the program. How can I do this.

4. Most Importantly, If I need to give my vendor a application that I
have programmed using Labview software, but as an exe file, is it
possible. That is after doing the programming part in labview I wish to
convert my program in to an exe file which I give as an application to
the vendor who is not having the labview software. Can He run the
program for what I have programmed without the software as a exe file??

Can any VI gurus help me on this regard??

Karthik

0 Kudos
Message 1 of 3
(2,602 Views)
Hi Karthik,


ghazini wrote:

How to generate a pulse in LabVIEW.


TTL - level outputs can be obtained from a wide range of digital and multi-function hardware available from NI.  The simple DIO boards are relatively cheap.  Some boards - including some multi-function DAQ boards - have counter-outputs that can be configured for generating [TTL] pulses.  The boards that include analog-outputs (typically 0-10V) could also be used to generate pulses.  In all cases, your LabVIEW program determines the shape of the pulse.  Search examples for PWM.

 


1.I am in the process of designing a circuit where a led should glow
when the pulse reaches the 1 state of a pulse and should go off for 0
state of the pulse. How can I do this.

This sounds like homework - anyway, it's a hardware question! Smiley Wink

 


2.And if I generate a signal (say sine) I need to get only the positive
half cyles of the input signal (i.e the output of a halfwave rectifier)
How can I do this ceasing the negative half cycles of the signal?

Assuming you mean an analog output, typically a [LabVIEW] program constructs an array of floating-point values, that represent the desired output, then sends that "waveform" to an analog output.  Again, you determine the shape of the output.  Search examples for "waveform".   

 


 3. I need to add a authentication terminal for my program. i.e I need
to access my program only when I enter a password or of such type to
operate the program. How can I do this.

You (the programmer) determine how your program behaves, so you can require some information from the user before enabling functionality.  The source-code can also be password-protected - this is built into the LabVIEW development environment.  Search Help for "password"

 


 4. Most Importantly, If I need to give my vendor a application that I
have programmed using Labview software, but as an exe file, is it
possible. That is after doing the programming part in labview I wish to
convert my program in to an exe file which I give as an application to
the vendor who is not having the labview software. Can He run the
program for what I have programmed without the software as a exe file??

Yes.  It's called the "Application Builder" and is bundled with the Professional version of LabVIEW.  It can also be purchased from NI seperately.

 

Cheers.

 

 




When they give imbeciles handicap-parking, I won't have so far to walk!
Message 2 of 3
(2,585 Views)

Well Karthik,

Dynamik has answered all your queries pretty much in detail. So, 5 stars to Dynamik for that Smiley Wink

But I would like to ask one question to Karthik, "On what hardware do you Intend to realise features No 1 and 2 you have listed ??"

Regards

Dev

 

 

Message Edited by devchander on 02-22-2006 05:45 AM

0 Kudos
Message 3 of 3
(2,574 Views)