How can I display an analog input to PXI-5105 out on LabVIEW?

Hi ALL,
I am very very new to LabVIEW and I just started to fiddle around with it. I am running LabVIEW 2010 SP1 version on Windows 7 OS. I also have NI PXIe-1073 chassis with PXIe-6361 and PXI-5105 modules and the chassis is connected to my PC via PCI. I was getting myself acquainted with the devices and was trying to see some analog signals to one of the channels on the PXI-5105 module in a graph in LabVIEW.
I would appreciate your helps. 
Solved!
Go to Solution.

Hello Henokview!
I would like you to read through these tutorials to understand the programming steps of NI-SCOPE and NI-DAQmx. After reading these links below you will be able to understand how to connect output from a readfunction to a graph or chart.
DAQmx
http://www.ni.com/white-paper/5434/en
NI-SCOPE
http://www.ni.com/white-paper/3382/en
Best regards
Jonas
Best Regards
Jonas Mäki
Applications Engineering
National Instruments

Similar Messages

  • How can I syncronize the analog input?

    The signal coming from the microphone input of the DSP module, displayed on Waveform Graph, is "slipping".
    How can I syncronize the analog input?
    Thank you!

    Ahh!  You are doing this on the DSP itself.  That would explain the Express VI problem, since you probably do not have floating point available.  A simple level trigger is not hard to code using integer math.  You can use the VIs I mentioned above as a guide (the algorithms should work well with integers as well as floating point) or just do it yourself.  A possible algorithm for a positive going edge trigger is the following:
    Search array until first point is less than level and second is greater than or equal to level (use In Range and Coerce to search).
    Extract array subset from your data starting at the point you just found.
    If you need a particular length of data and are continously acquiring, append data from the next scan onto your data until required length is met.
    If you run into issues, let us know.  Remember that shift registers are your friend.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • How can I display the name of my refnum on the front panel?

    I am writing data to a file. To do this, I am using "Open/Create/Replace File" to prompt the user for a filename, which is then output to my VI as a refnum. I then write strings to this file with "Write to Text File".
    How can I display this filename (with the path) on the front panel after the user has input it?
    Michael
    Solved!
    Go to Solution.
    Attachments:
    refnum.JPG ‏45 KB

    Use the Refnum to Path function, in File I/O -> Advanced File Functions palette. You can wire this to a path indicator.

  • How can i display days(Feb 28,Mar 30&April 31...Dec) in layout

    Hi Experts,
    i am facing smal problem if you have any solution please can you respond...
    this is my requirement :
    i am calaculating days for each month using funtion module.
    once i'll get those days (eg:28 days,30 days 31 days depends upon month)how can i display days in ayout ????.
    what steps i have to follow????how can i desing in data column for display of my month days??
    i'll assign full points..
    Thanks.

    Hi Bindu,
    Here is the my full code of FM.
    in this function module input value is another variabel i am passing that variable value to FM(it is fine).
    export parameters is : REFERENCE(BEGINDATE) TYPE  SY-DATUM
                                     REFERENCE(ETO_CHARSEL) TYPE  UPC_YTO_CHARSEL
                                    REFERENCE(ENDDATE) TYPE  SY-DATUM
    now you can have better idea on my FM.
    FUNCTION ZDAYS_IN_MONTH.
    ""Local Interface:
    *"  EXPORTING
    *"     REFERENCE(BEGINDATE) TYPE  SY-DATUM
    *"     REFERENCE(ETO_CHARSEL) TYPE  UPC_YTO_CHARSEL
    *"     REFERENCE(ENDDATE) TYPE  SY-DATUM
      CONSTANTS:  lc_jan(2)     TYPE n VALUE '01',
                  lc_feb(2)     TYPE n VALUE '02',
                  lc_mar(2)     TYPE n VALUE '03',
                  lc_apr(2)     TYPE n VALUE '04',
                  lc_may(2)     TYPE n VALUE '05',
                  lc_jun(2)     TYPE n VALUE '06',
                  lc_jul(2)     TYPE n VALUE '07',
                  lc_aug(2)     TYPE n VALUE '08',
                  lc_sep(2)     TYPE n VALUE '09',
                  lc_oct(2)     TYPE n VALUE '10',
                  lc_nov(2)     TYPE n VALUE '11',
                  lc_dec(2)     TYPE n VALUE '12',
                  lc_days_28(2) TYPE n VALUE '28',
                  lc_days_29(2) TYPE n VALUE '29',
                  lc_days_30(2) TYPE n VALUE '30',
                  lc_days_31(2) TYPE n VALUE '31'.
      DATA:  lv_hlp_date_year TYPE i,
             lv_hlp_rest      TYPE i,
             iv_date TYPE D,
             iv_month(2) type C,
             iv_year(4) type C,
             lsr_var TYPE REF TO cl_sem_variable,
            enddate  TYPE upc_yto_charsel,
             l_area            TYPE upc_y_area,
             l_co_area_var     TYPE upc_y_variable,
             lto_value         TYPE upc_yto_charsel,
             lso_value         TYPE upc_ys_charsel,
             i_month(6) type c,
             i_area(8) type c.
            count type i,
            lv_days type i.
       i_area = 'ZNTEST1'.
       l_co_area_var = 'ZVC0123'.
    PERFORM instantiate_object USING    i_area
                                        l_co_area_var
                                 CHANGING lsr_var.
    PERFORM get_current_value_of_variable
                            USING lsr_var
                            CHANGING lto_value.
    READ TABLE lto_value INTO lso_value INDEX 1.
    i_month = lso_value-low.
    iv_month = i_month+4(2).
    iv_year = i_month(4).
    concatenate iv_year iv_month '01' into iv_date.
    begindate = iv_date.
    CALL FUNCTION 'SLS_MISC_GET_LAST_DAY_OF_MONTH'
      EXPORTING
        DAY_IN                  = iv_date
    IMPORTING
       LAST_DAY_OF_MONTH       = enddate
    EXCEPTIONS
      DAY_IN_NOT_VALID        = 1
      OTHERS                  = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    DATA:BEGIN OF itb OCCURS 0,
              dates LIKE sy-datum,
           END OF itb.
    DATA: w_date LIKE sy-datum.
                                                         comment* Data: w_date type UPC_YTO_CHARSEL.
    CLEAR:w_date.
    WHILE w_date < enddate .
      w_date = ( begindate + ( sy-index - 1 ) ).
      itb-dates = w_date.
      APPEND itb.
      CLEAR itb.
    ENDWHILE.
    LOOP AT itb.
      MOVE itb-dates TO w_date.
    ENDLOOP.
    can you help me this is very urgent.
    Edited by: Eyda rose on May 23, 2008 3:21 PM

  • Can we acquire the Analog input and Digital Input at

    Can we acquire the Analog input and Digital Input at
    the same time? My sensor data include Analog and
    digital signals.

    Hi Chenchen,
    It usually simplifies things greatly if you use analog inputs to monitor both the analog signals AND the digital signals.
    If you abosulutely HAVE to use digital lines, then the answer is, DEPENDS....
    With the correct hardware and depending on how fast you want to collect data and how closely the measurements have to be syncronized in time, it can be done.
    But first, concider using analog inputs to monitor all signals.
    If you need to move forward with both analog and digital acquisitions, then post a new quesion and give us details on the hardware you are using and the other details we will need to advise you.
    Trying to help,
    Ben
    Ben Rayner
    Certified LabVIEW Developer
    www.DSAutomation.com
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can I display XSLT transformer errors on a web page ?

    Hi,
    I have some JSP pages that access DB, create an XML based on DB data and then transform it into HTML through an XSLT stylesheet. Developing the XSL code it's easy to make mistakes and generate errors on trasformation, but what I receive on the web page is only a "Could not compile stylesheet" TransformerConfigurationException, while the real cause of the error is displayed only on tomcat logs. This is the code for transformation:
    static public void applyXSLT(Document docXML, InputStream isXSL, PrintWriter pw) throws TransformerException, Exception {
            // instantiate the TransformerFactory.
            TransformerFactory tFactory = TransformerFactory.newInstance();
            // creates an error listener
            XslErrorListener xel = new XslErrorListener();
            // sets the error listener for the factory
            tFactory.setErrorListener(xel);
            // generate the transformer
            Transformer transformer = tFactory.newTransformer(new SAXSource(new InputSource(isXSL)));
            // transforms the XML Source and sends the output to the HTTP response
            transformer.transform(new DOMSource(docXML), new StreamResult(pw));
    }If an exception is thrown during the execution of this code, its error message is displayed on the web page.
    This is the listener class:
    public class XslErrorListener implements ErrorListener {
        public XslErrorListener() {
        public void warning(TransformerException ex) {
            // logs on error log
            System.err.println("\n\nWarning on XEL: " + ex.getMessage());
        public void error(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nError on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
        public void fatalError(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nFatal Error on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
    }When I have an error in the XSL stylesheet (for examples a missing closing tag), I can find on tomcat logs the real cause of the error:
    [Fatal Error] :59:10: The element type "table" must be terminated by the matching end-tag "</table>".
    Error on XEL: The element type "table" must be terminated by the matching end-tag "</table>".but on my web page is reported just the TransformerConfigurationException message that is:
    "Could not compile stylesheet".
    How can I display the real cause of the error directly on the web page?
    Thanks,
    Andrea

    This code is part of a bigger project that let developers edit XSL stylesheets through a file upload on the system and we can't impose the use of any tool for checking the xsl. So, I need to display the transformer error on the web page.I see. This code is part of an editorial/developmental tool for developers to create and edit XSL stylesheets.
    As part of the editorial process, XSL errors during editing can be considered a normal condition. In other words, it is normal to expect that the developers will generate XSL errors as they are developing stylesheets.
    In this light, handling the XSL transformation errors is a business requirement that you need to handle. Using the Java Exceptions mechanisms, e.g. try / catch are inappropriate to handle business requirements, in my opinion.
    I suggest that you look at how you handle the occurence of XSL errors differently than what you currently have. You need to:
    (1) capture the Transformation exception on the server;
    (2) extract the message from the exception and put it into a message that can be easily understood by the user;
    The current error message that you have going to the web browser is not useful.
    And you should not have the Transformation exception sent to the web browser either.
    What you are attempting to do with the exception is not appropriate.
    Handle the Transformation exception on the Business tier and use it to create a useful message that is then sent to the Presentation tier. In other words, do not send Java exceptions to web browser.
    />

  • How can I display True/False in my dropdownlist as "Yes" and "No"?

    Hi All,
    I want to bind a dropdownlist to a boolean value (so it's either true or false).  I'm particularly interested in using two-way binding to when the user changes from "yes" to "no" the boolean value automatically changes from "true" to "false."  But, I want the user to see "yes" and "no" as the options, rather than "true" and "false".
    How can I display "yes" and "no" and still take advantage of binding?  Or can I not use binding in this circumstance?
      -Josh

    Solution 1:
    In order to display Yes/No for True/False, you may specify labelFunction for the dropdownList.
    In MXML:
    <s:DropDownList labelFunction="myLabelFunction" />
    In actionscript:
    private var arr:ArrayCollection = new ArrayCollection(["true","false"]);
                private function mylabelFunction(item:Object):String
                    if(item.toString() == "true")
                        return "yes";
                    else return "No";
    OR
    Solution2:
    may be u can try making an array collection like
    private var arr:ArrayCollection = new ArrayCollection([{label:"yes",value:"true"},{label:"no",value:"false"}]);
    and specify labelField for the dropdownList like
    <s:DropDownList labelField="label" dataProvider="{arr}" />

  • How can I display  contacts in a relationship

    I have companies in my CRM. I have a customers/contacts in the CRM I have tied as a relationship with each companies. How can I display all the records/contacts associated with a company? I have a already created a secure zone, so the company user would have logged in. Is this possible? If not, any workaround?
    The only workaround I thought of is to use webapp to import the company data and create another web app containing the employees data. Then link both tables/webapp using datasource. But the way the client's data is structured could create a lot of problems going forward.
    Any suggestion, help will be appreciated

    The relationship feature and how companies work currently in BC is really limited. It is an association and not true relationships at the moment. You cant output a company and show all its relationships at the moment.

  • How can I display & split the audio & video from the same digitized clip?

    I digitized a scene into iMovie that I edited on a professional system which I don't have access to anymore. The whole scene is 1 clip. Now I see a few tweaks that I want to make, so I was hoping to do them in iMovie.
    I want to "pull up" the audio in one section - meaning I want to take cut about 20 frames of audio from the end of a shot, and then move all the other audio up to fill the hole. To compensate for the missing 20 frames, I'll cut video off the head of the next shot. Some call this prelapping. Some call it an L-cut. Some call it asymmetrical trimming. Either way, I can't figure out how to do it in iMovie.
    My clip appears in the timeline as one track - a single track that contains the video and 2 audio tracks. How can I display the audio that's tied to the video on its own track? Then I think I could split audio & video wherever I wanted and trim things up - but I can't figure out how to do it.
    Am I asking too much of this software?
    BTW, I never see the option to "Split audio clip at playhead". I'm not displaying clip volume or waveforms. Choosing to display waveforms doesn't show me anything. Maybe iMovie thinks I'd only want to see waveforms of audio that isn't tied to my video-and-audio clips?
    Thanks in advance for any help...

    Jordon,
    "Am I asking too much of this software?"
    No, you're not.
    You first want to select your clip(s) and choose Advanced>Extract Audio.
    This will copy the audio from the video clip and place it on one of the two separate audio tracks while lowering the audio level to zero in the original video track.
    You can now edit and move the audio independently of the video.
    With the audio clip selected, you'll find you now have access to Edit>Split Selected Audio Clip at Playhead.
    Matt

  • How can i display a list of all the names stored in the Mail app?

    When sending an email, the program shows a list of names according to the first and subsequent letters that I type into the To: field. There are times I cannot recall someone's email user name. How can I display a complete list of all the names Mail has stored? I know that I can go to the To: field then type in the letter A, then write down all listings under A, and then repeat for each letter of the alphabet, but there should be an easier method.
    I have perhaps dozens of names in Mail, but only five names in Address Book, so the latter does me no good.

    On the menubar, Mail > Window > Previous Recipients
    Regards,
    Captfred

  • How can I display more than one value in Calendar ?

    Hi,
    the standard (example) script allows for the display of one value only (as I understood). How can I display two or three values, from the very same table ? Students of mine during an HTMLDB workshop in Leipzig did ask that question.
    Do we have a more detailed docum. on the use of the calendar ?
    pls kindly advise. TIA.
    Bernhard

    my solution:
    Source fo the calendar starts:
    snip>
    declare
    q varchar(32767) := null;
    begin
    q := 'select "ETA", <--- Date Field and concatination of fields as follows:
    "SCHIFFSNAME"|| "ETA_TIME"|| "TERMINAL"||''(br*)'',
    null,
    null,
    null,
    null
    from "#OWNER#"."SCHEDULE"'; . . . . . . .
    snip>
    comment on (br*) - you have to use "<" and ">" instead of "( " and ")" to have the "break/new line effect"
    brgds
    Bernhard

  • How can I display images that are not included in any collection?

    How can I display images that are not included in any collection (some filter or smart collection)? A smart collection with parameters "Collection - contains - empty field" does not work. Lightroom 5.

    Thank you! Good idea! I ordered letters of the alphabet (space separated), and it works.

  • How can i display all the query items to a table?

    how can i display all the query items to a table in a jsp file?
    i always have an out of memory error..

    any body??any idea?
    is it possible thru configuration or i have to write a program by the abaper??
    Biswa

  • How can I display all of my bookmarks along the left side of my browser window like earlier versions of Firefox?

    I like the bookmarks on the left side of the screen. I don't want to be navigating through a tree of all of my various bookmarks. How can I display all of my bookmarks along the left side of my browser window like earlier versions of Firefox?

    View > Sidebar > Bookmarks (Ctrl+B)
    Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily if the Menu Bar is hidden.
    *https://support.mozilla.com/kb/how-do-i-use-bookmarks

  • How can I display all my e-mails.  Only some of them show up now...thanks to an apple representative in the apple store

    How can I display all my e-mails on all my Apple products?  Only some of them show up now...thanks to an apple representative in the apple store.  Also, he put my oldest emails in POP (???)

    How can I display all my e-mails on all my Apple products?  Only some of them show up now...thanks to an apple representative in the apple store.  Also, he put my oldest emails in POP (???)

Maybe you are looking for

  • Sort table columns in a table and context created dinamically

    Hello all, I have implemented the table sorting several times in another developments, but now I'm facing a problem. I have created the table and context node that I need to sort dinamically (before somebody ask me why, I would say that it's the only

  • Wireless Printing set up

    Hi, My printer is no longer on my network because we've upgraded the Modem, etc.  When I was ready to reconnect it to the network in order to print wirelessly the SET UP ASSITANT is showing on the bottom of the screen as an interrogation mark icon.  

  • Mixing Adobe Versions

    I currently have Adobe Design Standard Edition CS3.  I just learned that I need to purchase Dreamweaver.  Should I buy Dreamweaver CS3 or CS4? If I decide to purchase the Adobe Web Standard Edition suite of apps instead of standalone Dreamweaver shou

  • Error Deployment file CAF-UM with SDM

    HI All I have a problem in the SDM when I deployment the file CAF-UM I got  this  message: Unresolved dependencies found for the following SDAs: 1.: development component 'caf/um/relgroups/admin'/'sap.com'/'MAIN_APL70VAL_C'/'963666'/'1' dependency:  

  • Sir th vs2010 giving error in installing that error is in

    temp directory jdk is not valid  directory setup cannot be continued