Issues in parallel to computer understanding in Labview

In my project of data acquisition, I use strructres case in while loops to browse through my entire project. Some while loops are:

Producer loop

Loop of consumer

Acquistion loop

Loop recording and so on...

My procuder loop usually contains buttons which link to structure appropriate box in consumers via Enqueue message loop everything works fine until I have preform some "parallelism".

For example, if I press the run key that activates a case structure loop producer and subsequently activates a business loop of consumer structure and continues until it ends upward in an appropriate loop and continues to run in this loop.

Now, if I press the log button it goes through all the loops and ends in the loop, where it is supposed to be. Everything works very well.

Now the question, sometimes these just loops hang up somewhere. They don't send queues. They have simply continue the loop which was last run. More far by pressing the buttons on the GUI does nothing in the vi. I have no idea why labview behave like that. Sometimes it works if I press the button in certain sequences and sequence has no meaning, it was just trail and error. The error is not yet on the hardware side, as I have tested with simulation devices in MAX. I think that this happens mainly when I try to run the business structures in the same loop, but I that labview can make parallelism. What is your opinion on this situation?

Ashaironix wrote:

Well, that's business structures within loops if you take a look at the State of the image I posted. And I'm running "" two cases in one housing structure in the same loop ' and that's where everything hangs him up. "

And that's your problem.  Why two of your case must run at the same time?  If they really need to run in parallel, they should be in different loops.

Tags: NI Software

Similar Questions

  • status of the computer to run LabVIEW 8.6 remote façade

    Hello

    Is there any specific computer to run LabVIEW 8.6 remote panel?

    It's same as LabVIEW 8.6 run?

    Or I just need Internet access? how fast the Internet is to ensure the quality of the programming? Any fine version of web brouser? where could I find info relavent?

    Thank you!

    Cynitha

    The client computer would need the engine to run LabVIEW. The conditions for this are detailed in the LabVIEW 8.6 Release Notes. With regard to the 'speed' internet should be - that depends entirely on the amount of information that is sent. This KB article details some of the browser requirements.

  • Low configuration computer cannot run Labview real-time

    Hi all

    I'm a little confused when I run Labview in another computer. The application written by my laptop already worked well. Then I package it and installed on another computer.

    The application can run in this computer as well, but the waveformchart (to display the data) could not keep time real (about 5-6 seconds of delay).

    I tried to install the second computer, and he could run well as it did in my laptop

    So, I don't know where the problem was. I guess the computer configuration affect the speed of acquisition? (Because the first computer I installed was version and has a configuration below)
    (I used Arduino to get the data through processes with labview and analog pins)

    Please see and tell me what exactly is my problem?

    A few tips:

    -All operations that don't rely on the acquired data, their outside the while loop (for example some of the functions of filter design) because you probably don't have to do it once at the beginning

    -The LIFA Toolbox is no longer supported and has been replaced for a long time by the LINX Toolbox - you can consider using the Toolbox current taken in charge

    -Your loop at the top of the diagram does nothing - you take an array of 1000 points and index the elements in an array of 1000 points - so does not change the table - just straight through wire.

    -You may want to consider using an architecture of producer/consumer - write data to files is slow and can be slow down your loop (especially on an old hard drive!), if you put the data to another loop, you can write to file without slowing down your data acquisition.

  • How I replace perfectly my record excel sheet with ability of database? + General questions about computing distributed with LabVIEW

    Surprisingly, I'm almost finished with a full blown control-simulation application, that I've been working on for more than a year now, thanks in no small part of this community. The final step is to run on the simulations of k ~ 8 and be able to meet a simulation and overall statistics on performance. Each simulation is taking about 6 minutes of real time to run (~ 2 seconds of real time per hour of simulation time, valid for 7 days of simulation), as we seek to about 800 hours of your time to simulate. I have 5 computers available and a raspberry 2 Pi these simulations on, I'm looking to set up a kind of compute cluster at the end in about 2 weeks.

    The ability of current logging is sketchy; I got about 40 columns of data, and they are written in a spreadsheet with a .xls format tabs-delimited. This works very well for individual simulations, but it would be quite heavy to deal with if I had more than 20,000 of them. I think this must be done with a relational database sort, but my experience with databases is very limited, especially then, when it comes to LabVIEW. Here are my questions:

    -Can I create a kind of master-slave configuration where a computer (and probably the Pi) keeps track of the simulations are complete, which are running, and who have never run? Computers slaves ask for simulation settings, and IP would give them to him.

    -How should I take care of the database? Each simulation is about 500 k in .xls format, it's about 5 GB of data in all. Computers slaves synchronization from time to time to take care of the redundancy?

    -How can I refine my memory + General fresh disk I/O? How can I know which items from my point of view most of them?

    -Do you have suggestions for the implementation of clusters of databases relational/computer with LabVIEW?

    I have attached a picture of my configuration of logging + the overall structure of the application. It is a state machine with a structure of the event for the interruptions.


  • With the source on computer with no Labview distribution

    I'm doing my 700w application. I created an executable file from the main application that runs on a computer with no software of Labview development on it. In this application, I can run the screws which are located on the hard disk in separate folder (sources), or that I have to build an executable for each module?

    What do you call others live? If these screws are already called in the application itself, then they would automatically be enrolled in the executable when you generate them.

    If these are screws that are based on the computer where you run the executable file, you can then run the screw by using VI Server calls in the executable.

  • issues running in another computer vi

    Hello

    I finished a vi (labview 2009) and converted to .exe file run in another computer.

    I installed the runtime 2009 and also drivers for usb845x (the vi uses this data acquisition) and when I pluged the acquisition of data windows (xp) says this new device discovered, I press install the drivers and in a few seconds, it indicates that the driver is ready to use.

    The problem is her bicha DAQ ready to use again.

    When I run the exe file nothing happens, but if I run it on my computer everything is wonderful.

    I did several reboots after each installation, but nothing.

    Does anyone have any suggestions?

    Thank you

    Hello

    How do you choose your DAQ hardware in your application. Perhaps it has another name on the other pc.

    Mike

  • ID card of measurement computing DAQ using LabVIEW

    Hello

    Use card 1608FS USB with LabVIEW. I'm trying to find a way of checking the connection card when my application is initialized. I tried to use GetBoard.VI, but it gives the same answer, even if I remove the card in the port. Any idea on how to detect if the card is connected or not?

    Thank you

    Anil

    Hi Anil,

    Underlying InstaCal driver of MC allows logic card numbers to assign 0 to 99.   You can call GetBoard.VI for each number of the logical map that you anticipate may be used, which (as you pointed out) will get the name of the Board of Directors of InstaCal.   If the returned string is empty, the error returned is 1, then there is no Board configured in InstaCal for this issue of the logic board.   However, as you said, if the physical Board is not present in the system (like a USB on Board having previously set in InstaCal but currently unplugged or not powered, you will get the error = 0 and you will always have the string name.

    So, to check if a card is really installed in the system, since the MC driver has no function equivalent to "is actually this Council?", you should try to perform a physical read to the Commission, then call TIN.VI (temperature), AI.VI (voltage) or DIN.VI (digital). If the returned error is = 0, then the Council is present.  If the error code is 1, the Council is not present.  If the error code is another number, then the test is somehow invalid (for example, ask to perform a function that is not supported on this board model, or on a port that does not exist on the map or the channel number).

    Brent

  • issues of data type of waveform in labview

    Hello! IM creating an osciloscope in labview, but im having problems try to get a few items in waveform.

    I need to get items such as the XSCALEMAXIMUM to the type of waveform data (dark brown) not on DBL (orange).

    I already watch every single video on youtube and also gone thorugh many forums. but I still don't know how to get the data type of waveform elements.

    When I give graphics right click on wavefirn and select Create > property node > Y sacle > range > all items, if what I get

    but I need for this .

    This is what im trying to do im I can't see any conversion attempt.  then TI loks like its an option that I have not available or so.

    helpe me please!

    If you connect a waveform to a graph and then create a node property, you will get the type of waveform. If you have a connected DBL and create a node property, you will get the type DBL. Simple as that.

  • find idle computer time using labview

    Hello...

    My process is based on Labview. It tests the process based on the vision. I don't want ON the continouesly of the machine, I planned to stop the machine when my PC is idle. To do this, I want to know how to identify the time of inactivity system using labview. So that I can stop the machine when the process does not work.

    Thank you.

    Assuming you are using Windows, you must use the Windows GetLastInputInfo API function that will give you the time.

  • is equivalent of LabVIEW player - possible to run a vi on a computer without complete labview installed using free software?

    Hello

    Neither affirm that labview player is no longer exist, is there an alternative that will allow finishes vi to run by using the pc without the complete installation of labview.

    I have a full version of labview 2010 on my laptop using one of 5 licenses available at my place of work. All 5 licenses are now being taken, but I would like to run finished vi on other laptops. Surely, I need not to buy another copy of labview or more licenses to run VI finished, requiring no modification.

    Thank you

    Andy

    Is it not the exe file generator included in complete Labview?

  • Issues with Dell desktop computer wireless and D-Link wireless network card. Only able to get wireless access by checking "Use Windows to configure my wireless network". This kind of file sharing impossible.

    original title: can't see the computer on wireless internet!

    I hope that's not too much detail, but I would like that the sequence of events to be clear...

    I have a Dell desktop computer that's probably six or seven years now.  It did not come with a wireless card, so I bought a DLink router and combo card wireless, install both with the DLink software.  It works beautifully.

    Later, we through my rep AT & T DSL, I got a Motorola modem/router with wireless capabilities.  I had plugged directly on my computer Dell desktop and moved to a Dell laptop DLink wireless receiver.  No problems.

    The Dell laptop is dead and the DLink receiver has not been used for a long time.  Family of my daughter moved to our place, and I have connected his desktop computers and laptop to wireless internet, using the Windows Connection Wizard.  Still no problem.

    I got a new ASUS laptop, I also linked using the Windows Wizard.  STILL no problem.

    Now, here's the problem comes.  I moved the Dell desktop computer, connected the DLink wireless receiver to it and I am able to get wireless access ONLY when I go into the properties of PC, click the wireless networks tab and check the "use Windows to configure my wireless network" box.  Then I can connect correctly, but I don't see this computer on my wireless network.  Bad luck... because I want to be able to access share files.  When I try to connect using different assistants of Windows, I get a message to the effect that, if I used another software to connect to the program, I can't use the Windows Wizard.

    So, what can I do to remove the original configuration of DLink completely and to connect to my wireless network using the wizards in Windows?  I uninstalled the software of DLink, but it seems to have no effect at all.

    BTW, Dell desktop computer is running XP, office computer of my daughter is running VISTA, and two laptops are equipped with Windows 7.  I can see all the computers on the network with the exception of the original Dell desktop computer wireless.

    Any help would be appreciated!

    Hi Joe and DonnaLoth,

    The network will have to be changed to allow the computer Windows XP join a workgroup.

    How to change a computer name, join a domain, and add a computer description in Windows XP or Windows Server 2003

    You can also read the following article.

    Networking of computers running different versions of Windows

  • Key issue Fn HP for computer laptop 15-d006sp

    Greetings.

    I've had this computer for about a week, so I've always had this 'problem '. In the latest laptops, I had, when I pressed the Fn key, combined with one of the keys 'fx' (f1, f2, f3...), it performs a certain action displayed in the key I'm pressing as raise or lower volume/contrast/change screen if I had more than a plugged screen, same print screens or wi - fi.

    Well, then, the case is, in this laptop, it works at the opposite of the above. This means that my Fn key activates the keys of "fx". So, this means for example that when I'm browsing the internet and I want to refresh a page, I have to press Fn + f5. Or if I want to close a window I have to press Alt + Fn + f4. This means also I don't have to press Fn in order to increase the volume, I just need to press a key.

    Now, the question is, I am able to make it work like the old laptop, I had? I find more useful this way since I use the keys "fx" a lot for the game and I'm more of a browser of keyboard than a mouse + keyboard navigator.

    Thanks in advance!

    Hello

    Shut down the laptop.  Tap away at the esc you key start Notepad to open the Start Menu.  Select the Bios (usually f10) option, and then change the figure in the document at the following link.

    http://support.HP.com/us-en/document/c02035108

    Kind regards

    DP - K

  • Issue synchronization from old computer to new

    I used FF 27 or 28 and created a synchronisation on that account to all my stuff. Then I had to reinstall my Windows and thought I can get all my stuff on the sync account, but for the new instance of Windows, I installed the latest version of FF that is #29 and I can not connect to my sync account more - he says "account unknown." But my account is able to log in here: https://account.services.mozilla.com/ how can I pick up all my old favorites and passwords of the sync account? I know that from my account username and password, but obviously I don't memorize the recovery key and I didn't know that I had a.

    Tyler has posted a link to the instructions of the newSync update. If you can't follow this target due to a re install OS, I don't know how we can help you.

    You have all the other machines connected to this sync account?

    If this isn't the case, Sync was not intended to be used as a 'cloud' for a single machine. The system and the process of upgrading to the new version of sync is not configured to run as you try to use it.

  • Hello.. I really don't understand how labview can be a server, can you explain and give me some examples with steps on the way to the labview as a server? Please...

    NN

    You are confused with ActiveX Server. ActiveX is the ability to use functions from other programs, it has nothing to do with the server.

    Just as Excel has done an export ActiveX can for example generate you a DLL for other programs to use.

    /Y

  • Startup issues on Windows 7 computer after updates of registry security.

    Uninstall AVG, then. I am erasing Virus Vault stuff with her.

    But wait, this means it that I'll be stuck with spybot as my only protection if I can have only one anti-virus application? Are you sure I won't need Tea Timer?

    And thank you very much, I must say that you are the most useful person, that I went about this all day - the best part is that you don't try to sell me a 200 dollar fix and rather try to help me.

    Edit: I just noticed that I have Windows Defender. I get it updated and put in place now. Can I still get Microsoft Security Essentials in addition to this and keep Tea Timer off without getting into trouble?

    Spybot is an anti-spyware application, not an antivirus application.

    Trust me: you're not the kind of user who must have the active Tea Timer (no offense).

    In fact, you could even make a dump Spybot, too, given that Windows Defender (another anti-spyware application) is included by default in Win7:http://windows.microsoft.com/en-us/windows7/Using-Windows-Defender

    You are welcome & thank you VERY for your comments! It really made my day.

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

Maybe you are looking for

  • How to set night mode

    I am puzzled as to how I can configure firefox on night mode.

  • Can I add a description to a photo?

    Hello I have a MacBook Pro and I use some Photos V1.3. Since he has changed, I work how to do anything on this subject! Does anyone know how to add a description to a picture please? Thank you Rachel

  • No noise from XPS L502X

    The sound of my laptop no longer works and I don't know why. I looked through many settings that I could and cannot diagnose the problem. Helmet shots work perfectly well and reading devices show that his plays, but nothing doesn't come out. Any sugg

  • Smartphones BBM blackBerry problem

    I used to be on a former rate (Tesco) and I had not all services of blackberry, but for some reason, I went on bbm and entered a random name and what not, even if I knew that I would not work (stupid, I know) I have blackberry services on my new tari

  • Homegroup - how to link emails

    I have a PC and 2 laptops connected by a home group.  Each unit is related to my e-mail accounts.   But if I read an email on my PC and then remove enamel why is it it still shows in the Inbox of your laptop?  For example, at 5 pm, I have read and de