just the job for DB set to true

Hello

I did VI this post to a MySQL DB when you press the touch button of Lego NXT on port 1, but right now, it display the States True and False, and I only need the true statements.

I can't find a VI that only returns True and sends to the DB connection and just throw the fake.

Is it possible somehow, (it must be possible)?

Zaico wrote:

Heres my VI

But with a structure of the case, I have to set the real time output and false, I just can't seem to throw false and use only true... but it's maybe just me?

Can you take a look at my VI and see if it's just me?

Thank you

You do not use a case structure in your VI.  You used a select statement.

Please, start the tutorials.  A case structure is this notion important fundamental and in LabVIEW that if you're not familiar with it, then you are a long way away from being able to do the same programming LabVIEW base.

You would put the DB tools insert given Subvi in the case of true value.  You would put nothing on the case of false except the son reference and error wiring connection in.

You don't want to put the connection open and tied inside the while loop.  Put the front opening and close error.  It's a waste of resources continually open and close each iteration of the while loop the same connection.

You probably also need a timer waiting inside the while loop.  Unless there is something in the Subvi that control the speed of execution of the while loop, you will use this loop at such a fast speed and it consumes 100% of the time CPU.  This is going to hurt the functioning of your VI and perhaps the entire operation of your PC.

Tags: NI Software

Similar Questions

  • I need just the driver for Officejet 7210

    I just need the driver for the Officejet 7210 All In One without all the other stuff, can't find it. ANBODY tell me where to find it?

    Thank you

    Hello

    It is an AIO/MFP printer. Its driver should cover... Printing/scanning HP was just one suite for her (some printers have base driver only). You must install all and remove the class that you don't like. If you wish to do this, you can find the driver on the following link:

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?cc=us&LC=en&DLC=en&product=391153

    Kind regards.

  • Interactive Reporting - why all the graphic elements are set Enabled = true?

    Hello

    I have another question about Hyperion IR. When I put one of the widgets on the dashboard, Im not able to set enable = false (or disable = true) on this element. As the code
    textLabelElement.Disabled = true;
    has no effect.
    When I look at the properties of this element, there activate checked and grayed out on the first tab. It is not interchangeable.
    Why is it so and there at - there a work around?

    Kind regards
    Paul

    A textlabel can technically be "enabled" or "disabled". If you need a control that has this feature, use a command button.

    If you don't like the way the command buttons are, you can use lines and rectangles of textlabels to build your own, but you will need to write code to manage their behavior. An example would be a textlabel with a black font on top a textlabel with a cast iron grey. When you want to 'disable' button, just to hide (textlabel. Visible = false ;) the black police.

    If your users require frequently buttons that look or behave differently from the standard ones, you can design an object that generates your custom Help button and defines its properties and methods. I did this to make a progressbar and it works very well.

  • Why more expensive than buying just the upgrade for Adobe Photoshop and elements first?

    I currently have Photoshop and first elements 12 installed on my mac and when I go to upgrade to 13 the price increases just to buy both because of the sale. Can I buy it for the cheaper price and uninstall the current version?... or what I need to upgrade and pay more money?

    An upgrade is identical to the full version. It's just a pricing formula that Adobe offers to existing customers throughout the year. But Black Friday offers and holidays are usually best.

  • Just the transceiver for the MS Wireless 7000 mouse/keyboard?

    I bought a MS Mouse/7000 wireless keyboard w/out of the transmitter/receiver for $5.00 at a yard sale. What is the specification of the correct transceiver and how / where / how to get? I'd be happy to plug it, but there is no port that I can see.

    Hi Ben,

    I'm pretty sure that most of 'EM 2.4gh receivers will work for these devices, but the only way to be completely safe is to find the 'natural' that comes originally with this specific model. So, what I'm saying is that I wouldn't spend a lot of money on a new receiver, unless you are certain that it is designed specifically for these devices. However if you come across a 2.4gh good receiver, then it is probably worth it.

    You can try to ask the MS Store at the link below to find a new one.

    http://www.microsoftstore.com/store/msstore/DisplayHomePage

  • You can buy just the key for Windows 7 premium on ebay, but how you can download the software, after the purchase of the key.

    Where you can download Windows 7 Home premium if you buy a product key on ebay?

    Where you can download Windows 7 Home premium if you buy a product key on ebay?

    Even if they are legitimate, they are probably sold out their channel and are probably OEM or Volume License.
    Andre Da Costa http://adacosta.spaces.live.com http://www.activewin.com

  • Disable the planning for the users of the report jobs

    Hi all

    Is it possible to disable the ability to schedule the job for some users report? (Two jobs, historical option of work for reports)

    Thank you

    Yes, it is possible.

    By default, users are assigned to the role BIConsumer and here are the permissions associated

    oracle.bi.publisher.runReportOnline

    oracle.bi.publisher.scheduleReport

    oracle.bi.publisher.accessReportOutput

    oracle.bi.publisher.accessExcelReportAnalyzer

    oracle.bi.publisher.accessOnlineReportAnalyzer

    Authorities highlighted ones provides the advance access.

    Please create a new custom group and add the users to the new group. When providing permissions for the new group, ignore the above permissions Planner said.

  • Why iPhoto quit trying to open the 'Info' for a photo?

    If I open iPhoto, select / open a photo, then try to get 'Info' on the photo, iPhoto is closed.  What is going on?

    You can stop the fracas in the following manner but will lose the mapping functionality in the library.

    iPhoto 9.4.3 and earlier began planting for many users suddenly a few weeks ago. This is because the contract between Apple and Google for the use of Google maps with iPhoto 9.4.3 and earlier sites expired an elderly couple of months and was not renewed. This is the case of him freezes or crashes.

    Now uses Apple its own program for locations maps and too the use you need to run iPhoto 9.5.1 and Mavericks or 9.6.1 and Yosemite El Capitan or Photos and El Capitan.

    Try Huxly647Solution:

    Huxly647 , November 20, 2015 12:05 AM
    Re: iPhoto crashes after opening several times in reply to carvermon

    I found a solution that works for me.

    1 goto /Applications/iPhoto.app/Contents/Resources (control (right) - click the iPhoto application and select the content in the context menu - OT.)

    2 delete the files 'googlemap.html' and googlesearch.html

    iPhoto no longer crashes, site does not work, but it doesn't bother me too much.

    Let me know if it works for you guys...

    Deletes two files "googlemap.html" and the googlesearch.html of iPhoto application bundle prevents the JavaScript running inside and causing the accident.  Log of course do the same thing. So it's pretty clear that something happened at the end of Google.

    There is a notch posted by user cotton-x that will let iPhoto 9 and earlier still use Google Maps for the purpose of the location.

    cotton-x

    16 December 2015 14:49

    Re: iPhoto 11 - problems with Photo locations

    in response to Paul Fisher

    YES!

    I did just the job.

    I'm on a macbook running white 10.7.5 with iPhoto 9.4.3

    Thanks to Paul, I got an idea. What happens if we had simply ignored Apple has expired API and used our own, private and free from Google. Turns out it works.

    Here's what you need to do:

    0 - quit iPhoto

    1. create a google account or use your own

    Console developers of Google 2 - access HERE

    3. create a project (any name)

    4 - turn on a Google Maps Javascript API

    5 - generate your own API key

    6 - go to the folder /Applications/iPhoto.app/Contents/Resources/googleMap.html

    7. change the googleMap.html (I used an application called TextWrangler)

    8 change the src ="http://maps.googleapis.com/maps/api/js?v=3 & client = gme-appleinc & sensor = false" > to this src = 'https://maps.googleapis.com/maps/api/js?key=YOUR_KEY_HERE& signed_in = true & sensor = false ">"

    9 - save your freshly edited googleMap.html

    10 - open iPhoto and enjoy.

    Take the Apple.

    Don't forget to make a backup copy of the iPhoto application before performing this procedure.

  • 'Check if set to True, then continue' - how to implement?

    Hello community LV.

    I am creating a VI that checks if a certain condition (in this case, only the wavelength that is off my monochromator is the correct value) is set to true, then continues and takes the action. I tried to use a combination of a business structure and a timed sequence (see screenshot - I'm an autodidact and a newbie so sorry if it's a stylistic disaster), but the case structure requires that there is an entry from the case 'false' in the tunnel. Just that he do nothing if the case is false - I want all "false" entries would be added to elements of the table 'sum' and spoil my data (right?), so I don't want that.

    Thank you!

    If you expect something to be true, it means that you must keep a loop and test the condition until it happens.

    Heard that you work with an engine displacement and a series of steps that involve certain expectations between the two, it looks like you should develop a "state machine" architecture  Search the forums on this topic.  There is even a model for him in LabVIEW.

    A state machine allows a sequence of events occur, but you build in intelligence, so that he will know when to switch to the next step, or when to return to the stage even (for example to measure something and check the new State), or maybe even go back to an earlier stage.

    I see that you have potential competitive conditions in your current code of how you use local variables.  In the loop just For, you're current wavelength reading in 3 different places and write about it once.  But you have a race between when a reading and an update occurs and when it is read in two other places. Not sure if you have an old current wavelength or wavelength of current newly updated at each iteration of the loop.  Just look at your code, I can't even tell which way you want it to be.

  • Retired HP Pavilion a6000n PC and can not find the driver for Network Card card do? Download Driver?

    Gradient of the Visa OS came with the PC for XP.  Installed new HD and partitioned drive so there is no pass file.

    I found that it is management of network integrated 10/100 Base-T interface but cannot find the manufacturer to use it Web site.  In addition, been

    playback ChipSet might need drivers or upgrade?  Don't know that much about this, but enough to get in trouble if

    I'm not "coached" through it all.  Low grade was the Visa MS HP accompanying MS XP Professional.                               Need a link or help find the Driver for the network card.

    Thank you.

    Thank you very much... which seems to do the job for letting me use the network card.  Once I installed the chipset you me too, my IE was able to get the net.  The only thing that happened that I wonder about, what I choose to accept or not something RAID, which I accepted and it seems to work with one small annoying side affect: I can't get Windows Update to run.  I get this error: 0x8024400a and I spent literally hours looking for and trying different solutions, which none have worked. Do you think that there is something that would change this Nvidia software which would cause that?   I get out to the internet OK and can go to any web page.  It runs a bit slow, but I thought it might be because I'm using a newly installed Win XP and it has only 2 SP.  My next step in getting this thing to work was to run Windows Update and anti-virus stuff set.   Any way, thanks again for your help.

  • I need the URL for the default home page so I can put it in my homepage protection, because all I get when I open the browser's "about"white."

    I'm going to hell to get just the URL for the browser/Firefox start page. I just did a recovery image factory and all I get after downloading and installing the Firefox browser a tab that says 'about white." I don't get the URL in the address bar so that I can put this URL in my homepage of protection (I use Advanced System Care ultimate). Once I get this URL and place it in the area of protection of homepage of my security software, I'll be ready to go, because I want to use Firefox as my default browser. I searched the frequently asked questions and asked the question in every way that I know, in English, and there seems to be no one there who can tell me just the URL of the start page. While I do not understand why it is so hard to get, I certainly need and would be grateful for a solution to this problem.

    It is actually called Subject: Home , but the only way to know would be if you were viewing the page and called to the top of the Page Info dialog... who, for future reference you can get using one of these methods:

    • Right click on a box empty page and select View Page Info
    • (menu bar) Tools > Page Info
    • Click on the globe or padlock icon in the address bar > more information
  • is it harmful to the laptop battery to turn on the AC for a long time?

    Hello

    Thank you for reading my post.

    Is - harmful to the laptop battery if I put the phone on during a long period on the current?

    Thank you

    Hello

    the answer is not simple.

    The Lenovo powermanager should do the job for you.

    Maybe you are able to load automatic loading in settings powermanager.

    I Don t know if the option in the new versions of powermanager is chosen as standard.

    Maybe it isn´t a switch or a checkbox, causing the Manager already does.

    But it won´t affect your battery when you leave it plugged in AC.

  • Just the total table in a narrative view

    I have a table view... I would like to see in a narrative view... just the totals for col1, col2, etc... Whenever I build using @1, @2... all rows with values are displayed... I want just the totals...

    Pls any help?

    Antonio

    You can add another more than 2 columns in the analysis by the sum (c1), (c2) of the sum and the sum of application of narrative view of the @3,@4 values to display these 3 and 4! also if you do not want that 3 and 4 columns to display! You can access the properties of the column and hide!

  • Hello! I already have an adobe photoshop and lightroom account that I used on my pc. My grandmother just renewed the account for Christmas and I'm trying to set up on my new macbook. He wants me to, well, buy it and it is not recognize tha

    Hello! I already have an adobe photoshop and lightroom account that I used on my pc. My grandmother just renewed the account for Christmas and I'm trying to set up on my new macbook. He wants me to, well, buy it and it is not recognize that I have an account in my profile. Help?

    Check your account indicates the subscriptions that you expect (and that the adobe, used in the next step id is correct) by logging in here and checking the status of your subscription, https://www.adobe.com/account.html

    then, if it's current, disconnect and then back to your client application using the adobe with the link above in cc id: http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

  • FS autohide toolbars does not, to hide the toolbars on the value and set to true, help browser.fullscreen.autohide?

    Basically, I guess when you go full screen mode, tabs and the search bar should hide automatically until I move my mouse to the top of the screen to the right? Well, this does not happen despite try the suggestions on other threads for example right click on an empty space next to the tabs and hide toolbars check (already verified on) and goes up to about: config and check browser.fullscreen.autohide is set to true.

    However, I have two other options which I think might be a clue as to the problem. There is an extensions.browser.fullscreen.autohide that is set to TRUE and extensions.fullscreen.noautohide set to FALSE.

    Is there an extension or add-on I could interfere? I have installed... session maybe Manager what could be?

    On the Mac screen mode works differently.

    You can try this extension.

Maybe you are looking for