Problem with LEDs to keep the light

Hello

I started to learn the Labview from my own account, now, I'm changing a software in Labview to move 3 Motors, only that I had a problem, I tried using 2 round LEDs for each axis (a when the engine is moving in the positive direction) and the other on the negative.

So I have like 6 LEDs, now, the real problem started when I need to keep the LEDs on, I mean for example I push on the positive (Eixo - X) LED lights, and in a few milliseconds, it turns off. But what I need, is that if I press a button the corresponding LED should keep on until I pushed the other. I don't know how can I do to the Structure of the box where these leds.

I added the part of the game when I try to add this feature, can hope someone can explain to me a little or even help me to what I do.

Thanks for any help

It is not hard to do what it seems you are trying to accomplish. Did you go through the tutorials online?

A simple way is to reach your goal is to have the values for LEDs in a shift register. Then you write your logic (a structure of the event would be easier) for RS data change only when the operator presses a button. If there are no presses, the data is not changed.

Mike...

Tags: NI Software

Similar Questions

  • my computer will not install itunes 10.5, it tells me "Setup has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2330.

    original title: Itunes problem

    my computer will not install itunes 10.5, it tells me "Setup has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2330. "What should I do?

    Contact the manufacturer (Apple) of the application (iTunes) you are having problems with.

    Uninstall all previous versions, try to download (re-record not running) and then do a right click on it and RUN AS ADMINISTRATOR.

    (Vista 32-bit or 64-bit)?

  • Problem with Windows Update after the new installation of Windows 7 Pro the Lenovo ThinkPad X 200

    I'm trying to do a fresh install of Windows 7 Pro on a Lenovo ThinkPad X 200. The product key is easy to find on the sticker of the ThinkPad. However, the version of Windows is hidden (for example, I can't check that my ThinkPad had originally installed Windows 7 Pro). I was able to install by using a Pro Win 7 SP1 CD ROM I bought for another installation. I used the ThinkPad I was trying to make the new facility on the product key. I was able to activate the Windows 7 Pro using the phone call and my cell phone. I checked the activation! However, I have problems with Windows update. The product key may be a different version of Windows 7. If so, why did it install and activate OK? Y at - it a fix for this problem or I have to buy a new version of Windows 7 Pro? Please note that I have not yet installed all drivers Lenovo ThinkPad as I can't seem to install correctly. Thank you!

    Since the issue is updated to Windows, it is not a product number key.

    You can reset the Windows Update components by running the Fixit on this page. But if there is malware present, she will continue to reset the connection to the update servers:

    How to reset the Windows Update components

    http://support.Microsoft.com/kb/971058

    Suggest you download and save the Fixit. Then configure the system before the clean boot by running:

    How to troubleshoot a problem by performing a clean boot in Windows Vista/Windows 7

    http://support.Microsoft.com/kb/929135

    Once the Fixit has been downloaded and the system is started in the pure State, check that the native Windows Firewall is now on if a 3rd party firewall has been used previously. Now run the Fixit and choose the default mode. Restart once it's done and see if the system can be connected to the update servers. If he can't, then rerun the Fixit and choose aggressive mode. Turn it back on when he finished the race and updates.

  • Problem with silverlight download, download the error code 2104.

    Original title: problem with Sliverlight download
    get the error code 2104. tried to uninstall and reinstall

    Hello

    Thanks for the reply.

    We are pleased to know that the problem is solved. Please do not hesitate to answer, in the case where you are facing in the future other problems with Windows. Please contact the Windows community.

  • I have problems with my application of the java language.

    I have problems with my application of the java language. It will be open only for about one second, and it won't let me write all programs, it looks like the command prompt when opening. what the * is underway and what can I do to solve this problem.

    Hey Kevin,

    The description of the problem seems a little unclear and I wish I had a better understanding before you start working on it.

    I would really appreciate if you could answer the following questions:

    1. is the specific question of the application of the Java language?

    2. did you of recent changes made to your computer before the show?

    3. you receive an error code or message?

    Please provide us with more information on the specific question to help you to fix as soon as possible.

    If the problem is specific to the Java application, then I suggest you to contact Java support from the links below:

    http://www.Java.com/en/download/support.jsp

    Java Help Center:

    http://www.Java.com/en/download/help/

    Your response is very important for us to ensure a proper resolution. Please get back to us with the information above to help you accordingly.

  • I have problem with value NULL when the use CASE statement please help this question

    I have problem with value NULL when the use CASE statement please help this question


    Table: digital_val

    SNO cl C2

    1 San1 11

    2 22 San2

    Actual result: expected to A         B

    A            B                                                                           11        22

    11 NULL

    22 NULL



    query:

    Select case when c1 = "san1" then c2,.

    case If c1 = "san2" then c2 B

    of digital_val

    I'm more curious why, when you select 2 rows, you expect a result of row?

    WITH digital_val

    AS (SELECT 1 AS 'Sno', 'San1"C1, c2 FROM DUAL 11)

    UNION ALL

    2 SELECT AS 'Sno', 'San2"C1, c2 FROM DUAL 22)

    SELECT CASE WHEN c1 is "San1" THEN END AS A c2.

    CASE WHEN c1 = "San2" THEN END AS B c2

    OF digital_val;

    With no other input, if you select 2 rows, you get 2 rows.  One of the other solutions use a max function, but is this really what you want, does not specify?

  • Bridge does not open? Initially the 8.1 Win & problem had started. Have now earn 10 & still a problem with not to open the bridge?

    Bridge does not open? Initially the 8.1 Win & problem had started. Have now earn 10 & still a problem with not to open the bridge?

    Hi Matthew,

    If you use Bridge CC, update to the latest version 6.2. Adobe Bridge CC 6.2 version now available! Adobe content corner

    1. Please, do a right-click on the bridge on the desktop icon and select "Run as Administrator".
    2. If this does not help, reset the Bridge preferences and then try it.

    Steps: -.

    Start Adobe Bridge, and immediately press Ctrl + Alt + Shift (Windows) or command + Option + shift (Mac OS down) until the dialogue box reset settings appears.

    Select all three options - reset preferences, reset Standard Workspaces and all miniature Purge Cache - and then click OK.

    Reference: troubleshooting errors, freezes | Adobe Bridge | Windows, Mac OS

    Let us know if it works.

    Kind regards

    Assani

  • problem with bind variables in the SQL query view object

    Hi all

    I use JDev 11.1.2.4.0.

    I have a problem with bind variables in the SQL query view object.

    This is my original SQL

    SELECT sum(t.TIME) , t.legertype_id
    FROM LEDGER t
    WHERE t.nctuser_id = '20022' 
          AND to_char(t.insertdate,'YYYYMMDD') in ('20130930','20130929')
    group by t.legertype_id
    

    In my view .xml object query tab, I am writing this

    SELECT sum(t.TIME) , t.legertype_id
    FROM LEDGER t
    WHERE   t.nctuser_id = '20022'
        AND to_char(t.insertdate,'YYYYMMDD') in :dddd
    group by t.legertype_id
    

    Davis here is a variable of Type liaison: String, updatable and necessary.

    I try to deal with Davis as ('20130930 ', ' 20130929') hoping the view object, run as my original SQL.

    But failed. The view object retrieves 0 line after that I run.

    Why?

    Thank you! ('2original SQL0130930', '20130929') ('20130930 ', ' 20130929')

    A variable binding cannot be used as this is why you must use years table. Check decompilation binary ADF: using oracle.jbo.domain.Array with ViewCriteria to see a solution.

    Timo

  • Problem with LED and the comparison.

    Hi everyone, I have trouble with this application, so I hope that someone could give me some advice. Im going to explain as best I can...

    So in this VI, I have 4 signals that I need to compare them, I need the smallest and largest value, so I used a restructuring of business to do. I do 2 groups to be compared, and then the result of each one of them receives another comparison to get the values that I want. My problem is, for the largest value of all the 4, I need an LED to indicate what is most great, and something I have is in my attachment. I take my first group two and put 2 LEDs, so when the comparison occurs, you turn and the other goes OUT, (which indicates that one is the largest and the other is the smallest), and again the same thing in the other. But as you can see, when running I have two LEDs indicating, in every comparison, which is great, but I need a LED lights up when this value is present. and the other three offshore. I know that work in this way, the result I m going to get, but I can understand how to continue with the result of this step, I need.

    As far as I know, there is no way to compare more than 2 signals at the same time, so I tried to merge the signals, but this didn t help me at all (maybe is something that I do not understand how to merge works, so if anyone has an example on how to do things, i´ll check).

    All data are dynamic, a NI 9237, but since its a laboratory, I can't get a lot of time trying different solutions, so I did a test TDMS file and change the DAQ Assistant for a reading of file of the measure, but the rest is the same.

    Use 'antenna bundle' to build a picture of your values of 4 controls. Return the index of the max and min elements, use 'table max and min. From there on, it should be a wink to indicate the corresponding settings.

  • Problems with led variable removed from the database

    Hello

    I have problems with the following code, it draws on a database to add to a list later, player names, however outside of the statement where the name of the player are assigned they are not recognized i.e. the bits where I wrote [CODE] trace ("1these is the name of the player 1 is + player1Name"); [/ Code] etc. There are also 4 variables to do with a number of keys and as far as I can see that I am dealing with the same, declaring them upstairs, assigning them values and when I print them out later that they are beautiful, the only difference I see is the type of variable are about these things.

    I initialized the variables at the top, I tried to make it global, making [CODE] var player1Name: String; [/ Code], it seems a simple problem, but I can't understand it...

    Here's the relevant part of the code:

    [CODE]
    var stage3player1keyCount = 0;
    var stage3player2keyCount = 0;
    var stage3player3keyCount = 0;
    var stage3player4keyCount = 0;

    var player1Name ="";
    var player2Name ="";
    var player3Name ="";
    var player4Name ="";

    It reads in the current state keys players
    myDataP = new LoadVars();
    myDataP.load (" http://www.elementalive.net/keyDown.php");
    myDataP.onLoad = function() {}
    stage3player1keyCount = myDataP.info;
    trace (stage3player1keyCount + "is the number of player one keys");
    }

    myDataQ = new LoadVars();
    myDataQ.load (" http://www.elementalive.net/keyDown1.php");
    myDataQ.onLoad = function() {}
    stage3player2keyCount = myDataQ.info;

    trace (stage3player2keyCount + 'is the number of keys of Player 2');
    }
    myDataR = new LoadVars();
    myDataR.load (" http://www.elementalive.net/keyDown2.php");
    myDataR.onLoad = function() {}
    stage3player3keyCount = myDataR.info;
    trace (stage3player3keyCount + 'is the number of keys of player 3');
    }
    myDataS = new LoadVars();
    myDataS.load (" http://www.elementalive.net/keyDown3.php");
    myDataS.onLoad = function() {}
    stage3player4keyCount = myDataS.info;
    trace (stage3player4keyCount + 'is the number of keys of player 4');
    }
    This.stage3transferKeyList.SetStyle ("fontSize", "20");

    myDataT = new LoadVars();
    myDataT.load (" http://www.elementalive.net/wait1a.php");
    myDataT.onLoad = function() {}
    player1Name = myDataT.info;
    trace ("is the name of the player 1 s" + player1Name);
    printName (player1Name1, 1);
    }
    myDataU = new LoadVars();
    myDataU.load (" http://www.elementalive.net/wait1b.php");
    myDataU.onLoad = function() {}
    player2Name = myDataU.info;
    trace ("is the name of the Player 2 s" + player2Name);
    printName (player2Name, 2);
    }
    myDataV = new LoadVars();
    myDataV.load (" http://www.elementalive.net/wait1c.php");
    myDataV.onLoad = function() {}
    player3Name = myDataV.info;
    trace ("this is the name of the player 3 s" + player3Name);
    printName (player3Name, 3);
    }
    myDataW = new LoadVars();
    myDataW.load (" http://www.elementalive.net/wait1d.php");
    myDataW.onLoad = function() {}
    player4Name = myDataW.info;
    printName (player4Name, 4);
    trace ("is the name of the player 4 s" + player4Name);
    }

    trace ("1these is the name of the player 1 is + player1Name");
    trace ("1these is the name of Player 2's + player2Name");
    trace ("1these is the name of the player 3 is + player3Name");
    trace ("1these is the name of the player 4 is + player4Name");
    [/ CODE]

    Thanks for any help in advance, it is much needed and appreciated.

    Louise.

    I got it working! Thank you very much! You saved his life. It will take that I remember this problem... because I think he could source a few other hiccups throughout our game. You made my day!

    Thank you
    Louise

  • Problems with MSN messenger on the Satellite A200-175

    Hello world

    I have a Toshiba Satellite A200-175 with Vista home premium OEM Act.
    I have this laptop for a year and a half. Right from the beginning I had many problems with MSN messenger. Whenever I'll have conversations, or MSN messenger is just on, it gets bogged down.

    I tried everything to fix the problem:
    -removed MSN and downloaded again
    -tried other versions of MSN
    -tried MSN with and without messenger plus!
    -removed Norton anti virus (a human from a computer store told me that might be the problem)
    -installed new my computer everything
    -Make a new email address (this time it @live instead of @hotmail)
    -stop the Starter sets

    But nothing helps!

    I'm desperate...
    Please, can someone help me?

    Good bye

    I see many things possible were tired and I have o say I would try the same thing, but I lack one important thing;

    Have you installed updates for Vista together? I mean there are a lot of new MS patches and fixes available and new in SP1 came out too.

    So I think you should keep the OS always up-to-date to ensure a good working order

  • Re: Problems with Win7 boot on the new Satellite L670-17 x

    Hi guys,.

    Three days ago I got my new Toshiba Satellite L670-17 x. Installing Win7 was not a problem, but now (after the start of the third or fourth) I suddenly a big trouble with the operating system.

    When I turn on my laptop, it loads up until I can see the Windows loading screen. Then - both - the laptop stop working... I can only see the loading screen, but nothing happens. Turns off the light litte to the frontsite (which shows that the specifications of load/work). No error message.

    I want to avoid using the Toshiba HARD drive recovery, because I saved (important) documents on the desktop (I know... not very smart). I ask you to help me with my problem.

    (By the way: I already tried Windows repair system, System Restore memory diagnostic tool and start Windows Mode without failure).

    Thank you very much for your answers!

    If you cannot boot OS in safe mode, that, in my opinion, you have a big problem. I'm afraid only installation of HARD drive recovery will help you in this m.
    The question is what to do with this data.

    Perhaps you should remove the HARD drive and connect it to another computer to have full access to all of these external data. Copy them, replace the HARD drive in your Satellite and install the OS by using HARD drive recovery option.

  • Problem with my file in the SupportVIs directory found deployment package and not the Destination directory specified

    I have a little problem with a package of teststand.  I wrote a few screws to provide a wrapper around a custom DLL to provide the error handling. These screws use the following call library functions as indicated below.

    After installing my application, some of my screws are my DLL custom in the correct destination directory and other parts that are in the Directory Support screw which creates the deployment. The problem is that the DLL must be installed in a specific directory, because it uses the other files that are in this place-related directories.

    Currently I work around this problem by running the installer, and then manually delete the DLL to the folder of the SupportVIs dirctory.

    Does anyone have any suggestions on how to fix this?.

    Hey,.

    So, what seems to happen, is that your VI sees that DLL as a dependency and wants to keep with her VI.  I can't find a way to the deployment tool to do what you ask, however, here are two ideas that could solve your problem in other words.

    Do you need to have your DLL in the precise place?  If this is not the case, why not in your VI on your call library function, check specify a path on the chart.  Then, on your diagram, you generate a path relative to the location of the VI.  In this way, it's okay if your DLL is located in the support of screw

    Another idea would be after that installation is created, you can create a batch file that runs the installation and then automatically delete the DLL support VI place.

  • Problems with (films) coating of the lens on the surface of the canon lenses.

    I read many comments here about how to clean the surfaces of the lens... I wonder if canon films that they promote as do wonderful things for development are not so great for cleaning? I bought an expensive lens not for long and cleaned with either lens clothing tending my opthomologist after my appointment to look for my glasses... I collect these sweet little squares, whenever I have an appointment to the eye because they are made for the purpose of cleaning of lenses... Houston is a very humid climate and after doing some night shots the lens seems sticky and so I polished with the soft cloth... I have not added any sort of cleaning liquid... but I noticed when I had finished there was a blue smear on the entire surface of the lens... Really? I have not used any more pressure than the kind of pressure that you can use to clean your glasses.  This bluish smears can be removed or is permanent damage to a dear surfface...? Now I must say that I didn't notice that this smear has affectd of my photos... I found one in post processing which presents a particular lighting problem which could be linked to the surface of the lens... Other people have had problems with the 'coatings', which are added to the surface of the lens? I would like to add at least two lens more... but I'm afraid to invest again if I rish damage the surface of the lens even Polish with a soft cloth?

    Well, I think because I became so addicted to photography... I can't stand that a week shoud go I'm not shooting and post processing... then the most important investment I did in a lens so far is 800 dollars... so as you say the investment of 50 million dollars for the protective lens cover is my best insurance...

  • A problem with your computer prevents the VAC system. You can not play on secure servers.

    Hello

    I have a same problem of the nomination and please help me. Steam gives me this error: https://support.steampowered.com/kb_article.php?ref=2117-ILZV-2837 followed all the steps and the problem is solved just at the moment 24 hours Max tried to change the Windows 8.1 Professional with the company 8.1 of Windows and the same error... at last, I found what the PROBLEM... Steam do conflict with the killer e2200 controller Gigabit Ethernet (NDIS 6 h 30) .

    Here is the spec of my laptop:

    Processor information:
    Vendor: GenuineIntel
    Processor family: 0x6
    CPU Model: 0x3c
    CPU Stepping: 0 x 3
    Processor type: 0x0
    Speed: 2494 Mhz
    8 logical processors
    4 physical processors
    HyperThreading: support
    FCMOV: supported
    SSE2: support
    SSE3: support
    SSSE3: support
    SSE4a: unsupported
    SSE41: supported
    SSE42: supported
        
    Network information:
    Network speed:
        
    Version of the operating system:
    Windows 8.1 (64-bit)
    NTFS: support
    Crypto Provider codes: supported 311 0 x 0 0 x 0 0 x 0
        
    Video card:
    Driver: NVIDIA GeForce GTX 860M

    The DirectX driver name: nvumdshim.dll
    Driver version: 9.18.13.4752
    The DirectX driver version: 9.18.13.4752
    Driver date: February 5, 2015
    OpenGL Version: 4.5
    DirectX card: NVIDIA GeForce GTX 860M
    VendorID: 0x10de
    Device ID: 0x119a
    Number of monitors: 1
    Number of logical video cards: 1
    No SLI or Crossfire detected
    The main screen resolution: 1920 x 1080
    Resolution: 1920 x 1080
    Main display size: 15.04 "x 8.46" (17,24 "diag)
    38.2 cm x 21,5 cm (43.8 cm diag)
    Main bus: PCI Express x 16
    Primary VRAM: 2047 MB
    Supported MSAA modes: 2 x 4 x 8 x
        
    Sound card:
    Audio: speakers (Logitech G35 Headset)
        
    Memory:
    RAM: Mb 16265
        
    Various:
    INTERFACE language: English
    Microphone: Not defined
    Media type: DVD
    Total disk space: 310220 MB
    More great free block on the hard disk: Mb 234051
    Date of installation of the OS: January 1, 1970
    Game controller: none is detected
        
    Software installed:
    Advanced SystemCare Ultimate 8
    Alienware command center
    Alienware on-screen display
    Hello
    Counter-strike: Global Offensive
    Dolby Digital Plus Home Theater
    EMSB
    Game Booster 3
    Google Chrome
    Update Google Helper
    Intel® Trusted Connect Customer Service
    Intel (r) components engine management
    Intel (r) graphics processor
    Intel(r) Rapid Storage Technology
    Intel (r) Wireless Bluetooth (R) (patch version 17.1.1449.356)
    IObit Uninstaller
    KMSpico v9.3.3
    Logitech Gaming Software
    Logitech Gaming Software 8,57
    Microsoft Visual C++ 2010 Redistributable - 10.0.40219 64 x
    Microsoft Visual C++ 2010 x 86 Redistributable - 10.0.40219
    Microsoft Visual C++ Redistributable (x 64) 2012 - 11.0.61030
    Microsoft Visual C++ Redistributable (x 86) 2012 - 11.0.50727
    Microsoft Visual C++ 2012 x 64 extra TIME - 11.0.61030
    Microsoft Visual C++ 2012 x 64 minimum - 11.0.61030
    Microsoft Visual C++ 2012 x 86 additional TIME - 11.0.50727
    Microsoft Visual C++ 2012 x 86 minimum - 11.0.50727
    NVIDIA 3D Vision Driver 347.52
    347.52 NVIDIA Control Panel
    NVIDIA GeForce experience 2.2.2
    NVIDIA GeForce experience Service
    NVIDIA Graphics Driver 347.52
    NVIDIA HD Audio Driver 1.3.33.0
    NVIDIA installation application
    NVIDIA LED Visualizer 1.0
    NVIDIA network service
    Optimus NVIDIA 17.12.8 update
    NVIDIA PhysX
    NVIDIA PhysX System Software 9.14.0702
    ShadowPlay NVIDIA 17.12.8
    NVIDIA Stereoscopic 3D Driver
    Update NVIDIA 17.12.8
    Updated NVIDIA
    NVIDIA 1.2.27 Audio virtual
    Overwolf
    Qualcomm-Atheros bandwidth control filter driver
    Qualcomm Atheros E220x killer drivers
    Qualcomm-Atheros Killer Network Manager Suite
    Qualcomm-Atheros Network Manager
    Realtek card reader
    Realtek High Definition Audio Driver
    SHIELD streaming
    SHIELD wireless controller driver
    ST Microelectronics 3-axis digital accelerometer Solution
    Start 8 menu
    Steam
    Surf protection
    Synaptics Pointing Device Driver
    TeamSpeak 3 Client
    5.21 WinRAR (64-bit)

    When I try to attach cs'a go with my ping wireless network is 200-250 :(((

    Please help me

    Thank you!!!

    Hello. I made this account just to meet you. I tried all the solutions, but my problem was solved after I uninstalled "iobit start menu 8 and iobit advanced system care ' completely and restart my computer. However, I'm also using Killer e2200 controller Gigabit Ethernet (NDIS 6.30) on my pc.

    Can you reinstall the driver of e-network killer and all iobit software uninstall your PC and tell me if your problem is solved? I will wait for your answer. Thank you.

Maybe you are looking for