using the comparator and DAQ to light a LED

I use a comparator in Labview to compare the sine wave with a fixed voltage and then displays the result (1 or 0) on a waveform graph. How can I use the result of the comparison to the output of a data acquisition to light a LED (eg. when the result is 1)?

In LabVIEW, click ... ... ... ... .  The block diagram for VI will show you a table of Boolean as input.  In order to use a single Boolean value instead, specify a single line in the VI 'create task' (for example, Dev1\port0\line0) and plug your LED to this axis.  Then, in the code, select "single channel / simple sample / Boolean instance (1 line) of writing DAQmx.»  Wire then the exit of your writing's Boolean entry DAQmx comparator.

If you change the VI, save it under a different name in a different location.  NOT crush the example of VI.

Hope that helps!

d

Tags: NI Software

Similar Questions

  • How to use the capture and the print button

    I tried to figure out how to use the capture and the "print" button, or add or what you call. I press it and the whole page of a different color changes, so I try to cut the section I want but I don't know how to send it to the printer. Can someone help me with this. I'm not at savvy with tech stuff, but when I find a recipe or something and it doesn't have an option to print a certain area, I can't understand how to use it?

    Thank you

    Andi Starbuck

    That happens to me is, I click and drag to make a rectangle of yellow selection, and as soon as I raise my finger on the mouse button, the part I've selected is captured as an image, a new tab opens and preview before printing, the image display. I can use the installation of the Page or simply print. But if I close the preview, this temporary image vanishes and I'm back on the page where I started. You see something different?

  • Using the MF and the "open a new tab" + sign opens a new page with a list of site visited recently, which is a very useful tool. It works fine on my two desktop computers, but

    Using the MF and the "open a new tab" + sign opens a new page with a list of site visited recently, which is a very useful tool. It works fine on my two desktop computers, but I can't it to work on the laptop.

    I downloaded "New tab Pro" on the laptop (do not even see on desktop computers so don't think about) such that she was like the real deal but nope... do not work. Running the latest version of MF, ideas on how activate it please?

    Thank you guys are going to mark as 'resolved' BTW it is no "folder on the desktop named old data from Firefox. Hmmmmmm.

  • I can't use the tab key to move to the next field or use the shift and tab to move to the previous field in the forms.

    After update to 7.0.1 I can't always use the tab key to move to the next field or use the shift and tab key to move to the previous field in forms. He has always worked in previous versions and it is essential for my type of work. Does anyone know of a setting to enable this? If this is not the case, can the developers of Firefox is working on this issue (please). I love Firefox but desperately need this feature to work properly. Thank you!

    No - because it works in Mode safe mode, this means an extension is probably to blame. See http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes

  • How can I clear the attraction of the browser to the bottom of the list, I followed the directions using the options and it will be not only clear

    How can I clear the attraction of the browser to the bottom of the list, I followed the directions using the options and it will be not only clear

    Entries in the location bar drop-down list with a yellow star (blue on Mac) at the right end of the bookmarks.

    You can delete this an item marked with a bookmark that appear in the list, if you open this url in a tab and click on the yellow star in the address bar.

    This will open the "Edit this bookmark" dialog box and you can click on the delete button to delete the bookmark if you want to delete such an entry marked with a bookmark.

  • How many phone numbers can be connected simultaneously, use the most and merge buttons

    How many numbers phones can be connected at the same time, use the most and fusion of the buttons after you make the first call?

    It depends on your operator.

    It's been a few years since I've really looked into it, but I think that AT & T supports up to 5 concurrent calls. I know that other major U.S. carriers support less, but I don't remember the exact numbers. I want to say that Verizon and Sprint are in charge 3 and T-Mobile supports 2, but my memory on this subject is blurred.

    Contact your operator for more information.

  • My iMac cursor is stuck in the upper left corner of the login screen and I can't move it and now I can't use my iMac. What can I do? My iMac is a 27-inch 2014 release (one thin without retina display) and uses the keyboard and wireless mouse.

    My iMac cursor is stuck in the upper left corner of the login screen and I can't move it and now I can't use my iMac. What can I do? My iMac is a 27-inch 2014 release (one thin without retina display) and uses the keyboard and wireless mouse. It runs OSX Mountain Lion (not sure which version) and is a model 27 inches.

    have you tried to change the batteries in the mouse?

  • I use iphone 5 s updated to 9.2, but I can not use the network and call :( Please help me

    I use iphone 5 s updated to 9.2, but I can't use the network and call someone help me please

    What happens when you try to use the network?

  • I finished the installation of Sharepoint 2010 and he is told to use the username and password you loged on the server with does not work. What should I do to access the sharepoint URL?

    I finished the installation of Sharepoint 2010 and went through the Setup Wizard. It is said to use the username and password you loged on the server with does not work. What should I do to access the sharepoint URL?

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Forum. You can follow the link to your question:
    http://social.technet.Microsoft.com/forums/en-us/sharepoint2010general/threads

  • the window on my computer does not return to its original size and I can't use the max and min and exit button

    my window is too far to the right and ive tried to get to the original size and it will until a certain point to the left. This leaves me unable to use the max and min and exit tabs

    Hello

    1. What is the brand and model of the computer?

    2. is it a laptop or a desktop computer?

    3. the problem occurs after leaving the game or program?

    4 did you a recent software or changes to the material on the computer?

    Method 1:

    If this happens when you leave a game, I suggest you to follow the steps mentioned in the link and check.

    Open the troubleshooter of display quality

    http://Windows.Microsoft.com/en-us/Windows7/open-the-display-quality-Troubleshooter

    Method 2:

    I also suggest you go through the steps mentioned in the link and the Coachman.

    Change your screen resolution

    http://Windows.Microsoft.com/en-us/Windows7/change-your-screen-resolution

    Method 3:

    Step 1:

    I also suggest you to check if the problem persists in safe mode.

    Start your computer in safe mode

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Step 2:

    You can also check if the problem persists in a clean boot state.

    Clean boot:

    This could happen if one of the substantive programmes is in conflict with the proper functioning of your computer. To help resolve the error and other messages, you can start Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7 http://support.microsoft.com/kb/929135

    Note: when you are finished troubleshooting, follow step 7 article to start the computer to a normal startup.

    Hope this helps and keep us posted.

  • Arrow keys on the keyboard. Try to use the keyboard and mouse.

    New Gateway laptop with windows 7. I play a lot of games online and I can't find anywhere how to change this, or if it's the phone or the operating system. When I try to play a game on IE with the arrows that they automatically stick causing the game almost impossible to play, also when you try to use the keyboard and the touchpad the touchpad locks when the keyboard is in use. Help, please.

    It is a known problem if all goes well with Flash and Internet Explorer.
    Source: http://social.answers.microsoft.com/Forums/en-US/vistagaming/thread/d006871e-4701-4e80-9062-197f28251ac5/

    The only thing you can do is use another browser until what Adobe fixes the problem.

  • I'm trying to image download from a Sony mavica camera using the disk and nothing is displayed. Is there a file I need to download? __

    How can I upload photos using an a Sony Mavica Floppy? I tried to use the file and nothing came up... help

    How can I upload photos using an a Sony Mavica Floppy? I tried to use the file and nothing came up... help

    ===============================
    I used to have a Mavica and after insertion
    the floppy drive... I want to go... My computer and
    the reader has to view the photos, click left.

    The following forum might be useful:

    Exchanging information Mavicahttp://forums.mavican.org/viewforum.php?f=16 John Inzer - MS - MVP - Digital Media Experience

  • I used the backup and restore of the backup C on pc. Then tried to open saved files with IE and started acting weird.

    zip files

    I used the backup and restore of the backup C on pc.  Then tried to open the files saved with IE.  IE went into free fall.  ???

    I have no idea what opened the backup files when you have double-clicked, or if you will not quote you took after doing this...  However, the official way to 'Browse' the content of the backup...

    You can view the contents of your backup by opening the wizard to restore files.

    1. Open backup and restore by clicking on the button start , clicking Control Panel, clicking system and Maintenance and then click Backup and restore.

    2. Do one of the following:

      • To view your files, click Restore my files.

      • To display files all the, click on restore files for all users. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. Do one of the following:

      • To browse the contents of the backup, click Browse for files or click Browse for folders.

        When you browse folders, you will not be able to see the files in a folder. To view individual files, use her browse for files option.

      • To search the contents of the backup, click search, type all or part of a file name, and then click search.

    If you back up to the top PC (VHD) integer then you mifght consider this trick:
    http://www.Petri.co.il/mounting-Vista-backups-using-Windows-complete-PC-Backup.htm

    According to the edition of Windows Vista that you have (and how useful, you will find the possibility to look at old versions of a given file and possibly restore), this could be useful to you:
    http://www.ShadowExplorer.com/
    (not a replacement of relief.)

    With regard to the rate of success vs. failure rate of backup - it is difficult to measure.  Indeed most of the people backs up incorrectly.  It's really * not * enough to set a backup and forget about it.  If you test ever that your backups work/glance to see if you are backing up the good thing - it's just not wise.  Although most people expect that it is essential that the backups were working properly (not a test, a real emergency) to be discovered.  Most individuals who report failures, unfortunately, fall into this category "when my aircraft crashed and I went to my backups - it turns out _ backup _ does not and never told me...» ».

    A question... If you manually create a ZIP file (not a backup) - can you still Explorer in it as a folder?

    To test... Create a folder on your desktop.  Copy some files into it - of different types.  I say COPY and not MOVE on the goal here - because you can just blow this folder and all that results from this folder later if it was all fair copies of things.

    Make a right click on this folder and choose "send to" and "compress (ZIP) file and give a name to the new 'folder '.  (It's really a file.)  On your desktop, you should have the original folder you created and copied some stuff in, and a new "folder" with the name you just gave.  If you open the 'new' folder - you should see the name of the folder that is still on the desktop and go to this folder, you should see the files.  You literally use Windows Vista to the 'discovery' inside a ZIP file as if it were a folder.

  • Why can I not see the files I back up by using the backup and restore of Vista

    Can someone help me?  I have a Dell Inspiron 1525 and implemented backup and restore feature Vista so that every Sunday he automatically backs up my computer to my external drive.  I was on the computer when he said it starts up and that upward was completed successfully.  I assummed everything was fine until today when I show my father my drive external and noticed that none of the backup of files were there... or at least I did not see them.  The only files on the disk were the ones I put manually on here from my old computer.  I then ran a manual upward using Vista and again it says backup successfully completed.  I then watched the external hard drive and once again no new files.  The strange thing is the back up and restore program shows all the dates he has saved and also allows me to restore files from the back to the top.  To do this, I deleted a file I didn't really need out of my hard drive and then is gone to restore program and found the file and restored.  Problem is that the program does not say where he makes the file from.  What is going on?  Are backup files of certain types of hidden file I don't see unless I use the backup and restore program under vista?  I am currently running Vista Home Premium on a 32 bit system and the external hard drive I have is a Western Digital My Book Essential Edition.

    Windows backup is stored in a folder with the same name as your computer.  Open a command prompt and type echo %ComputerName% or startup, right-click on computer, properties.  You should see that % ComputerName % folder on your external drive, and in this context, a backup set. Steve Hebert - MVP Microsoft Internet Explorer

  • Problem ejecting USB Mass Storage Device "this device is currently in use. Close any programs or windows that might be using the device, and then try again. »

    Original title: problem ejecting USB Mass Storage Device

    When I try to eject safely my external hard drive safely I get an error with this title message telling me that "this device is currently in use. Close any programs or windows that might be using the device, and then try again. "I did it. I also tried to close all programs running on the computer and it does not help. I also tried to restart the computer, and it also does nothing. If anyone has any ideas that might be useful please let me know.

    Hi a. Cook,

    (1) how long have you been faced with this problem?

    (2) is limited to any specific USB device?

    This problem may occur if there are handles open with all the files in the USB (Universal Serial Bus) mass storage device are in use by another program.

    Method 1:

    (a) Download Process Explorer from the link below

    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653

    (b) click on search, find handle or DLL (Dynamic Link Library) in the tool menu.

    (c) type the drive letter of the USB device in the handle or DLL substring text box and press the search button.

    (d) find the process and its PID (process identifier) in the following box.

    (e) with a view to the processes of the system tree, look for the process according to the dialog box find handle or DLL.

    (f) press Ctrl + H to display the handles in the view in the lower pane.

    (g) find the file according to the drive letter and right click, choose Manage close.

    Reference:


    Problem ejecting USB mass storage device
    http://support.Microsoft.com/kb/555665

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Method 2: You can see the steps in the link below by Diana d.
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-hardware/problem-ejecting-USB-mass-storage-deviceits-in-use/fd56805c-ED8E-491F-8a2b-39ed1c988a71

    Method 3: A scanner online for any threat and try to correct

    http://OneCare.live.com/site/en-us/Center/cleanup.htm

Maybe you are looking for

  • A plant back to zero help with the battery?

    Did a factory reset help if after a user updates 9.3.3 they have battery issues?

  • AssistiveTouch and screenshots

    I'm in iOS 9 on my iPod Touch 6 and the iPhone 5. When I take a screenshot, AssistiveTouch button is not hidden, as if it was on the previous version of the iOS. I'm still on iOS 7 on my mini iPad 2 and I don't have this problem. is this a bug in iOS

  • Exchange for an iPad Mini 2

    Is it possible to swap a Mini 2 16 GB iPad that I received as a gift for another Apple product? Brand new. The box is not unpacked. Unfortunately, I don't have the receipt.

  • Not able to receive, delete or move the emails in Outlook Express

    Cannot move emails to another folder.  Cannot delete emails.  Cannot receive emails.  If I try to open e-mail messages that are already in the Inbox, I get a message that it could not send a notice of receipt of the message, which I'm sure that spamm

  • Blue screen INVALID_PROCESS_DETACH_ATTEMPT message

    I get a blue screen with the message INVALID_PROCESS_DETACH_ATTEMPT with the error STOP: 0 x 00000006(0x00000000,0x00000000,0x00000000,0x00000000). Please give me advice on how to solve the problem. Thank you very much.