Boolean showing false instead of true

Hello,
I am monitering flag sensors on a rotary motor and I want a simple way to show which flag sensors are triggered continuously while the vi is running.
Attached is a pic of when the vi is running.  The Boolean (probe 81) is signaling false when it should be signaling true.  The data coming out of the DAQ vi is measuring the correct voltage (probe 80).  I would post this on the Multifunction DAQ page however I think it is a programming issue rather than a DAQ issue.
Any help on why this is happening?  Suggestions to fix this?
Thanks,
Andrew
Attachments:
flagsensor.JPG ‏23 KB

Andrew Aji wrote:
I'm an idiot.
Thanks guys
That response made my day.   Andrew, your a good guy to be able to laugh at yourself.
- tbob
Inventor of the WORM Global

Similar Messages

  • 1 == [1] returns false instead of true

    The [The JavaFX™ Script Programming Language Reference  (Draft)|http://javafx.com/releases/preview1/docs/reference/sequences.html] says:
    "a single object is equal to a sequence of one object:
    {code}1 == [1]; // returns true
    {code}
    But when I try the following in NetBeans 6.1:
    {code}System.out.println("1 == [1] is {1 == [1]}");{code}
    it returns the following:
    {code}1 == [1] is false
    {code}
    So again my question, who is wrong? Me, the reference or my SDK?

    Looks like the doco is wrong, I guess thats why they say draft

  • Display Yes / No instead of True or false for radio buttons in SSRS 2008R2

    Hi All,
    I have one report with two radio buttons as parameters. In the report display I see True / false beside the radio buttons. Is there a way where I can display it as
    YES instead of True and NO for False beside radio buttons?
    Thanks,
    RH
    sql

    Hi sql9,
    According to your description, you want to show "Yes" and "No" in Boolean parameter instead of "True" and "False". Right?
    In Reporting Services, it doesn't has any property for the text of radio button in a Boolean parameter. So we can't modify the "True" and "False" into "Yes" and "No". For your requirement, a workaround is changing the type into drop down
    list and put the "Yes" and "No" into values.
    Reference:
    SSRS boolean
    parameter Yes and NO instead of True and False in prompt area
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • BOOLEAN DEFAULT FALSE NOT NULL for key-column

    Hello,
    These statements show an unexpected behavior when a column is added to a table as 'BOOLEAN DEFAULT FALSE NOT NULL' and added afterward to the table's primary key column set:
    create table test_1 (a char(1))
    insert into test_1 values('A')
    alter table test_1 add b boolean default false not null
    alter table test_1 add primary key (a,b)
    create table test_2 (a char(1), b boolean default false not null)
    insert into test_2 (a) values('A')
    alter table test_2 add foreign key f_test_1 (a,b) references test_1 (a,b)
          -> [350]: Referential integrity violated
    update test_1 set b=false
    alter table test_2 add foreign key f_test_1 (a,b) references test_1 (a,b)
          -> success
    delete from test_2
    delete from test_1
    insert into test_1 (a,b) values('A',false)
    insert into test_2 (a) values('A')
          -> success
    I think the error message '[350] Referential integrity violated' should not happen because the column 'b' really contains 'false'. But there obviously seem to be a difference before and after setting the column 'b' explicitly to 'false'. I can imagine that this depends on the way how the index for the primary key is updated. Probably the index is not properly updated in this context(?)
    Gabriel

    Hi Gabriel,
    you're right, this is a bug and indeed seems to caused by the way the DEFAULT boolean is stored in the page.
    (There is no separate index for the primary key in MaxDB as all data is stored in B*trees - basically the table is the primary key).
    This is how the record looks like when column b is 'false' only due to the change of the DEFAULT value:
    ROOT/LEAF 460  perm       entries : 1         [block 0]
         bottom  : 93         filevers: 14888     convvers: 83
                                                  writecnt: 1
      1: (pos 00081)
    00001      recLen      : 12                recKeyLen   : 4
    00005      recVarcolOff: 0                 recVarcolCnt: 0
         record
          1  2  3  4  5  6  7  8  9 10 11 12
         81 82 83 84 85 86 87 88 89 90 91 92
    dec: 12  0  4  0  0  0  0  0 32 65  0  0
    hex: 0C 00 04 00 00 00 00 00 20 41 00 00
    chr:                             A
    And this is how it looks like after the explicit UPDATE:
    ROOT/LEAF 460  perm       entries : 1         [block 0]
         bottom  : 93         filevers: 14888     convvers: 84
                                                  writecnt: 2
      1: (pos 00081)
    00001      recLen      : 11                recKeyLen   : 3
    00005      recVarcolOff: 0                 recVarcolCnt: 0
         record
          1  2  3  4  5  6  7  8  9 10 11
         81 82 83 84 85 86 87 88 89 90 91
    dec: 11  0  3  0  0  0  0  0 32 65  0
    hex: 0B 00 03 00 00 00 00 00 20 41 00
    chr:                             A
    Little difference but this leads to the problems during the foreign key validation.
    I'll inform the developers next week about this.
    As a workaround you'll have to explicitly update the columns for which you change the default setting.
    regards,
    Lars

  • BubbleChecker  show  false  for matrix on  AfterChooseFromList event

    Hi expert,
    i have UDO form with a text field and matrix .Added CFL in both field  .Bubblechecker tools  show
    true for text  field and false(error)  for matrix column .please  help why bubblechecker tools  show false only for matrix CFL.
    [B1Listener(BoEventTypes.et_CHOOSE_FROM_LIST, false, new string[] {
                        "SBOeConnectUDO"})]
            public virtual void OnAfterChooseFromList(ItemEvent pVal)
                bool ActionSuccess = pVal.ActionSuccess;
                Form form = B1Connections.theAppl.Forms.Item(pVal.FormUID);
                // ADD YOUR ACTION CODE HERE ...
                EditText ET_itmcd = (EditText)form.Items.Item("ET_itmcd").Specific;
                IChooseFromListEvent oCFLEvent = (IChooseFromListEvent)pVal;
                if (oCFLEvent.BeforeAction == false && oCFLEvent.SelectedObjects != null)
    //for text field
    DataTable oDataTable = null;
                            oDataTable = oCFLEvent.SelectedObjects;
                            DBDataSource oDBDataSource = null;
                            oDBDataSource = form.DataSources.DBDataSources.Item("OITB");
                            oDBDataSource.SetValue("ItmsGrpNam", pVal.Row, System.Convert.ToString(oDataTable.GetValue(1, 0)));
    ///for matrix code
    if (oCFLEvent.ChooseFromListUID == "CFL_web")
                        try
                            Matrix oMatrix_web = (Matrix)form.Items.Item("mtx1").Specific;
                            DBDataSource oDBDataSource = (DBDataSource)form.DataSources.DBDataSources.Item("@Table1");
                            DataTable oDataTable = null;
                            oDataTable = oCFLEvent.SelectedObjects;
                            if (form.Mode == BoFormMode.fm_ADD_MODE | form.Mode == BoFormMode.fm_OK_MODE | form.Mode == BoFormMode.fm_UPDATE_MODE)
                                if (pVal.Row == oMatrix_web.RowCount)
                                    oDBDataSource.SetValue("LineId", oDBDataSource.Size - 1, null);
                                    oDBDataSource.SetValue("U_SitCd", oDBDataSource.Size - 1, null);
                                    oDBDataSource.SetValue("U_SitNam", oDBDataSource.Size - 1, null);
                                    oDBDataSource.InsertRecord(oDBDataSource.Size - 1);
                            oDBDataSource.SetValue("U_SitCd", pVal.Row - 1, System.Convert.ToString(oDataTable.GetValue("U_Code", 0)));
                            oDBDataSource.SetValue("U_SitNam", pVal.Row - 1, System.Convert.ToString(oDataTable.GetValue("U_Name", 0)));
                            oMatrix_web.LoadFromDataSource();
                        catch (Exception ex)
                            B1Connections.theAppl.SetStatusBarMessage(ex.Message, BoMessageTime.bmt_Medium, false);

    It's already a reported issue: Resize of grid controls
    A fix is due to be made in PL07 according to the note references in that thread: https://websmp130.sap-ag.de/sap/support/notes/1610013
    Also I think you got hit by a network issue and posted the thread twice

  • In sync - Shows False

    Hi,
    We have installed oracle 9i portal rel-2. When we issue the command - dcmctl getstate -v , all the components are listed and the in sync column shows true. When we create an OC4J Instance and try to deploy our applications, the in sync column shows false for all the components. Why does this happen? And how to sort this out?
    Immediate help is highly appreciated.
    Sunitha

    Have you tried basic troubleshooting steps an page 34, 132-133,etc of iphone manual?
    "If something is not working right, restarting or resetting iPhone will likely solve the
    problem.
    Restart iPhone: Press and hold the Sleep/Wake button until the red slider appears.
    Slide your finger across the slider to turn off iPhone. To turn iPhone back on, press and
    hold the Sleep/Wake until the Apple logo appears.
    Reset iPhone: Press and hold the Sleep/Wake button and the Home button at the
    same time for at least ten seconds, until the Apple logo appears.
    For more troubleshooting suggestions, see Appendix A, “Troubleshooting,” on
    page 132. "
    http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf

  • Boolean gn1 = false,gn2 = false;

    boolean gn1 = false,gn2 = false;
    These are set at the begining, but later in the program they are set to true.
    Is there some small code to reset them back to false.

    Was this question serious?Probably, and also related to another thread by the same user:
    http://forum.java.sun.com/thread.jspa?threadID=655248&messageID=3851700#3851700
    Just because I'm psychic, I knew this all already ;-)
    kind regards,
    Jos

  • Discoverer report showing null instead blank

    hi,
    I am running report from discoverer and it is showing null instead blank, do I need to check some thing in pref.txt file in oracle 9i
    regards
    kumar

    hi,
    I am running report from discoverer and it is showing null instead blank, do I need to check some thing in pref.txt file in oracle 9i
    regards
    kumar

  • Goods receipt subtotal is showing zero instead sum of quantity..!

    Hi Guys,
    1. Goods movement subtotal showing 0 instead of the total of the quantity.
    The check throwing the following error message.
    Update control of movement type is incorrect (entry 122 X X)
    Message no. M7226
    2. Purchase order data tab not showing item details for variance items but showing the message
    "This item has not been ordered."  But the PO items are ordered and present in the PO.
    Please find the screen shots.
    Thanks
    Sam

    Hi Sam,
    Kindly  Check table T156SC entries there is a entry missing in the table.
    And if required so kindly Maintain the missing entries in table.
    If entries of movement type 101 are prefect then
    Goto Transaction  -- SE37 ,
    Function module -- MB_CONTROL_MOVETYPE_GET_SINGLE
    Kindly do Set a break point to select statement which is failing at the table above at both the systems.You should be able to crack the error.
    Hope this will help you to solve the issue.
    And if not Kindly let us know.
    Thanks & Regards
    Ritesh Kumar

  • Discoverer 10.1.2.55.26 Viewer Shows NULL instead of Blank

    Hello All,
    we recently installed Discoverer 10.1.2.55.26 and applied cumulative patches(CM4). we migrated 9.04 version reports to Discoverer 10g(10.1.2.55.26).
    On all the Reports, we see NULL instead of Blank spaces in the data in the viewer. How can we change all of the reports to show blank space instead of NULL.
    Please share your experience and thoughts on this Issue
    Thank you
    Chandu Ambati

    Thank you Tamir,
    Before i try on the big bang approach. I tried changing the worksheet options for one of the worksheet that shows NULL.
    I changed from NULL to blank space and saved the workbook.
    we use Oracle Portal to show these workbooks as Portal Views. Portal View was showing NULL before the change, and after changing the worksheet options and saving it, i refreshed the portal view and it started showing Blank instead of NULL. Works fine for that day.
    The next Day again it started showing NULL.
    Do u think are we missing any step?
    Thanks again for your help.
    Chandu Ambati

  • I accidentally ran iPhoto Library Upgrader on my Picture folder and now I have to right click on it to "show contents" instead of looking at it in Finder.  Help!

    Help!  I have 2 problems related to iPhoto:
    1:  I accidentally ran iPhoto Library Upgrader on my Picture folder and now I have to right click on it to "show contents" instead of double clicking on it and looking at it in Finder.  I cannot figure out how to fix my Pictures Folder so that I can click on it and view it in Finder, when I double click on it Terminal opens up with this message  "Pictures - Bash 80x24"  and
    Last login: Mon Nov  3 14:00:05 on ttys000
    Christinas-MacBook-Pro:Pictures christinagrierson$
    It will not let me replace or delete the folder...  I got to my files and backed them up, but trying to avoid reinstalling my OS.
    2:  When I try to Upgrade my Library.iPhoto file so I can open it in iPhoto it says I need to finish by opening in iPhoto, but then when I do, it tells me it first needs to be upgraded in the iPhoto Library Upgrader... Vicious circle.  Please, help!  Just trying to recover about 3 years worth of photos...

    Hi!  Thanks for responding!
    I have iPhoto 9.5.1, I am on OS X Version 10.9.5 on a MacBook Pro with 2.66 GHz
    My current "iPhoto Library" file is OK (I can open it with iPhoto), however I cannot access the old one from iPhoto 6 titled Library.iPhoto
    I tried right clicking and choosing the application, it did not work.
    "exactly how did you "I got to my files and backed them up"" - I showed the contents of my Pictures folder, and it opened up the folders in Finder and I copied them to an external hard drive.  In my Picture folder I have several folders of Photos plus the iPhoto Library files (old & current)
    I do have old back ups, but they are from April, and I recently imported 5 months of photos from my iPhone, so the iPhoto Library I copied after showing contents is the one I need.

  • Whenever I try to download a new application, my parent's apple id shows up instead of mine which is on my computer. My mom doesn't want to put down her credit card information because I use gift cards. How do I change the ID on my ipod to my apple ID?

    Whenever I try to download a new application, my parent's apple id shows up instead of mine which is on my computer. My mom doesn't want to put down her credit card information because I use gift cards. How do I change the ID on my ipod to my apple ID?

    thank you so much lllaass. im an idiot for not finding that out.

  • Can someone tell me how to set my name so when I send a text it shows up instead of my phone number

    Can someone tell me how to set my name so when I send a text it shows up instead of my phone number

    You can't do that. Only the sending number is transmitted by the carrier with an SMS message. If the recipient has you in their address book, with most smart phones and some others, the name will display, but that's a function of the phone on the receiving end.

  • My IPOD Classic Video 5. Gen. showed videos, but now it does no longer show them, instead i see a black picture on my IPOD and it doesn`t work. I have to restart it every time, i try it. i restore the software with itunes, but the problem still exists.

    My IPOD Classic Video 5. Gen. showed videos, but now it does no longer show them, instead i see a black picture on my IPOD and it doesn`t work. I have to restart it every time, i try it. i restore the software with itunes, but the problem still exists.
    The Videos are showed up front 4 months, but now they are no longer to be seen. When you star a video first the hard drive starts, but then it stops and hangs up. I have to restart it, starting with the apple logo....

    Here is what worked for me:
      My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc.

  • Show key instead of text in ME51N for PR document type

    Hi, did anyone know how to show key instead of text in ME51N for PR document type? How can I remain the setting after shut down the PC?
    Thanks.

    Can you give more info about your need as it is not clear which text you're referring to.
    Regards,
    Vivek

Maybe you are looking for