User-Selectable Analog Inputs for X-Y Graph Axis?

Hey,
I've done a lot of looking at demos/examples, and I'm still have some issues with this one. I'd like to have a all of my analog inputs inside a drop down box on the front panel (one box for each axis). The user would be able to select which input they wanted on a particular axis from the drop down boxes. This would all be on the fron panel of course.
I found one good example (Signal Generation & Processing.vi) located in NI > Labview 7.1 > examples > apps, but I can't quite follow the sub-vi's. Note that I'd like the selected signals displayed on the X-Y graph to be real-time, not from logged data. Is an X-Y graph even the best plot for this? Thanks for the help ahead of time!
-Doug

Are you sure you want an XY graph? An XY graph will take your two inputs and plot them against each other, not against time. If this is what you want, here's a VI that has four different inputs simulating four acquired channels, and lets you select which of the four you want for both the X and Y axes.
Robert Mortensen
Software Engineer
National Instruments
Attachments:
Selectable XY Graph.vi ‏68 KB

Similar Messages

  • Can not select external input for sound

    can not select external input for sound

    Hey there RoosterMonkey,
    It sounds like you have Soundtrack Pro installed but you cannot select your external audio device as an input. I recommend the troubleshooting steps from the article named:
    Soundtrack Pro 3: Troubleshooting Basics
    http://support.apple.com/kb/ht3659
    Update to the latest software versions
    From the Apple () menu, choose Software Update and make sure that you have the most recent updates for your versions of Soundtrack Pro 3, QuickTime, Compressor, Pro Application Support, and other important system files. Installing the latest updates ensures that your software has the latest improvements and enhancements.
    Note: Be sure the application is in the Applications folder and is named Soundtrack Pro before running Software Update.
    Check compatibility and driver versions for third-party devices
    If you're using a third-party sound card, MIDI interface, storage system, control surface, or plug-in, check the support area on the manufacturer's website to be sure that you're using the latest version of the relevant driver or other software for your product. For information on troubleshooting possible issues with Audio Unit plug-ins, go to Soundtrack Pro 3: Troubleshooting Audio Unit plug-in issues.
    Try a different Multitrack Project or Audio File Project
    Sometimes project files can become damaged, causing unexpected behavior in Soundtrack Pro. To create a fresh project, choose File, then New and select Multitrack Project or Audio File. Test to see if the issue is resolved in the new project.
    Delete the User Preferences
    You can resolve many issues by restoring Soundtrack Pro to its original settings. This will not impact your project files. To reset your Soundtrack Pro user preference settings to their original state:
    Quit Soundtrack Pro if it is open.
    In the Finder, choose Go > Go to Folder from the menu bar.
    Type ~/Library/Preferences  in the "Go to the folder" field.
    Remove the "com.apple.soundtrackpro.plist" file from the Preferences folder.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Application Support/Soundtrack Pro  in the "Go to the folder" field.
    Remove the "EffectsCache.plist" file from the Soundtrack Pro folder.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Application Support/Soundtrack Pro/Layouts  in the "Go to folder" field.
    Remove the "Soundtrack Pro.saved.moduleLayout" file from the Layouts folder.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Caches in the "Go to folder" field.
    Remove the "com.apple.audiounits.cache" from the Caches folder.
    Remove receipts and reinstall Soundtrack Pro 3 and Compressor
    Another approach you might consider is reinstalling Soundtrack Pro and Compressor. To do this effectively, you need to remove the applications and their receipts, then install Soundtrack Pro and use Software Update to install additional updates. Compressor gets installed automatically when you install Soundtrack Pro. You don't have to remove everything that was installed with Soundtrack Pro, so follow the steps below to completely reinstall a fresh copy of Soundtrack Pro. Note: Make sure that you have your installation discs handy before beginning.
    In Mac OS X v10.6 Snow Leopard or OS X Lion
    Open the Terminal application and enter the following commands one at a time and an administrator password when prompted. Note: The commands are case sensitive.
    sudo pkgutil --forget com.apple.pkg.Compressor
    sudo pkgutil --forget com.apple.pkg.Qmaster
    sudo pkgutil --forget com.apple.pkg.VideoOutSupport
    sudo pkgutil --forget com.apple.pkg.PSTSharedA
    sudo pkgutil --forget com.apple.pkg.AppleHDVCodec
    sudo pkgutil --forget com.apple.pkg.AppleIntermediateCodec
    sudo pkgutil --forget com.apple.pkg.DSPPublishing
    sudo pkgutil --forget com.apple.pkg.SoundtrackPro
    sudo pkgutil --forget com.apple.pkg.Uncompressed422
    Then, reinstall Soundtrack Pro and Compressor using the following steps:
    Open the Applications folder. Drag the Soundtrack Pro and Compressor applications to the Trash.
    Insert your Logic Studio or Final Cut Studio installation disc and install Soundtrack Pro.
    When finished installing, choose the Apple () menu, then Software Update to update your software to the latest version.
    Open Soundtrack Pro to verify that the issue has been resolved.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • User selected global filter for country

    I am trying to build a scenario where I have a km repository like the following
    Australia
      - Support docs
      - Product Brochures
    USA
      - Support docs
      - Product Brochures
    Then I want to build a KM navigation iView that allows the user to select a global "filter" of their country... An Australian user would select Australia (a pre defined property per the global property service) and then this would be used to drive the content shown in the iView.
    I should be able to do this via permissions but I would rather have the user select the area of interest as they may be authorised to see both.
    Does anyone have any ideas on how this could be done?
    Thanks in advance
    Bernard

    Hi Bernard,
       You can create two KM Navigation iviews, one point to Australia and the other to USA folders.
       On the other hand, if you want to classify these document to do a search..so on. You must create country metadatas Australia/USA and type of document (Support/Product). Both of metadatas could be mandatories when you upload a file.
       Also, you can have only folder where all document are uploaded and assign these metadata. Then create taxonomies to classify them by country/type of documents so on. At last, your km navigation iview to point these taxonomies
      Patricio.

  • Displaying the user selection in Header for HFR

    Hello Experts,
    I have a prompt on a dimension in my report. The user can enter more than one values. I need to display the names of all the members selected by the user for the dimension in the header of the report. Can anyone plz throw some light on this.
    Thanks,
    Ravi B

    Hi Ravi,
    In text box it seems to be impossible to display the prompt members.
    Only feasible option seems to be display those selected members via another grid.
    But the problem here is that you cant put a grid into the header. So if your reports contain only one page then only this option might be helpful to you.
    but if you have some limit on the number of members selected in the prompts then you can do it in text box also by hard coding. and nobody should select 100 memers at one go in prompts as i think. I really dont know what type of requirements you have.
    Let see if your problem get solved.
    Regards,
    Rahul

  • ELVIS Scope and Analog input triggering

    Hi everyone,
    I'm trying to read two waveforms, one from the analog input and one from the scope. These waveforms are coming from two sides of a voltage divider and should always be in phase. But I think that there might be a triggering problem. When I change the frequency of the input waveform, my measured waveforms go out of phase.I have programmed each express VI to trigger off of the SYNC.
    I can't use analog inputs for both measurements because the sampling rate is too small. I can't use the scope for both inputs because one of the waveforms is a differential measurement.
    Any help would be appreciated, thanks.

    Hi, I looked at the ELVIS Hardware User Manual and noticed that you have 12 channels that can be used as differential, Reference single ended or non reference single ended. Unless you have them all busy I don't see why you can't use the analog inputs. About the sampling rate, it will be determine by the M Series DAQ device that you are using and the source of the signal. It is a good practice to sample, at least, 10 times faster than the frequency of the input signal. The documentation of the card should show what the maximum sampling rate is.
    Now, Open the example called "Multi-Device Synch-Analog Input-Cont Acquisition.vi" at the NI Example Finder under Hardware Input and Output»DAQmx»Synchronization»Multi-Device. If you get the same results shown in the picture then you need to analyze if the voltage divider is affecting the phase.
    For more information about synchronization check the article called "Synchronization Explained".
    Good luck!
    Alejandro | Academic Program Engineer | National Instruments

  • Reset timer after user selection + Progress bar

    Hello there!
    I am trying to create a VI for humidity. So far everything works fine for that. I also wanted the ability to let the user define the frequency of data collections in units of time. ie: every <x> minutes/hours/days/etc. This also works to some extent.
    My problem is that say I choose 1 second, then change the unit to 1 minute. It'll do exactly as expected: the VI will wait 1 minute until capturing a data point. The problem is what if the user changes it back to seconds before that minute is over. The VI will still wait the full minute before changing to the new collection frequency unit.
    Is there someway to force reset the timer if the user changes a selection?
    Also, I am trying to make a progress bar to let the user know how far the VI is along with the collection interval. I thought it'd be convenient if a user selects 1 hour for example. There is no way of knowing how far along that hour wait is. I can't seem to get this one to work either. I thought it'd be something like
    1)get current date/time seconds
    2)add the user interval (ie: 60 seconds) to #1
    3) get a %
    4) add that to progress bar
    5) if reaches 100, then reset.
     Also for some reason my STOP button doesnt work for this loop.....
    Any help on this would be great! I've attached the VI I have going thus far.
    thanks so much
    Attachments:
    Humidity.png ‏41 KB

    Ah, sorry about that I thought I also attached the VI.
    Since this is my first VI, I'm not sure what you mean by:
    altenbach wrote:
    Easiest would be to use the timeout of an event structure to trigger a collection. Use other events to immediately break the timout and apply new settings, etc..
    Here ya go!
    Attachments:
    Vaisala HMD40Y_2013_SP1.vi ‏85 KB
    Units to Seconds.vi ‏19 KB

  • Identifying user selection of drill filter

    Hie Guys,
    I am creating a report that contains a single hyperlink to different reports based on the user selection of the drill filters. I need to be able to identify what drill filter the user selected in the form of a formula so that I can direct the user to the appropriate report when they click on the hyperlink.
    For e.g.
    If user selects drill filter for month, take them  to report 1
    If user selects drill filter for department, take them to report 2.
    If user selects drill filter for Unit, take them to report 3..
    Thanks.

    Hi Jeewan
    First you need to know if a filter selection was made ,
    DrillNumMonth=Count([Month - Key])
    Second Obtain the value of selection
    DrillMonth=ReportFilter([Month - Key])
    Third Evaluate
    =If(([DrillNumMonth]=1; Link_Month ; If([DrillNumDim2=2; Link_Dimension2 .....
    I hope this help you

  • Get year from user selected month in field name

    Hi BExperts,
    I would your help about this problem on BI 7 :
    At the opening of the query, user selects a month (for example 03.2007).
    From this month, i have to indicate key figures on the selected month (03.2007) and key figures on the corresponding year (here 2007).
    I'm using a variable in order to get the selected month (0I_CMNTH).
    I don't know how to get the corresponding year (with a variable) ?
    For example : user selects "03.2007", in the query i would have :
    Period  Key figure
    03.2007     17
    2007           38
    Thanks for help.
    Points will be assigned.
    Cheers,
    Vince.

    Hello,
             I am not sure about the one you mentioned but this is another way which you can try by creating the customer exit variable V_YEAR under 0calyear characteristic and add the following code for gettting the previous year.
    data: year(4) type n,
             year1(4) type n.
    when 'V_YEAR '.
    if i_step = 2. "after the popup
    loop at i_t_var_range into loc_var_range
    where vnam = '0I_CMNTH'.
    year = loc_var_range-low (4).
    year1 = year - 1.
    clear l_s_range.
    l_s_range-low = year1.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    append l_s_range to e_t_range.
    exit.
    endloop.
    endif.

  • Why do i get an offset while acuiring analog input

    HI all,
    I have posted the question before but no body replied to that. Plese tell me how to acquire analog input for example sine wave of 5volts pk-2-pk using analog channels. When i connect the wires and using a labview or visual basic 6.0 software, try to acquire the voltage then i do get a wave but that has an offset included with it. like the wave starts from 5 volts and goes upto 10 volts. So please help me out for this. I will be very much grateful to you.

    Hello shami81,
    There are several things that can be occuring for you to see the
    behaivior you are discribing. The most basic is that the signal you are
    inputting from your source has a DC offset. Assuming this is not the
    case, there are several other things that it could be.  If the device
    is wired with the incorrect grounding setup, that could cause an
    offset.  The way to check this is to use our Field Wiring and Noise Considerations for Analog Signals developer zone article to make sure everyting is hooked up correctly.
    In order to make sure that the code is not a factor, the best way to
    look at the signal is with Measurement and Automation Explorer.  If you
    open a test panel (My System»Devices and Interfaces»NI DAQmx Devices,
    then right click your device) that will allow you to see exactly what
    the hardware is seeing.  If this still has the offset, then we know
    that the issue is not with the signal analysis, but in the hardware or
    the actual signal.
    Many of our devices allow you to change the input coupling as well.  If your device has this functionality, then you could use AC coupling, which would remove the DC offset.
    In order to help narrow down the possibilities, some more information
    about your setup would be helpful. Specifically, information about the
    device you are using, the driver you are programming with, how you have
    your signal hooked up, which program are you using (example program or
    your own code), and possibly a screen shot of your code or what you are
    seeing would help greatly.
    I hope this gives you a starting point, please post back with that
    information if you still cannot find the source of the offset.
    Neal M.Applications Engineering       National Instruments        www.ni.com/support

  • NI EVS-1463RT loging analog input

    Hello,
    Im trying to log a signal on audio input NI EVS-1463 RT (LabVIEW RT App). I thought that the audio input behaves like ''analog input'' for example DAQmx Device.
    Is there any driver to control the acquisition on audio input NI EVS-1463RT? I need only to log sound signal and save it for the next processing.
    Thanks for answers
    Jan
    Solved!
    Go to Solution.

    Sorry, in LVRT there is definitely no way to use those audio jacks. I think they work on the Windows version though.

  • How to capture user input for customer exit processing?

    I need to calculate the number of working days elapsed in the current fiscal quarter BASED on the USER INPUT on the reporting front.  i.e., say the fiscal quarter started on 1 July 2005 and if the user enters 10 July 2005, I should get the value 8 (Assume that Monday through Friday are all workdays).  If the user enters 12 July 2005, I should get 10.  I have written customer exits and know how to use factory calendar, but <b>THE CHALLENGE</b> is how do I <b>CAPTURE</b> the user input and use it in my exit?  During the varible definition, if I select the check box "Ready for input" then the customer exit is not being processed and unless I check that box I can't get a user entry!  If I look at the import values in the customer exit, I see i_t_var_range with type rrs0_t_var_range.  My strong feeling is that this parameter gets the user input, but I am unable to use it as the customer exit is not being called if I make the user to input the data.  Based on the empirical evidence, I felt that user input and customer exit can not co-exist!!  Please somebody prove me wrong and let me know how can I use the user input to process my "customer-exit" variable.  I would really appreciate any input from the BW community here.

    Hi Sameer,
    Most likely, I'm missing something, but I think that the answer is very simple.
    CASE I_VNAM.
    WHEN 'YOUR_CUSTOMER_EXIT_VAR'.
    IF I_STEP = 2. “ After selecting of input variable
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'USER_INPUT_VAR'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4).
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDLOOP.
    ENDIF.
    ENDCASE.
    In this typical user exit coding you have a user entered value in LOC_VAR_RANGE (originally in I_T_VAR_RANGE) and you construct your user exit variable value in E_T_RANGE.
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov

  • How to let the user define the colors for each plots in the graph (I use LabVIEW 7)?

    How to let the user define the colors for each plots in the graph (I
    use LabVIEW 7)?

    Hi,
    Take a look at this example, it uses property nodes to select tha
    active plot and then changes the color of that plot.
    If you want to make the number of plots dynamic you could use a for
    loop and an array of color boxes.
    I hope this helps.
    Regards,
    Juan Carlos
    N.I.
    Attachments:
    Changing_plot_color.vi ‏38 KB

  • Using selected output from a RFC as input for another RFC

    Hi,
    I'm new at this so I may be doing things completely wrong.
    I have two models based on adaptive RFC.
    The first populates a list of Org Units. (Orgeh_Out)
    The user then selectes multiple Org Units from this list.
    I want to use the selected Org Units as Input for the second RFC which will display the personnel numbers in the selected Org Units. (Orgeh_Tab_In)
    Model 1 works fine but I am having difficulty in populating the Org Unit input table for the second model.
    public void RFCPernrFill( )
        //@@begin RFCPernrFill()
         Z_Wd_Pernr_Input pernrInput = new Z_Wd_Pernr_Input();
         wdContext.nodePernrList().bind(pernrInput);
        int orgCount = wdContext.nodeOrgeh_Out().size();
          for (int i=0; i<orgCount; i++) {
                if (wdContext.nodeOrgeh_Out().isMultiSelected(i)) {
                IOrgeh_OutElement thisOrgUnit = wdContext.nodeOrgeh_Out().getOrgeh_OutElementAt(i);     
              Zwd_Orgeh tmpOrgTab = new Zwd_Orgeh();
              String st = String.valueOf(thisOrgUnit);
              tmpOrgTab.setOrgeh(st);            //<-- Causes error but will only accept a String
              pernrInput.addOrgeh_Tab_In(tmpOrgTab); 
    I don't understand why tmpOrgTab.setOrgeh will only accept a String and not the 'thisOrgUnit' variable.
    i.e. why couldn't I say tmpOrgTab.setOrgeh(thisOrgUnit) ?
    The command tmpOrgTab.setOrgeh(st); causes an error however if I hard code a Org Unit tmpOrgTab.setOrgeh("5000011"); it works. The error I get is :
    Type conversion error, field ORGEH, complex type class com.sap.com.testing.pernrlist.model1.Zwd_Orgeh

    Hi
       Can you give me the structure of the proxy classes generated. I will give you the working code :).
    The lines of code
    Zwd_Orgeh tmpOrgTab = new Zwd_Orgeh();
    String st = String.valueOf(thisOrgUnit);
    tmpOrgTab.setOrgeh(st); //<-- Causes error but will only accept a String
    pernrInput.addOrgeh_Tab_In(tmpOrgTab);
    There is a structure in your RFC called ZWD_ORGEH.
    Instantiate this like you have done.
    Zwd_Orgeh tmpOrgTab = new Zwd_Orgeh();
    Now the following line of code
    tmpOrgTab.setOrgeh(st)
    Here you say it is only accepting a string. But what i feel is that you would have another internal structure and u need to instantiate that.
    Anyway if you just send me the proxy classes generated i will be able to help you in your code.
    Also give me the structure of the RFC.
    Meanwhile check this link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/effective web dynpro - adaptive rfc models
    The above link will also give you some input to your prob.
    regards
    Ravi

  • Variable Selection For User in Web Interface for BPS

    Hi All,
    I've created a manual Input sheet in BPS0 to upload target sales. User need to select the month, plant and then enter the target amount for each category. Its working fine.
    Now I need to create web interface for user to upload the data every month. Using BPS_WB I've created the interface (with help of Wizard). I'm getting the input sheet. But I'm not able to get screen where user can select the parameters?
    How to get this? It should work like web report, where user select the report variables then execute. Only difference here is user will have to enter the data for selected variable.
    Thanks in advance.
    Regards: Gaurave

    Hi....add the variables to a folder along with the layout. Then create the web interface.

  • How to validate a user input for where clause?

    I have a situation to validate a where clause which is input by the user.
    Because the query will be run against huge tables and we need to notify the user if they input the clause is not valid.
    I use the below query to try:
    Select 'A' from blablabla where user_input_where_clause and 1=0;
    however, it can not capture the error when the user input:
    'name=123' while the right condition should be name='123'.
    Can you pls advise ?

    In this particular case, Oracle will not even try to run the SQL statement because of the syntax error. IF the WHERE condition supplied does not make sense, Oracle will not execute the statement, so it does not matter if the query accesses huge tables.
    SQL> Select 'A' from blablabla where 'name=123' and 1=0 ;
    Select 'A' from blablabla where 'name=123' and 1=0
    ERROR at line 1:
    ORA-00920: invalid relational operator
    SQL>IF you have a restriction as to what type/value can user specify for the where condition (asuming it would make sense to SQL engine), you would have to do it before submitting to the database.
    Note, however, that user could specify any condition they like, having potentially damaging effects.

Maybe you are looking for

  • Is there a way to adjust the font size in the digital signature?

    The attributes, of Name, Date, Location, Reason, Distinguished Name, etc. Is there a way to adjust the size of the font and the display? Thank you. Chunkee

  • Lost Videos and Pictures

    Last night, I connected my iphone  4 to my computer for the first time in a VERY long time. I have not had any of the updates installed and was finally getting around to it.  When I plugged it in, it autmotically started synching and "restoring" my p

  • 100% Command Line Rendering

    Hi, is there a way to define a sequence of images to be rendered into a movie from the command line, without first creating any composition ? Basically loading media and creating composition by command line or by script ? Regards, Frank

  • Can't get classic working in OS 10.4.10

    I've been trying to get my system able to run classic apps. I've tried two OS9 installation discs, but both give me a message about being "read-only". I try to boot up from the disc by shutting down and re-starting while holding "C", but nothing happ

  • Playback with the external instrument plug-in

    Hi. Sorry to bother you guys with this Q but I'm having some problems with the External Instrument Plug-in. I seem to have no problems recording in this way from an external synth but the information won't play back. Any info would be most appreciate