MY first program in LabVIEW, please check it

This is my first LabVIEW , My program is about taking EEG signal and filter it and extrat theta and alpha waves
please could anyone  check my program
Attachments:
Simulated_EEGqq1.vi ‏1115 KB

So I would arrange all of the vis so that you minimize the number of bends in wires. Also consider using subvis when you have portions of code preforming the same operations. It looks like you extract a portion of your code and then do some statistics on that portion. Consider making a subvi that you can resue. Also check out the following
LabVIEW Programming Techniques - The Good, The Bad, and the Ugly
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
Chris C
Chris Cilino
National Instruments
LabVIEW Product Marketing Manager
Certified LabVIEW Architect

Similar Messages

  • How to program in LabVIEW to check if a vi exists in a *.llb file?

    This should be very simple, but I cannot find a way to do it. Can somebody help? Thanks.
    Ian

    if you want to do this in code then go to openG.org and download the commander you will get a host of file vi's that will do what you want. it is free and will also give you plenty of vi's to do lots of other things
    Joe.
    "NOTHING IS EVER EASY"

  • While trying to run it show error message : "The application or DLL C:\Program Files\Mozilla Firefox\sqlite3.dll is not a valid Windows image. Please check this against your installation diskette

    Just updated firefox. While trying to run it show error message : "The application or DLL C:\Program Files\Mozilla Firefox\sqlite3.dll is not a valid Windows image. Please check this against your installation diskette." Tried to download and install new firefox, but it alway show that the file is corrupt
    == Today ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)

    Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can skip the step to create a new profile, that is not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • I want to write a program in LabView then pass the test results to teststand to check if it pass or fail without displaying the test stand program,

    I want to write a program in LabView and create an execute but I want to be able to pass test results to test stand to find it the unit pass ar fail the test then save the data to a database. How would i go about it.

    What's confusing is your statement that you want to do this "without display the test stand program". You can minimize the TestStand UI to the task bar but if you don't want TestStand to be running, how can TestStand evaluate the result. Explain a little more please.
    In the message body of your post, you just say you want to create a LabVIEW exe and pass the results to TestStand. What I would recomend is that instead of an exe, you create a dll and use TestStand's DLL adapter to call it and return the results. TestStand will evaluate it and do the logging.

  • I want to send 10 bit ADC from PIC via serial communicaton. i send it separetly 8 bit first then the other 2 bit. how to program in labview to capture those two packet then combine it togother

    i want to send 10 bit ADC from PIC mCu via serial communicaton.
     i send it separetly 8 bit first then the other 2 bit (2 bit --> with zero at 6 bit from LSB).
    how to program in labview to capture those two packet and then combine it together
    so i have 10 bit in lab view
    thank you

    Close, but now quite. You need to specify to the VISA Read how many bytes to read, not how many bits. Thus, the input would be 2, not 16. It's also not clear why you're trying to use the "String to Byte Array". The Type Cast will give you a number based on what data type you wired. You're basically telling it how to interpret the string. In this case we're telling it to interpret the string a 16-bit value, so we'll get a 16-bit integer. I know you said you wanted a 10-bit, but you can't have that. You'll get a 16-bit with 6 bits set to zero. Note: I did not completely understand what you said so we may need to change this slightly, but we want to get the communication and reading collection working first.
    Also, since you seem to be setting this in a loop you probably want to monitor this or to collect the data. For that you need a shift register. See attached for a modified version of your attempt. You need to set the datatype to I16 or U16 based on whether the value you get from the PIC is signed or unsigned.
    Message Edited by smercurio_fc on 05-01-2007 02:28 PM
    Attachments:
    Read PIC.vi ‏21 KB
    Read PIC.png ‏7 KB

  • I created my first program-compiling error-help please

    hey there
    i just wanted my first program in java and here it is below with the eroor when i'm compiling it, i cant understand whats wrong:
    public class SquareArea {
         public static void main(String[] args); {
         float length;
         float width;
         float SquareArea;
         System.out.println ("Please enter length"+ length);
         System.out.println ("Please enter width"+ width);
         SquareArea= length*width;
         System.out.println ("The area of the square is" + SquareArea);
    The error is:C:\Documents and Settings\User\Desktop\SquareArea.java:5: missing method body, or declare abstract
         public static void main(String[] args); {
    ^
    1 error
    Tool completed with exit code 1

    There shouldn't be a semicolon between the ")" and the "{" near the end of that line.
    With that semicolon, you're basically defining an empty, zero-size main method, and then throwing a bunch of garbage after it. That's what the compiler thinks anyway. Remove that semicolon and it should compile OK.
    But it won't work super well, because you're not actually getting any input for length and width. It's just going to output this:
    Please enter length0
    Please enter width0
    The area of the square is0

  • Oct 10, 2011 2:13 PM  I downoland game Zombi Farma for free but I paid 239 dkk.     Here is answer from The Play Forge:        Hi Anna,  first of all, please check your receipt again,  if you've purchased anything else during the period it might appear as

    Oct 10, 2011 2:13 PM                                                                                                                                        
    I downoland game Zombi Farma for free but I paid 239 dkk.
    Here is answer from The Play Forge:
    Hi Anna,
    first of all, please check your receipt again,
    if you've purchased anything else during the period it might appear as if it's related to Zombie Farm (Apples receipts are a bit hard to read to be honest.)
    If this is indeed not the case and you have indeed not purchased anything from us, yet have been charged 239 DKK, there's obviously a big issue.
    However, we're not in charge of the money handled in purchases, as Apple has chosen to be the only one controlling this.
    As such you'll have to contact Apples support to get help with refunds.
    You'll find it at http://www.apple.com/support/itunes/
    We're sorry for any inconvenience this has caused you. :/
    Ana here is receipt from my email:
    Billed To:
                                       [email protected]
                                                       Anna Szczawinska
                 Arildsgard30  , sttv
                                           2700 Bronshoj
                          DNK        
    Order Number: M2M4K45SK5
               Receipt Date:           10/10/11
               Order Total: 239.00Kr
               Billed To: MasterCard .... 9754
    Item
    Artist
    Type
    Unit Price
                                                Zombie Farm, 50 Brains, Developer: The Playforge, LLC                                 
                                                                                                                          Report a Problem                                                                                                                 
                                               The Playforge, LLC                                       
                                               In App Purchase                                       
    239.00Kr
    Order Total:
    239.00Kr
                                                                        Please retain for your records
                  Please See Below For Terms And Conditions Pertaining To This Order.
                  iTunes Store
                  You can find the iTunes Store Terms of Sale and Sales Policies by launching your iTunes application and clicking on Terms of Sale or Sales Policies
                                Answers to frequently asked questions regarding the iTunes Store can be found at  http://www.apple.com/uk/support/itunes/store/                                                       

    The Zombie Farms game is free but "in App" purchases during game play are not. You are being charged for the purchase of "50 brains" not for the game itself.
    Note that if you purchased this game after entering your password, etc. there may be a period of time where someone can play the game and make purchases without needing to re-enter the password.
    Did you give your iPod to your children to play this game?
    Also, this is a user-to-user technical help forum you aren't speaking to Apple or Play Forge here. We are all just users like you here and can't issue any refunds.

  • Problem compiling my first program; Please Help me!

    Please HELP, what am I doing wrong?
    For over 5hours I have been trying to figure out how to compile a simple Hello world program using sdk1.3.1_02/j2re1.3.1_02 and I am getting the following errors: helloworld.java:2 cannot resolve symbol
    symbol : class string
    location : class helloworld
    cannot reolve the string symbol
    symbol : class out
    location : package system
    I want to program in java so badly but I am trying to get my environment set so that I can take off. To compile my first program has been a disaster!!
    This is my path:
    SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.3.1_02\BIN
    Thanks very much in advance
    ::(

    Java is case sensitive,
    use String instead of string. and System.out instead of system.out
    Sudha

  • Please check my VI and tell me if something is wrong.

        I tying to build and Simulate the dynamic
    response of first order system ,
    I'm new in labview , I think something is not as should  be.
    please check the attachment file and give me a suggestion or correct any errors that you see in the VI.
    Here are the instructions I followed
    y(n)= Δt       *    (  T
     * y(n-1)+x(n)  )
             T+Δt            Δt
    Where T is the time constant, x(t) is the input and y(t)
    is the output.
    Experiment 1, Simulate
    the dynamic response of first order system
    1.     
    Launch LabVIEW.
    2.     
    Create a blank VI.
    3.     
    The front panel should have at least an numeric
    control to input the time constant and the graph indicator to show the result.
    4.     
    Drop the “Simulated Signal” express VI and
    choose the signal type as square wave, frequency as 1Hz, sample frequency as
    1000Hz and number of data points as 500.
    5.     
    Use “Convert from Dynamic Data” VI to convert
    the data from the “Simulated Signal” express VI to single waveform data.
    6.     
    Use waveform function to extract the waveform
    data and the time interval of the waveform.
    7.     
    Use FOR loop to iterate the output data of the
    first order system.
    8.     
    Use the formula node to program the algorithm based
    on equation 3.
    9.     
    Use waveform function to create the waveform
    data from the output data and the time interval of the input waveform.
    10.  Use
    “Build Array” function to create an array that consists of the input and output
    waveforms.
    11.  Use
    graph indicator to show the input and output waveforms.
    12.  Use
    “Write LabVIEW Measurement File” VI to save the data in a file.
    13.  Run
    the VI using the following time constants: 0.01, 0.03, 0.05, 0.07 and 0.1, and
    save the results to files.
    Attachments:
    Untitled 1.vi ‏66 KB

    Hi Neoforce,
    If you want i can give some help doing that program. Yours it's completly confuse. You really are new to labview.
    So, if can explain what you want. I can try to do the program for you.
    y=(dt/(T+dt))*((T/dt)*y1+x); it's the expression. But explain the inputs dt, T,X and y1.
    What is the result that you expect to see in the graph? It's y(x)?
    Software developer
    www.mcm-electronics.com
    PS: Don't forget to rate a good anwser ; )
    Currently using Labview 2011
    PORTUGAL

  • Need help with threads?.. please check my approach!!

    Hello frnds,
    I am trying to write a program.. who monitors my external tool.. please check my way of doing it.. as whenever i write programs having thread.. i end up goosy.. :(
    first let me tell.. what I want from program.. I have to start an external tool.. on separate thread.. (as it takes some time).. then it takes some arguments(3 arguments).. from file.. so i read the file.. and have to run tool.. continously.. until there are arguments left.. in file.. or.. user has stopped it by pressing STOP button..
    I have to put a marker in file too.. so that.. if program started again.. file is read from marker postion.. !!
    Hope I make clear.. what am trying to do!!
    My approach is like..
    1. Have two buttons.. START and STOP on Frame..
    START--> pressed
    2. check marker("$" sign.. placed in beginning of file during start).. on file..
         read File from marker.. got 3 arg.. pass it to tool.. and run it.. (on separate thread).. put marker.. (for next reading)
         Step 2.. continously..
    3. STOP--> pressed
         until last thread.. stops.. keep running the tool.. and when last thread stops.. stop reading any more arguments..
    Question is:
    1. Should i read file again and again.. ?.. or read it once after "$" sign.. store data in array.. and once stopped pressed.. read file again.. and put marker ("$" sign) at last read line..
    2. how should i know when my thread has stopped.. so I start tool again??.. am totally confused.. !!
    please modify my approach.. if u find anything odd..
    Thanks a lot in advance
    gervini

    Hello,
    I have no experience with threads or with having more than run "program" in a single java file. All my java files have the same structure. This master.java looks something like this:
    ---master.java---------------------------------------------------
    import java.sql.*;
    import...
    public class Master {
    public static void main(String args []) throws SQLException, IOException {
    //create connection pool here
    while (true) { // start loop here (each loop takes about five minutes)
    // set values of variables
    // select a slave process to run (from a list of slave programs)
    execute selected slave program
    // check for loop exit value
    } // end while loop
    System.out.println("Program Complete");
    } catch (Exception e) {
    System.out.println("Error: " + e);
    } finally {
    if (rSet1 != null)
    try { rSet1.close(); } catch( SQLException ignore ) { /* ignored */ }
    connection.close();
    -------end master.java--------------------------------------------------------
    This master.java program will run continuously for days or weeks, each time through the loop starting another slave process which runs for five minutes to up to an hour, which means there may be ten to twenty of these slave processes running simultaneously.
    I believe threads is the best way to do this, but I don't know where to locate these slave programs: either inside the master.java program or separate slave.java files? I will need help with either method.
    Your help is greatly appreciated. Thank you.
    Logan

  • Java program in XP - Please Help

    Hi, I am not sure if I am in the right fourm. I am not a developer, but a network engineer trying to help out my wife. My wife uses a java program to monitor the company she works for web site, which is not linked to a web browser. When she received the java program, it came with Java 1.2.2. Our PC had Windows 98 installed. I purchased a new machine, with Windows XP on it, and installed the java program and JRE on to it. The program does not work. The programmer who wrote the program was fired a few months ago, so I started looking through the internet, and the Sun fourms for a solution. First, the XP machine does not have Microsoft VM on it. Second, I upgraded the java to 1.4.1_02, following the instructions, still with no success. There was a suggestion to dual boot with Windows 98, but I really do not want to do that. What happens is - when you log in to the program, it just freezes. It does not go into the server. Any help is greatly appreciated.

    Possible reasons for the program hanging up
    1) The version of the VM on the machine is not correct.
    2) Even if the version is correct and correctly installed, can you please check whether the PATH and CLASSPATH variables are set correctly on the machine where you are running the program.
    3) I use WINXP as well with the latest version of VM downloaded from Sun and NOT Microsoft.
    Hopefully this might solve the issue.

  • My first program in Java

    After I compile my first application using javac Welcome1.java
    when I try to run the pplication using java Welcome1
    I get this message
    Exception in thread "main" java.lang.NoClassDefFoundError: Welcome1
    Please if somebody can help me:
    This is my source code:
    // Fig. 2.1 Welcome1.java
    // A first program in Java.
         public class Welcome1 {
         // main method begins execution of Java application
         public static void main ( String args[] )
              System.out.println( "Welcome to Java Programming!" );
         } // end method main
    }     // end class Welcome1
    Thank you

    Try this
    go to c:\edit autoexec.bat
    type these lines
    set path=c:\j2sdk1.4.0\bin; // check the java folder name in c:\
    set classpath=c:\%classpath%;.;
    save and close DOS
    restart PC,
    now try the example
    Hope it helps
    Uma
    http://www.javagalaxy.com

  • Photoshop Elements 8. "Could not use Clone Stamp Tool because of a program error."  Please help.

    Photoshop Elements 8.  "Could not use Clone Stamp Tool because of a program error."  Please help.

    Try this:
    Open your picture file
    Access the clone stamp tool
    Hold down the ALT key on the keyboard and left click on the area from which you wish to clone, then release the ALT key, and click to place the pixels at the destination
    TIPS:
    It is a good idea to open a blank layer at the top in the layers palette, and do the cloning on this layer. Be sure that "sample all layers" at the top is checked. You can change the layer opacity if necessary
    Use the bracket keys next to the letter p on the keyboard to increase & decrease the size of the cursor
    Let us know  how you make out with the error message now.

  • Unable to reach Adobe servers, Please check firewall settings and try again

    I have been a creative cloud customer since it started and I've never experienced such buggy software as the app manager. The customer experience is just shocking and I wish Adobe would just offer direct downloads for the software we need rather than use the app manager.
    I'm currently trying to install the latest versions of the programs but the app manager keeps showing "Unable to reach Adobe servers, Please check firewall settings and try again in a few minutes".
    I do not have any firewalls on my network.
    I've uninstalled all previous versions of the applications.
    The app manager will download a few % and then the message appears again. I click retry and it downloads another few % before showing the message again. I keep doing this until the program is fully downloaded and installed which take hours. Because I am able to eventually download the app, the error should be anything to do with my setup or internet connection as I've never had this issue before when installing adobe products.
    Is there a way we can bypass the app manager and install the programs directly? This is getting very annoying and I just need my apps to install without wasting days clicking the retry button.

    I'm having the exact same problem. Photoshop is stuck at 0%.
    Have the links for direct download changed? When I went to  http://prodesigntools.com/adobe-cc-direct-download-links.htmland then scrolled down the page to:
    Photoshop CC 2014 (64-bit)
    740 MB
    File 2
    801 MB
    File 1
    and then clicked on File 1 and File 2, I reached a page that says "You don't have permission to access "http://trials3.adobe.com/AdobeProducts/PHSP/15/win64/Photoshop_15_LS20_win64.7z?" on this server."

  • TS1424 I am having issues downloading music from iTunes, it comes up saying an unknown error has occurred - please check your network connection. Now I can connect to iTunes store and have itunes as an exception for downloads so don't know what else to do

    Hello, I've started having an issue downloading songs and apps from iTunes to our PC which has Windows XP Professional installed. We also use Karspersky Anti-Virus and Firefox as an internet browser. Have never had this issue before, it comes up with "An unknow error has occured and downloads are stopped with an error 8003. Also says please check your network connection" We have no issue connecting to iTunes store or the network so not sure how to fix this. It is very frustrating. Have checked Windows Firewall and iTunes is an exception, can't think of anything else why it won't work.

    I sounds as though you need to start again. The following article tells you how to completely remove iTunes and Quicktime. If you didn't actually install iTunes you wont find it in add/remove programs so you can't do that bit, but still delete the iTunes folder in Program Files as advised in the article.
    http://docs.info.apple.com/article.html?artnum=93698
    Once you have got rid of them, try installing the latest version of iTunes. There is a link to it in the article.
    Itunes wont move your music for you, get iTune sgoing then ask again.

Maybe you are looking for

  • Maintaining Macs--Why doesn't Apple tell you more?

    This is not a problem that I need to solve but just something I've been wondering about. Why doesn't Apple tell people the routines they need to use to maintain their Macs? If you do a search on "maintenance" in Support the fourth item is Mac Mainten

  • NIO: Strange problem when using ByteBuffer with non-blocking SocketChannel

    Hi, I have a server that uses multiplexed, non-blocking I/O with java.nio. When a client connects, the server waits for the message: <system cmd="knock"/>, returns a message and disconnects the client. The clients are shortly serviced in less than a

  • Windows Itunes Text Messed Up!

    This is exactly the same problem with this post: https://discussions.apple.com/message/12892737#12892737 Here's my picture: http://i1181.photobucket.com/albums/x430/raymolino/***.jpg Please help. It happened out of nowhere

  • How do you make a slideshow with pictures & videos?

    ok, i'm new to mac & video editing. i want to make a slideshow with pictures & @ the end of it, i want to put in a clip from a home video. if i put the home video on a DVD, will i be able to edit it? i know i have to edit the video in imovie but wher

  • Data from BW to Oracle.

    Hi All, I am new into BW and i know how to get the data from my applications backend i.e ORACLE to BW system for reporting purpose. I have a scenario where user can edit this information through IP. I want this modified data to go back to ORACLE DB s