How to display moving from an analog linear potentiometer

I want to display an analog linear potentiometer moving in labview 9.0.

The POTENTIOMETER gives a signal of 0 to 5 volts and has a 38.5 mm race. I use a cDAQ-9174 and 9201 card to receive the signal.

I'm pretty new to labview and I have no idea where to start. I only managed to display voltage in a waveform chart. How to convert mm (or inches) displacement voltage?

I will be very gratefull for one that can help me.

-Isn't that a simple linear relationship? If 0 mm 0 V and 5 V = 38.5 mm, displacement must follow this formula:

displacement = (5 V / 38.5 mm) * measured voltage.

Just use the mathematical functions in LabVIEW to this implementation.

Kind regards

Jochen Klier

National Instruments

Tags: NI Hardware

Similar Questions

  • How to display data from the emp table?

    Hi everyone, this is my first post in this portal. I want to display the details of the table emp... for this I use this SQL statement.

    Select * from emp where mgr = nvl(:mgr,mgr);

    When I give the entry as 7698 it shows the matching records... and also when I don't give any input then it shows all the records except the Archbishop with null values.

    (1) I want to display all the records when I do not give any input, including null values
    (2) I want to display all the records that a Bishop is null

    Is it possible to integrate in order to include all these in a single query.

    Hello

    937440 wrote:
    Hi everyone, this is my first post in this portal.

    Welcome to the forum!
    Don't forget to read the forum FAQ {message identifier: = 9360002}

    I want to display the details of the table emp... for this I use this SQL statement.

    Select * from emp where mgr = nvl(:mgr,mgr);

    When I give the entry as 7698 it shows the matching records... and also when I don't give any input then it shows all the records except the Archbishop with null values.

    (1) I want to display all the records when I do not give any input, including null values
    (2) I want to display all the records that a Bishop is null

    Is it possible to integrate in order to include all these in a single query.

    It's a little unsure what you're asking.
    The following query always includes the lines where mgr is NULL and when the binding variable: mgr is NULL, it displays all the lines:

    SELECT  *
    FROM     emp
    WHERE     LNNVL (mgr != :mgr)
    ;
    

    In other words, when: 7698 = mgr, it displays 6 rows and when: mgr is NULL, it displays 14 rows (assuming you are using the table provided by Oracle scott.emp).

    The following query includes lines where Bishop is ZERO only when the binding variable: mgr is NULL, in which case it shows all lines:

    SELECT     *
    FROM     emp
    WHERE     :mgr     = mgr
    OR       :mgr       IS NULL
    ;
    

    When: mgr = 7698, this will display 5 rows and when: mgr is NULL, it displays 14 rows.

    The following query includes lines where Bishop is ZERO only when the link variab; e: mgr is NULL, in which case it shows only those rows where mgr is NULL. In other words, it treats NULL as a value:

    SELECT     *
    FROM     emp
    WHERE     DECODE ( mgr
                , :mgr, 'OK'
                )     = 'OK'
    ;
    

    When: mgr = 7698, this will display 5 rows and when: mgr is NULL, it displays 1 row.

  • How to display records from the xml file

    Hi all
    I created a region his area of research in reality
    with 5 elements and array of result area

    I want to search records based on the 5 elements and want to view output table


    I have the table name as hr_api_transactions, which contains many columns



    and also, this table contains a column
    name TRANSACTION_DOCUMENT of type CLOB()
    that files xml columns for each record
    I want to extract data from this xml file and want to display.

    Instance of the view - put the name of VO with which you are extracting data

    Discover the attribute and the attribute of file View - could see attribute by which you found the content of the file

    File name substitution - is not mandatory, let him

    The MIME type of the file: do not place anything, need to better manage programmatically through. Put the code in the below processRequest() method

    OADataBoundValueViewObject contentBoundValue = new OADataBoundValueViewObject(downloadBean,
      "FileContentType"); // here "downloadBean" is bean of message Download item
    downloadBean.setAttributeValue(FILE_CONTENT_TYPE, contentBoundValue);
    

    -Anand

  • How to display information from "local ip pool"?

    I do the simulation in Packet Tracer 5.2. I need to install ezvpn on 2811 router.

    There is a command to set up a pool of local ip like this:

    #ip pool local mypool 192.168.1.100 192.168.1.110

    My question is how do I check what local chickens are there and what ip is in each pool?

    Is there a command like "sh ip int br" other than "sh run"?

    The problem is with the Simulator - there are just enough functionality to perform basic tasks.

    The command is available in full router IOS.

    HTH >

  • Display data from the database in a table

    Hello

    How to display data from my database in an ADF table using a backing bean? I created an arraylist in the bean, but only the last row of my query is displayed in the table...

    Thank you...

    Hello

    Create a simple Java class that implements Serializable. Create attributes that represent each column in your table. This class represents on the row of your table. A list of these objects, and you can fill your af:table.

    Visit this link below for an example.
    Re: Is it possible to create a static array of ADF and the tree?

    Kind regards
    Amélie Chan

  • My browser (Firefox) accidentally moved from the toolbar on the desktop. How do I put on the toolbar?

    My browser (Firefox) accidentally moved from the toolbar on the desktop. How do I put on the toolbar?

    My browser (Firefox) accidentally moved from the toolbar on the desktop. How do I put on the toolbar?

    Do you mean Firefox shortcut icon sets? Just, take it with the mouse and drag it to the taskbar.

  • USB 6008 - how to display the two position linear pot (mm) and output (volts) in LabVIEW?

    I have a USB-6008. I have a linear potentiometer attached to the USB DAQ. Now I can view the output voltage of pot in LabVIEW through the AI0 on USB DAQ channel. However, I would also like to be able to show the position of the stem of the linear potentiometer (mm) that generates this tension. can anyone tell how to proceed?

    Since there is no lag, just use wired the primitive multiply with a constant of 20 to one of its entries, thread the other entry to your reading the voltage. Wiring of multiply it to a digital display to show location output.

    -AK2DM

  • The orientation of my Microsoft XP taskbar moved from the bottom of my screen to vertically along one side, how do I go back?

    The orientation of my Microsoft XP taskbar moved from the bottom of my screen to vertically along one side, how do I go back?

    The orientation of my Microsoft XP taskbar moved from the bottom of my screen to vertically along one side, how do I go back?

    It is a feature of Windows. You can move it manually by following the instructions on the link below. You can also run the automatic fix that will move you to the default position. To run the AutoCorrect scroll to the bottom of the page on the link below and click on Fix.

    http://support.Microsoft.com/kb/253679

  • How to display e-mails from multiple accounts in windows mail?

    I created a second e-mail account in windows mail (WLM, NOT) but I can't figure out how to display messages sent to this account.  I asked my sister to send a test message to this special address and when I hit send/receive I don't receive it.

    Hi Jason,

    Please ensure that you have followed all the steps listed in this thread for your second e-mail account. It seems that the messages do not come through your Inbox, which leads me to believe one or more of the following are has been forgotten. http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-mail-setting-up-an-account-from-start-to-finish

    I hope this helps and please post back with the results.

  • I can't have multiple files open at the same time! I need to compare the content from one to the other. How to display two files at the same time?

    I can't have multiple files open at the same time! I need to compare the content from one to the other. How to display two files at the same time?

    Hi sindres79946597,

    Open Acrobat Reader DC, navigate to the Edit-> Preferences-> General-> uncheck "Open Documents in the new tab in the same window.

    Now, reboot your system, when you open multiple PDFs that all will open in a new window so that you can easily compare.

    Kind regards
    Nicos

  • How do Camera Raw to open in PS, when moving from a BRUTE from LR image?

    How do Camera Raw to open in PS, when moving from a BRUTE from LR image?

    I know there must be an easier way.  I can not open no matter what I do.

    Hi RusticDiva,

    Silkrooster is correct on Lightroom. However, if you have Photoshop CC you can use Camera Raw as a filter to make additional changes to Camera RAW:

  • How to download pictures from computer to memory stick

    How can I download photos from the photo gallery on my computer on a memory stick, to load my digital photo frame.
                                                    
    Thank you gary bint

    [Moved from comments]

    How can I download photos from the photo gallery on my computer on a memory stick, to load my digital photo frame.
                                                    
    Thank you gary bint

    [Moved from comments]

    ===============================================
    If you insert the memory card into your Media Player
    or connect the frame to the computer via a USB cable and
    Reach... Start / computer... the media player or
    framework should be assigned to a drive letter... probably
    something like... Disk removable (e :))...

    If there are several removable disks, you can
    Click on it and choose open or explore in the
    menu to see the directory... one who displays
    the names of your photo will be the memory card...

    Once you have the identified the correct drive letter
    for the card, try memory which follow...

    Go to your folder of photos... right click on a thumbnail
    or a selected thumbnail and in the menu group...
    choose... Send to... (select the memory card drive letter)...
    For example... Disk removable (e :))...

    The option send to may not appear in Windows Photo
    Gallery if you prefer to work from there... so you will need
    to copy the selected photos and paste them into a new
    folder on your desktop... then you can use the send to
    option. Or you can navigate to start / computer and
    Click with the right button on the memory card, and then in the menu drive letter
    Choose Paste.

    Tip: Only a limited number of files can be copied to
    the root directory of the memory card... you can see
    a dialog box indicating: "the file or directory cannot be.
    created"... to correct this problem create folders on the
    memory card to sort your photos.

  • How to: display specific Xml entry in AS3

    I have a simple line of code that I'm trying to change to display a specific entry in an xml file:

    AS3 code:

    The first step is to enable the XML object

    AmbientSettingsXML = new XML();

    /*

    With the now active XML object, it is now for you to load an XML foramtted document.

    Any DTD or XLS format will be ignored.

    */

    AmbientSettingsXML.onLoad = myLoad;

    AmbientSettingsXML.load ("settings.xml");

    Before moving off into the program, make sure that the XML document has loaded

    Extract information from the XML file

    function myLoad (ok) {}

    if (ok == true) {}

    trace ("ok");

    trace (AmbientSettingsXML);

    }

    }

    The exhibition traces:

    Ok

    <? XML version = "1.0"? >

    < Parameters >

    < appearance >

    < Event > Streaming Demo 1 < / event >

    < / appearance >

    < / Parameter >

    So the question is, how to display the entry "Event" only? (String)

    Any help is appreciated,

    Thank you!

    var loader: URLLoader = new URLLoader();
    loader.addEventListener (Event.COMPLETE, completeHandler);

    var request: URLRequest = new URLRequest ("yourxmlfile.xml");

    Loader.Load (request);

    function completeHandler(event:Event):void {}
    var loader: URLLoader = URLLoader (event.target);
    var XML = XML (loader.data);

    XML. Child ("Appearance") [0]. Child ("event_title") [0];
    }

  • How to download pictures from computer to AT300

    How to download pictures from the tablet computer

    the photos are in alphanumeric order and I like to keep in the present order, once downloaded

    Thank you
    Jim

    Related topics in this forum you can talk to Toshiba.
    To be honest, I n t t see and Toshiba here connection

    However, you can connect the tablet to the laptop (I guess it helps a micro USB interface) and could move the files to the new tablet.

    After the images have been moved to the Tablet, you can use a file Android App Manager to have access to the files.

  • I've upgraded to a newer version of iTunes.  When I opened the new iTunes, all of these songs randomly appeared in my iTunes playlist!  I have NO idea where they came from.  Why they are on my computer, and how to remove them from my iTunes?

    I've upgraded to a newer version of iTunes.  When I opened the new iTunes, all of these songs randomly appeared in my iTunes playlist!  I have NO idea where they came from.  Why they are on my computer, and how to remove them from my iTunes?

    I think iTunes might be showing your iCloud music purchases. Go to the menu bar, and unselect display-> show iCloud music purchases.

Maybe you are looking for

  • How can I prevent the 4.01 Firefox invites me to upgrade to the beta version 5.0? I want to stay with a stable version.

    I was a beta tester for Firefox 4, but I want to stay with the stable versions that are compatible with my plugins for now. Whenever I start Firefox 4.01, he pompts upgrade me to version beta 5.0, which he called an important security and stability u

  • Want TO M9X67AV: The screen turns off, the computer remains on

    My screen seems to have a loose fitting. It turns off when it is tilted back. Just a slight pressure to the back of it turns on again, and then turns off. I tilt it forward to keep it on. The computer stays on, just the screen turns white.

  • File-no-based

    I have these three screenshots that I made on Autoruns, these s 'file not found '... It's a problem that they are absent, they are really in lack or maybe I did something to disable them?Any comment on this would be helpful, thanks!

  • Bridge?

    East of bridge as a program on the Creativ-Cloud Photo (Abo €11.98 / month) with included?Yes or no?Thanks in advance for an answer.

  • Download Illustrator problem

    I want to open my illustrator but my cloud rpet download error ive downloaded like 5 times it's something to do with the network[Title edited for clarity... MOD]