02-22-2006 01:10 AM
02-22-2006 03:02 AM
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!
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.
02-22-2006 05:44 AM - edited 02-22-2006 05:44 AM
Well Karthik,
Dynamik has answered all your queries pretty much in detail. So, 5 stars to Dynamik for that
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