How do I set a threshold from an analog signal (4-20ma) coming in on a cfp AI 110, to trigger an alarm on my UI?

I have the alarm set, indicator set,  just need a digital trigger from an analog input. I realize I could use an external switch into a digital input, but would rather use what we have. We are using this analog signal for other purposes as well. This application is for controlling a machine. Thanks.....

Hi Bob,
The way you have your Case structure setup now is that the “7” case will only get executed if the value from the wire is exactly 7. This same applies to the “8”. Also, there is no default case, so if value does not match any of the cases then your indicator will not change.
You indicated earlier that you need the indicator to be ON when the value is below 7mA and OFF when above 7mA. You will want some like this:
Alternatively could just use the Not function inside the Boolean palette to achieve the same functionality without the case structure.
You will want to check out the LabVIEW Training Page.
Message Edited by DiscoBall on 03-27-2009 12:12 PM
Message Edited by DiscoBall on 03-27-2009 12:13 PM
Joshua B.
National Instruments
NI Services
NI Support Resources
NI Training Resources
Attachments:
compare.jpg ‏27 KB

Similar Messages

  • How can I set a music from my music library as a Ringtone on my Iphone?

    How can I set a music from my music library as a Ringtone on my Iphone?

    http://www.ehow.com/how_4810307_free-iphone-ringtones.html

  • How can i set a song from my music library to a ringtone for my iphone 4s

    how can i set a song from my music library to a ringtone for my iphone 4s?

    The procedure is the following:-
    *right click the song on itunes and click get info.
    *under the option, check in the start time and end time- This is the exactly which part of the song you want to make your ringtone.
    *Click Ok.
    * Again right click in the same song and click the CREATE AAC VERSION
    * Now you can see the same two song. if you have made the short length in step 2, lenght will be different.and this will be in (.m4a) format. and if you dont see on itunes you can search the name on finder. you will find both files.
    * Now you try to change the format (.m4a)  to (.m4r), you just delete a and add r and press enter bottom. and conform it.
    *Now you add this files to the ringtone/tones on itunes which is located on the left side bar of itunes.
    *make sure under the preference of your itunes under the general the tones section is checked in.
    *go to your device on itunes. Under the tones check in sync tones. You can Sync all tones or the particular tones which you want.
    *Now this tone is on your iphone. You can change your ringtone through setting>sound>ringtone and choose the particular one.

  • How can we set page title from resource bundle

    Hi friends ,
    how can we set page title from resource bundle,
    <%--
        Document   : MARC008Music
        Created on : Aug 4, 2008, 6:27:06 PM
        Author     : root
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
    <title>All Transaction Log Details </title>
          </head>
        <body>
            <f:view>
                <f:loadBundle basename="#{utility.resourceBundle}" var="rb"/>
                <f:loadBundle basename="#{utility.messageBundle}" var="mb"/>
                <h:form>
                </h:form>
            </f:view>
        </body>
    </html>i want set title( All Transaction Log Details ) from resource bundle.

    My problem is solved , Thanking you Sir.
    Thanks & Regards,
    Edukondalu Avula

  • I am a Brit living in Germany. I really need to be able to purchase from the German iTunes Store (in €) and the English one (in £). How can I set this up from my iPad?

    I am a Brit living in Germany. I really need to be able to purchase from the German iTunes Store (in €) and the English one (in £). How can I set this up from my iPad?

    Technically correct (the best kind of correct)
    Now if the Op has and retains a UK account with billing address and UK paymant card - He/She can continue to use the UK store in Germany - Apple does NOT use IP address blocking just a valid paymant card attached to a postcode !
    Basically the first four of your paymant card are country codes.
    What the op needs to do if he/she now has a Germany address and payment method (could just be German € value gift cards) is to open a separate German iTunes Account !
    On a PC/Mac its very easy to change stores, however iOS has it a bit more difficult.
    In fact i would recommend the Op sets up a new German account and credentials on a PC/Mac first.
    And doing so just means opening the store in iTunes scrolling to the bottom of the screen and clicking on the littler circular flag in the bottom right.
    After that the browser window is populated with loads of similar disc flags. Clicking any take you to that regional store where provided you have a valid address (Postcode/Zipcode actually) and payment method local credit/debit some prepayment VISA cards or just a gift card you can create a local account.
    Oh and because Apple do NOT use IP addressing you don't actually have to be present in the country of that store. Its against to terms of the EULA but it works !
    Back to the iOS device
    Tap Settings/iTunes & App Store /Apple ID (that will probably be showing the UK account set up).
    In the window that opens tap log out
    Now  change the ID to the new German name and password and in the next window make sure the flag selected is that of Germany (when in Germany)
    When buying from the UK store follow that path again log out of the German account and re-log in using the UK ID
    As it happens I have a UK Portuguese and US account all active because I have residences in all three - and can visit any of the stores from anywhere.

  • Send apple email - how do I set the - send FROM account?

    found this nice script to auto create and send apple email...
    Q: how do I set the : send from account?
    tell application "Mail"
    set theMessage to make new outgoing message with properties {visible:true, subject:"My Subject", content:"My Body"}
    tell theMessage
    make new to recipient at end of to recipients with properties {name:"test", address:"[email protected]"}
    end tell
    send theMessage
    end tell
    nice info here:
    http://www.mactech.com/articles/mactech/Vol.21/21.09/ScriptingMail/index.html

    I've been using the following which may be more complicated than necessary but it does work:
    -- SCRIPT SEGMENT --
    tell application "Mail"
    activate
    set listOfSenders to {}
    set everyAccount to every account
    repeat with eachAccount in everyAccount
    set everyEmailAddress to email addresses of eachAccount
    if (everyEmailAddress is not equal to missing value) then
    repeat with eachEmailAddress in everyEmailAddress
    set listOfSenders to listOfSenders & {(full name of eachAccount & " <"Mail"
    set newMessage to make new outgoing message with properties {subject:theSubject, content:theBody & return & return}
    tell newMessage
    set visible to true
    set sender to theSender
    make new to recipient at end of to recipients with properties {name:theName, address:theAddress}
    set font to "Lucinda Sans"
    set size to 14
    end tell
    activate
    --send newMessage
    end tell
    -- END SCRIPT SEGMENT --
    I have commented the actual "send message" line so that I can read the message before clicking the send button as I often will add a comment.
    Al

  • How will i set a song from my itunes as my ring tone in I phone 4s

    Hi does any one know how to set a song from my Itunes play list as ring tone on Iphone 4s

    For information on how to make ringtones read this

  • How do I set acpi=off from livecd? [SOLVED]

    I just got my new motherboard in, and I'm running into problems getting my system up and running again.
    my first speed bump occured when the boot stopped at
    SLUB: Genslabs=12, HWalign=32, Order=0-1, MinObjects=2, CPUs=2, Nodes=1
    and I bypassed this by putting acpi=off in the kernel line on grub.
    the boot continues until it says something about usb HID core driver (i'll edit this later with the actual line)
    edit:
    drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
    and then stops again. 
    Is there any way I can get passed this point? also, if I try to boot from the live cd, the boot stops at the first speed bump (the slub line)
    how can I set the grub on the live cd to acpi=off and do a fresh install?
    I've done quite a bit of googling and can't seem to find any useful info on this one,
    any help?
    Cyrusm
    Last edited by Cyrusm (2008-12-09 02:27:53)

    I'm going to have to thank Tpowa for this fix.  I used the latest Archboot cd (found at http://downloads.archlinux.de/iso/archboot/2008.12/ ).
    boot options can be entered in and it contains arch64 set-up as well as the standard 32-bit setup on the same disk.
    I'm super excited because now I don't have to have windows on my desktop anymore and I can get back to being productive.
    If you want to install arch, or need a rescue disk, I recommend archboot.

  • How to send set of emails from SSIS

    Hi All,
    I would like to send set of emails from SSIS.
    For eg: I have to,from,Subject and mail body present in a table. I would like to go through the table 1 row at a time and send mails
    Regards,
    P M-S

    Hi Vishal,
    Thanks for the response.
    Example doesn't say how to dynamically control To and From lines. What I am looking for is to send mails from an existing table which has To,From,Subject and Body. Basically 1 email per row from an existing table
    regards,
    P M-S
    You can do this in T - SQL itself using sp_send_dbmail
    the code will look like below
    IF OBJECT_ID('tempdb..#temp') IS NOT NULL
    DROP TABLE #temp
    SELECT *,
    ROW_NUMBER() OVER (ORDER BY PK) AS ID
    INTO #temp
    FROM Yourtable
    DECLARE @ID int,@To varchar(5000),@From varchar(5000),@Subject varchar(max)
    SELECT TOP 1 @ID = ID,
    @To = To,
    @From = From,
    @Subject = Subject
    FROM #temp
    ORDER BY ID
    WHILE @ID IS NOT NULL
    BEGIN
    EXEC sp_send_dbmail @recipients = @To,
    @from_address = @From,
    @subject = @Subject
    SELECT TOP 1 @ID = ID,
    @To = To,
    @From = From,
    @Subject = Subject
    FROM #temp
    WHERE ID > @ID
    ORDER BY ID
    END
    Assuming you've default private mail profile set or there's a public profile defined for msdb
    otherwise you need to pass a valid mail profile
    IF in SSIS you can do this
    https://support.microsoft.com/kb/906547?wa=wsignin1.0
    http://www.devtechie.com/post/2013/01/04/Send-Mail-Task-%E2%80%93-Dynamic-Recipient.aspx
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How can I set to boot from MAC OS by default after I installed Windows?

    How can I choose to boot from MAC OS by default after I installed Windows? I have a MacBook Pro Leo 10.6.8. I used bootcamp to install Windows XP SP2, but now if I don't press the option key it will start up with Windows, and I don't want that. Thanks for any help.

    Select it in the Startup Disk pane of System Preferences.
    (61137)

  • How can i set a song from my iphone library as my ringtone?

    CAN I SET A SONG FROM MY LIBRARY AS MY RINGTONE FROM MY PHONE?

    boooo!!!!  so when i purchase the ringtone, i have to transfer it from my pc?  i just switched from android and im having a hard time figuring some things out.

  • How do I set the default from email for invititations

    I use my ical calendar for different business and personal calendars.
    Is there any way to set up the "from" email account to coinscide with the calendar the event is made for.
    i.e. If I make a personal event, the invite is sent from my personal e-mail, and if I make a business appointment, the invite is sent from my business account.
    I was able to do this with google calendar, but I am trying to be all in the cloud.
    Any help would be appreciated.
    P.s. running 10.7 and iCal vs.5.0.1
    Thanks

    I understand that you want each of several email accounts to act independently, such that mail for account 1 is sent and received only on that account, then account 2 likewise, etc.
    For each email account, left click on the account name and then select 'View settings for this account'.
    On the 'Account Settings' page, look at the 'Reply-to-Address' (should be blank) and also select the 'Manage Identities' box, which shows the default name and email address. If the default is not for that account, you can add or edit the entries and set the default.
    Back on the 'Account Settings' page, select 'Outgoing Server (SMTP)' and check the user name/account there. It should be for the same account.
    For each account, the other accounts should not be mentioned in any of the places identified above.
    - duggabe

  • Generate a harware trigger from incoming analog signal at specified level

    Hi
     I want to generate a hardware trigger at the counter out of my DAQ device from a incoming signal. As soon as the incoming signal crosses a specified voltage I want to  get a trigger at the Counter out of my DAQ device.
    Thanks
    Manish 

    Dear Manish,
    If I understand you correctly you want to create an analog trigger on a counter output line. Which DAQ device are you using?
    You can't do this directly in hardware, but it can be done with the Analog Comparison Event line. Create an analog input task with an analog trigger. (There is an example of how to do this in the Example Finder. In LabVIEW go to the Help Menu and click Find Examples. Browse Hardware Input and Output>>DAQmx>>Analog Measurements>>Voltage>>Cont Acq&Graph Voltage-Int Clk-Analog Start.vi.) Before this task route the Analog Comparison Event line to a PFI line using DAQmx Connect Terminals.
    Then perform a counter output task with a digital trigger. (Example Finder. Browse Hardware Input and Output>>DAQmx>>Generating Digital Pulses>>Gen Dig Pulse Train-Continuous-Dig Start.vi.) Wire the PFI line that you connected to the Analog Comparison Event into the digital trigger source input.
    Hope this helps! Have a great day!
    Sincerely,
    Marni S.

  • How to make a synchronous acquisition of two analog signals with a one channel DAQ ?

    Hi !
    It is the first time I use Labview. I have just made some easy VIs, and now, I do not know how to deal with my problem...
    My problem : I have only one acquisition card (DAQ Ni 6034E) and I would like
    to acquire simultaneously two analog signals. It seems to be possible, in a quasi-synchronous acquisition if the card acquires one point of the first signal, then the first point of the second signal, then the second of the first signal, and so on ... I thougth that I could made two sequencies with a VI of data acquisition in each sequency, with the AI MULT PT. But with this, I think that I will lose the precision of the sampling frequency. And I have to know the sampling fre
    quency ...
    Thanks for your help !
    Carline

    Hi Carline,
    A PCI-6034E is a low-cost board, which only has one Analog to Digital Converter (ADC).
    With only one ADC you can't acquire different channels at the same time. That's why you find a multiplexer before the ADC in this type of board. This enables you to acquire multi-channels at the same rate quasi simultaneously. The samples of the different channels will be interleaved as it is explained in the following knowledge base :
    - http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/9379ea091c264b7c86256bc90082ca5d?OpenDocument.
    With this method, the sampling frequency is the same for all channels. The sampling frequency of one channel is determined with the "scan rate" parameter. There is only a small delay between the samples
    of each channels. When you perform an interval scanning acquisition, this delay depends on the "sample rate" that you specify. To have more informations about this terminology, please refer to the following KBs :
    - http://digital.ni.com/public.nsf/websearch/4D1435DF82EF494186256D8A006DD6D4?OpenDocument.
    - http://digital.ni.com/public.nsf/websearch/4D1435DF82EF494186256D8A006DD6D4?OpenDocument.
    To easily perform such a multi-channels analog acquisition, you can use the VI named "AI Acquire Waveforms.vi". You also can use an example provided with LabVIEW. You just have to browse the NI Example Finder in "Harware Input & output >> Traditional NI-DAQ >> General".
    Best regards,
    Benjamin
    National Instruments France

  • How do i set up Server from normal OS X 10.8

    I have no idea what i need to do,
    please explain how to add users,
    how to set it up,
    no idea what so ever! it's for my small business i have 2 computers please help!

    Hello nicolas111,
    First of all, I should probably warn you that setting a server (being Mac OS X or any other) is never a trivial task. I don't know how experienced you are but, just in case you do not consider yourself as a "power user", just prepare yourself for a long, difficult, and instructive journey ;-)
    First thing to do, is to make sure that the Mac OS X machine that you will use as a server is up-to-date. Needless to say, it is also wiser to use a desktop machine as a server. Not a laptop.
    Then, download and install "OS X Server" from the App Store. During the installation process, you will be asked a few questions. Make sure you answer those questions right, right from the start. Of course, you can change those settings afterwards, but this is usually much more difficult than one would expect.
    Most important: take some time to read Apple's official documentation on Mac OS X server. Here is a link:
    http://help.apple.com/advancedserveradmin/mac/10.8/
    Yes, this is called "advanced" server admin, but still includes a "fundamental" tab on the left ;-) Take some time to choses which services you want to run. According to me, the best strategy is to avoid including all the services at once. Start with something simple, e.g., with a proper DNS server and well configured Open Directory. Make sure those services work. Then, it all depends on what you need.
    There also are a few books out there that can be helpfull. When I started using Mac OS X server, I found Peachpit publications helpful. If you buy a book, just make sure it targets the correct version of Mac OS X. Many things changed from one version to another. See for example:
    http://www.peachpit.com/store/product.aspx?isbn=0321887336
    Last but not least, you are at the correct place to ask questions ! Apple support communities are usually very nice people ;-)
    Good luck !

Maybe you are looking for

  • Error message while burning/ please help!!

    I am getting an error message when I am trying to burn a dvd this is probably the 10th movie project I have made into a dvd, never had this problem. Here is the message: There was an error during rendering/encoding of the menus/slideshows. The burnin

  • Flash 11.8 not working on Second life browsers

    a couple days ago i got flash 11.8. I watch videos and movies all the time while i play second life...but since the update, i couldnt do anything anymore. All i get is a black screen, no picture just sound. as i recall someone else had this issue. i

  • MultiSim Database Structure

    Hi there, during working with MultiSim for a few days. I found out (and the support says the same), that MultiSim does not convert the Pin-Nimbers from UltiCAP Libs to the correspondig footprint. Even not if you tell MultiSim wich footprint. So in ef

  • Missing audio files in Premiere after re-opening

    I just finished editing some clips for a gaming video I was working on. After saving it last night with all the audio clips still in the timeline, I re-open the project this morning seeing that all of my audio from the recorded footage was gone. But

  • Two family members setup on same Apple ID - want to delete one

    my wife and I have the same Apple ID - I want to delete her from my account