Graph of D.A.Q input question

Hey all!!
I have a voltage coming into my Labview program via a D.A.Q and being displayed on a waveform graph. The reading is very irradic i.e. its changing way to much. By this i mean for example at rest my output voltage to the daq is 8V but this varies between 8V and 8.1V and the daq picks up and displays on LV making taking a measurement impossible, all these changes are occuring incredibly quickly and lv is plotting them all. This may sound confusing i understand but all i want to know is that is there a way of making LV display the average of say 100 readings and plotting this instead of the hundreds and hundreds of unneccessary readings.

You could also filter you signal. There is a number of possibilities in the Analyse>Signal processing sub-palette. See teh attached vi.
But first try to understand why your signal is so noisy, use proper shielding. It is always better to control the problem at the source rather than trying to correct it later.
CC
Chilly Charly    (aka CC)
         E-List Master - Kudos glutton - Press the yellow button on the left...        
Attachments:
Filtered signal.vi ‏52 KB

Similar Messages

  • Can't get graphs to show single-ended input

    Using mx Base, I've created an Analog continuous input task. I've configured the task on the configuration utility as single ended, but on my VI graph, the data shows up as what it would be if it were differential. Is there some kind of disconnect between the configuration utility and my task on my VI? when i use the NI datalogger that's included with the mx Base driver and I choose RSE as the terminal configuration, i get the correct readings (same readings as i see in the oscilloscope).
    Please help!

    Hello Greenepece. Thank you for contacting National Instruments. Your best bet is to use the dynamic examples that come with DAQmx Base. These examples can be found at C:\Program Files\National Instruments\LabVIEW 7.1\examples\daqmxbase\Dynamic\ai. In these examples there is a VI called DAQmx Base Create Channel.vi that has an input called input terminal configuration. Create a constant for this and select RSE. This should give you the same results as the Data Logger. Please let me know if you have any questions. Have a great day!
    Marni S.
    National Instruments

  • Mandatory User input question

    Hello,
    I am trying to write a script that I can use to list out all permissions in a SharePoint site (site).
    I had a mandatory parameter set : [string]$SiteCollection
    Where the user would need to type the site collection and then my command would use that input to find the permisssions for the site collection.
    For my test I used our site collection called service.  It never ran.  After checking the variable $SiteCollection it took the name I typed in 'service' and actually ran the command, thus the variable $SiteCollection was filled with a list of all
    the current services on the machine.
    2 questions
    1) How can I set the input of the mandatory variable to be literally what I type in, not running an alias such as 'service'
    2) I though this might be better if I gave the user a list of site collections to pick from, thus they would not need to know the correct spelling.  Is there a way to list out all the sites (Get-SPSite) in a list with a number next to them and the user
    could then select the number that corresponds with the correct site collection as their input?
    Thanks for you help

    Hi Robert,
    I‘m writing to check if the suggestions were helpful, if you have any questions, please feel free to let me know.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Built-in Input question

    I know this might sound like I'm new to iMac, but I am so I'm sorry for such a lame silly question.
    I have a 27" iMac I use at work and I have an iPhone. I plug in my iPhone to my iMac input on the back of the computer to listen to music from my iPhone.
    Oddly, I see the Input Level indicator showing sound input but I cant get it to actually play on the internal speakers on my iMac.
    OUTPUT SETTING is set to Internal Speakers
    INPUT SETTING is set to Line In
    ...and nothing...

    Mac OS X does not automatically play audio directly from the line input to the speakers. Try the free app LineIn:
    http://www.rogueamoeba.com/freebies/
    Regards.

  • Classes and subclasses given as String input - question

    Hello, I am new in Java so please don't laugh at my question!!
    I have a method as the following and I am trying to store objects of the type Turtle in a vector. However the objects can also be of Turtle subclasses: ContinuousTurtle, WrappingTurtle and ReflectingTurtle. The exact class is determined by the String cls which is input by the user.
    My question is, how can I use cls in a form that I don't have to use if-else statements for all 4 cases? (Imagine if I had 30 subclasses).
    I have tried these two and similar methods so far but they return an error and Eclipse is not of much help in this case.
    Simplified methods:
    //pre:  cls matches exactly the name of a valid Turtle class/subclass
    //post: returns vector with a new turtle of type cls added to the end
    private Vector<Turtle> newturtle(Vector<Turtle> storage, String cls){
         Turtle t = new cls(...);
         storage.add(t);
         etc.
    private Vector<Turtle> newturtle(Vector<Turtle> storage, String cls){
         Turtle t = new Turtle<cls>(...);
         storage.add(t);
         etc.
    }Thanks for your help.
    p.s.: I didn't know whether to post this question here or under Generics.

    a Factory is atually very simple (100x simpler than reflection).
    example:
    class TurtleFactory
      public Turtle makeTurtle(String typeOfTurtle)
        if (typeOfTurtle.equals("lazy") { return new LazyTurtle(); }
        else if (typeOfTurtle.equals("fast") { return new FastTurtle(); }
        <etc>
    }While at first this doesn't look any better than your original problem, what we've done is made a class that is responsible for all the types of turtles. This will also benefit in case some turtles need initialization or need something passed to their constructor. You encapsulate all that knowledge in one place so you rcode doesn't become littered with it else ladders.

  • Data Input Question

    Hi!
    I'm trying to input numbers from the console using "System.in". However, the numbers are never read right. I want to read one number per line. Let the code do the explaining as my explanations are usually not clear...
    DataInput = new DataInputStream(System.in);
    int Number = DataInput.readInt();What did I do wrong? Does "DataInputStream" only read binary data?

    The question isn't about Java Native Interface programming so this isn't the right forum. Try the generic Java Programming forum instead.
    But to answer it anyway, you are correct that java.io.DataInputStream.readInt treats the input as binary rather than as user-typed digit characters. See the docs for java.io.DataInput.readInt for details.
    (Also suggest not naming local variables with an initial capital letter like DataInput or Number. It's confusing for an experienced Java programmer to read and can collide with class names.)
    -slj-

  • File input question

    I'm new to java and I'm trying to write a program using file input/output.
    The user is asked for the names of an input file and an output file.
    My question is that in case I don't specify the path of the input file, where should it reside?
    thanks,

    My question is that in case I don't specify the path
    of the input file, where should it reside? In the present working directory. Which is not reliably known at runtime. If the input file will remain unchanged, you can put it into your JAR (if you create one) or somewhere else in your classpath, like the package root, and use getClass().getResourceAsStream("/thefile.ext") to load it. That will always work.

  • Batch input questions

    Hi. Can someone explain me teh diferences between =mod and =ins in a batch input? i know that one is for modify and the other one id for insert, but my question is if i use the =ins code and if there is allready a registry with data in the fields that im going to insert does the =ins code , deletes the old ones and replaces by the new ones??
    Thk
    Regards

    Hi,
    You are talking about the OK Codes in Batch input.
    These OK codes are accompanied by the respective fields followed by this OK codes(function Codes for the user actions on screen).
    Sp sap takes care of them automatically, when you write field and after that OK code for that field.
    regards,
    ANJI

  • How do I make a continuous X-Y graph with an array as input?

    I want to create an X-Y graph with a reference time (double) as one variable and the other is a double data type. How can I create a continuous graph on an X-Y graph with these variables? I have only been using Labview for 2 months so if you have any suggestions please go easy on the technical terms.
    TIA,
    Kevin

    LabVIEW what several options for displaying data. A waveform chart is great if you receive one point at a time and want to plot the data in series. A waveform graph is good for plotting arrays in a time series fashion. An xy plot is good for connecting points that do not occur in a series. This plot offers the most flexibility in graphing points with different x values.
    It is often hard to keep what structure goes two what display option. As a cheat, I right click on the chart in the block diagram and slide the mouse to create >> (either a constant or control). This way you can get a model for the data you want to input.
    You may also want to look at the shipping examples that come with LabVIEW. In LabVIEW 6.1, goto help >> find examples >> fundamen
    tals >> graphs and charts.
    Jeremy Braden
    National Instruments

  • How to draw xy graph with multiple y axis input?

    Hi,
    I have problem in xy graph, the xy graph only can show 1 signal from the y axis input ( As you can see in the attachment )
    Is it possible to draw xy graph with 2 Y input? Or maybe there are another type of graph that possible to do this? 
    Note:  the x axis should be from an input too ( not versus time / sample ).
    All answer and advice are welcomed.
    Best regards,
    Alvin Chandra 
    Solved!
    Go to Solution.
    Attachments:
    Example.vi ‏139 KB

    Are you asking for a second Y scale on the graph?
    If so, right click on the existing scale, select "Duplicate Scale". This will create a second scale. You can then (if you wish), right click on the new scale a select "Swap Sides" to put it on the other side of the graph.
    Are you asking about adding a second plot?
    If so then you need to bundle your arrays of X and Y points into clusters and build those into an array:
    The X-axis is always from an input on the XY Graph. You just need to change the axis title. Easiest way to do this is to double click on the axis title and type the new name.
    Rob

  • Audio input question

    Hello,
    Day three of imac here. I have this cd recorder (stand alone home stereo style) which records cd's that NOTHING else will read. Not even my beloved new imac. My question is , if I plug this recorder into the input will I be able to rip these cds into either itunes or garage band?
    I figured I would throw this to all of you before I go plugging things in all willie nillie.
    Thanks,
    Carl

    Welcome to the Apple Discussions.
    You will need a software program that can record the incoming audio stream from your input port. Audio Hijack or Audio Hijack Pro should fit the bill.

  • Sound Blaster Z Digital Input Question

    Hi,
    Problem: PS4 connects via HDMI cable to my speaker-less monitor, cannot connect the PS4 to my stereo system since there is no separate analogue connector to use (there was on the PS3 but not on the PS4) and my stereo does not have a Digital Input connector (it's old).
    Solution?: If I get hold of a Sound Blaster Z, can I connect the Digital Output from the PS4 into the Digital Input on the SBZ and therefore output my PS4 sound through my PC?
    This is a relatively cheap solution for me so I would really appreciate it if you guys could give me a heads up on whether this is possible. Apologies if this is a straightforward/dumb question. I want to doublecheck before dropping the cash.
    Thanks for reading,
    -Yosh

    Originally Posted by Yosharian
    Hi,
    Problem: PS4 connects via HDMI cable to my speaker-less monitor, cannot connect the PS4 to my stereo system since there is no separate analogue connector to use (there was on the PS3 but not on the PS4) and my stereo does not have a Digital Input connector (it's old).
    Solution?: If I get hold of a Sound Blaster Z, can I connect the Digital Output from the PS4 into the Digital Input on the SBZ and therefore output my PS4 sound through my PC?
    This is a relatively cheap solution for me so I would really appreciate it if you guys could give me a heads up on whether this is possible. Apologies if this is a straightforward/dumb question. I want to doublecheck before dropping the cash.
    Thanks for reading,
    -Yosh
    Hi Yosharian,
    Do you want to consider getting the Recon3D USB instead? The price is almost the same as the Sound Blaster Z and it can function alone without the computer. You may be able to save on your electricity bills using the Recon3D USB instead.
    Here is an illustration of the Recon3D Omega Wireless connecting to the PS4 using SPDIF input. The Recon3D Omega Wireless is actually the Recon3D USB with a Tactic Link card connected to it and a wireless headset.

  • Very Quick PF Input Question

    Hello.
    A quick question if I may. I am in diffs.
    What are/When to use the PF inputs?
    With regard to triggering data aquistiions, will wiring a +5V input to pfi0 work as a trigger?
    Thanks.

    Hello Brian. Thanks for the reply.
    I am using a 6071 card.
    PFI 0/AI START
    PFI 1/REF TRIG
    Perhaps I should be using the PFI 1 port?
    http://www.ni.com/pdf/products/us/4daqsc199-201_ETC_212-213.pdf
    Here is the link for the pdf of 6071
    Best Regards
    Thomas

  • Text Input question.

    Hi, i'm having problems with the text input feature, i'd created a comment field but when typing it go only in one line.
    I would like to know if theres any way to make alow typing in more than one line in the same text field.
    Sorry for my english, thanks.

    Tanya Heins wrote:
    I tried out the following which resulted in an editable multi-line text field (after changing code in Flash Builder)
    Created a text input in Fc and resized it to allow for multi-line display
    Imported the Fc .fxp file into Fb and changed the following line of code (in src/Main.mxml) from:
    <s:TextInput height="244" text="my text field." width="431" x="191" y="173"/>
    to
    <s:TextArea height="244" text="my text field." width="431" x="191" y="173"/>
    If you now run your application from Fb, it will result in an editable multi-line text field.
    Be sure to do this after you've finished layout and design of your interface in Flash Catalyst. Once you move over to Flash Builder, that's where you will be completing your application.
    Hope this helps.
    Tanya
    I tried rezolving the problem this way but when I type in something and press enter, the text dissapears by going up, which means out of the text input field. I'm looking forward to find a solution for this problem.
    Thank you!

  • Line input question

    I would like to be able to use my desktop speakers to listen to a satelitte radio receiver using the Mac Pro's line input and volume controls but I can not find a way to nake this audio "pass through" from the line input to the line output.
    I know that there is analog audio present at the mini plug I am feeding the line input with because I can select it as my recording source in other applications (garage band, peak, etc.). Obviously, I would prefer not to have to run one of those applications to monitor the audio.
    Any suggestions are appreciated.
    Mac Pro   Mac OS X (10.4.7)   Macbook Pro

    Thanks for your input, but I was hoping to find a solution that did not involve more hardware. I would really be quiet happy if the audio was just able to pass thru.
    Mac Pro Mac OS X (10.4.7) Macbook Pro

Maybe you are looking for