How to use DAQmx create linear scale

Hello. I have an output of an amplifier which is 10 mV/V, which is read by a USB-6002. This amplifier voltage range is 0 to 200 volts. Have tested the DAQmx create scale Vi, I don't understand how it works. Looked at the other posts here for answers, I still haven't understood how it works. As a first step, it says that it uses the y = mx + b equation for it. I don't know what the slope refers to except if it is the angle of the line. If someone would have an example that explains how it works, it would be great. I also tried to look at an example but could not find one. Thank you

Here is an explanation "improvised" y = mx + b.  If you think of 'x' as the input and 'y' as output, then you can consider "m" as the gain, and "b" corresponds to the offset, the output that you can read with zero entry.

If you think of this equation from an amplifier, many are designed to have zero output when there is no entry.  In other words, b = 0.  If you have a gain of 10 mV/V (which I guess means that a 1V input would give an output 10mV, then m, usually called "the slope" (which is the slope of the curve of output), serait.010/1 = 0.01.)

Note you describe the range of the amplifier as 0-200V, so the output will be 0 - 2V, well inside the ±10V USB-6002.

Bob Schor

Tags: NI Software

Similar Questions

  • How to use newly created database in oracle

    Hi friends,

    I created a new database in the name of the model and I dono how to use this database.

    can someone help me through the process step by step.

    Note: I use the oracle 11g and working in the command prompt

    I thank in advance

    2749241 wrote:

    In fact, I learn about dblink so I need to know how to use it

    I created db using DBCA

    After I created db as a model and when tried to use the fake database

    his spear a mistake as TNS Protocol adapter error...

    Help me to enter this dummy database...

    Thank you

    That error is normally due to the eitehr you have a bad SID or in the service of the database is not started. In order to check what applies to you. Do a Google search for the same mistake.

    Aman...

  • How to use that create the wavefrom

    I would like a Plugin of data from a custom data format. Example of following data:

    some_name_1 $ (name)
    $ (id) 1
    $ (Color) 1,000000 0.000000 1.000000
    $ (X axis) time [ms]
    $ (Y axis) [kN]
    0.00000000E + 00, -4.30788916E - 09
    1.0112.999e - 01, -2.26056017E - 02
    4.99011459E + 01, 3.88890062E - 23
    5.00010223E + 01, 2.55677929E - 23
    some_name_2 $ (name)
    $ (id) 2
    $ (Color) 1.000000 0.000000 0.000000
    $ (X axis) time [ms]
    $ (Y axis) [mm]
    0.00000000E + 00, 4.53233423E - 10
    1.01121999E - 01, -2.85587949E - 03
    4.99011459E + 01, 7.13293237E - 24
    5.00010223E + 01, 2.88725773E - 23
    some_name_3 $ (name)
    $ (id) 2
    $ (Color) 1.000000 0.000000 0.000000
    $ (X axis) time [ms]
    $ (Y axis) [g]
    0.00000000E + 00, 4.53233423E - 10
    1.01121999E - 01, -2.85587949E - 03
    4.99011459E + 01, 7.13293237E - 24
    5.00010223E + 01, 2.88725773E - 23
    * END

    File always come with channels. Allways channels have two column - time and values.

    I have loads whitch Plugin data to work for me, but I have a lot of useless weather channels. So I would like to create a waveformat channels rather than doubles all digital.

    Simple approach I have just add waveform properties does not work.

    Please how can I create waveform of this data format?

    The code I use is attatched

    Thank you.

    Radek

    Hi Radel_Codr,

    is the right approach to add properties of waveform.

    An important property is missing. See below the list of available properties for the waveforms and its data types:

    Call ChnValues.Properties.Add ("wf_samples", CLong (1))
    Call ChnValues.Properties.Add ("wf_increment", CDbl (0.1))
    Call ChnValues.Properties.Add ("wf_xname", "time")
    Call ChnValues.Properties.Add ("wf_xunit_string", "ms")
    Call ChnValues.Properties.Add ("wf_start_time", CreateTime (2015,8,12,12,10,0))
    Call ChnValues.Properties.Add ("wf_start_offset", CDBl (0.1))

    Except "wf_samples", all properties are optional. Please follow the explicit data type conversion for property values.

    With our support of output channels 2015 a new function to add waveform properties, that simplify the creation of channels of waveform.

  • How to use LabView created notifiers in Teststand?

    Hello

    I have created a big enough sequencer with LabView engine and I start by creating a bunch of reporters, clusters, and queues.

    You can see in the first screenshot. See to see how I did it:

    http://forums.NI.com/T5/LabVIEW/unmatching-notifier-vs-type-declaration/m-p/3058887

    Then I tried to re - use these components with Teststand in a separate thread in order to control the background running the thread using notifications and messages.

    But where created Refnum LabView, Teststand await strings or object references.

    See the other 5 screenshots.

    No idea how the two match without having to rewrite all to help continue of Teststand?

    David Koch


  • How to use DAQmx Read to measure several analog channels

    I have two analog inputs using USB 6221 and I want to measure the voltage of each of them.  I use vi DAQmx-read and I select input analog, 1 sample, several channels, but I do not know how to connect several channels at the entrance of the physical channel.

    Hello, Bernadette.

    For reference - I would recommend ad DAQmx questions here:

    NEITHER Forums: Multifunction Data Acquisition

    http://forums.NI.com/T5/Multifunction-DAQ/BD-p/250

    There are several ways to add multiple channels for a fast task-ni.com look for "select multiple channels DAQmx" gives me this like the hit albums:

    2X8D7F5Z knowledge base: How can I select more than one channel of NOR-DAQmx LabVIEW?

    http://digital.NI.com/public.nsf/allkb/A3A05920BF915F1486256D210069BE49

    Hope that helps!

  • How to use Workbench created Thesaurus and keyword redirects in short 3.1.2?

    Hello

    I tried adding a few keywords redirects and entered the short Workbench from the thesaurus. After I add, I'm unable to see the keyword redirects or Thesaurus which is reflected in the dgraphs of Authoring/Live!

    I assumed that entries established will automatically override/merge the dev studio files when I run an update of the base. (There is no keyword entry redirects and thesaurus, that I created to this point by the studio of dev..)

    But, when I add them via the Developer studio and run an update of the base, I'm able to check their work in jspref as well as in the Production site. PFB the short version I use:

    1. PlatformServices - 6.1.3
    2. WorkBench - 3.1.2
    3. MDEX - 6.4.1
    4. CASE - 3.1.2


    I want to know how I have created/managed keyword redirects and thesaurus.


    I tried creating first entries redirects keyword thesaurus (in the workbench) and then runs an update of the base and vice versa, both approaches do not seem to work.


    I used the OOTB ProductCatalogIntegration set up to deploy this application and I have not changed anything in the AppConfig.xml either.


    Any help would be appreciated a lot because I tried to do this for a long time without any progress.

    Please let me know if you have any ideas on how to solve this problem.


    Thanks in advance,

    Arjun

    Hello

    Take a look at the logs recently changed in %ENDECA_TOOLS_CONF%\logs - probably something not correctly set so the IFRC/Workbench does not fit properly.

    Also, when you say Workbench 3.1.2 is there tools and frameworks 3.1.2 or stand-alone installation of Workbench (for implementations not - experience Manager)?

    Michael

  • How to use fonts created in the library?

    Hi guys.

    I created one police in my library et named GillSans and Assembly is with class: GillSans.

    How do I change the font from extfield t t ype " " text Imput ' using the police in the library?

    Thank you.

    You instantiate the police and use it to the TextField. For example:

    var font:Font = new GillSans(); // instantiate the font
    
    var inputText:TextField = new TextField();
    with(inputText){
        ...
        type = TextFieldType.INPUT;
        embedFonts = true; // embed font
        defaultTextFormat = new TextFormat(font.fontName, 12, 0); // set the font in the TextFormat
    }
    addChild(inputText);
    

    --

    Kenneth Kawamoto

    http://www.materiaprima.co.UK/

  • HTML5 canvas how to use movieClips created onstage goToAndPlay()

    I created a simple slide show and a series of small navigation buttons on the platform of html5 canvas. The goToAndPlay() function works OK on the main timeline, but not on timeline timeline navigation buttons. I don't know enough createJS to find a workaround. Journal of said browser gotoAndStop is not a function. I just want to do a mouseover and mouseout/mouseouthandler() managers, the button can play the role of his chronology.

    Any ideas?

    You must reference the movieclip.

    for example, if you try to control the movieclip as well as one that contains the code, use:

    this.gotoAndPlay ();

    not

    gotoAndPlay();

  • How to use the custom scale

    Hello

    I use the version of LabVIEW 2013. In my program, I used DAQmx create scale (linear). VI before the DAQmx create Channel.vi

    I have a 4 to 20mA current signal to be converted into pressure. It's I want any current value comes put DAQmx read to be subtracted by 4mA and then multiplied by 0.375.

    If we see equation y = mx + c, and then my x-value data from reading DAQ, m will be 0.375 and orderly will be - 0.0015

    If I feed these scale values create, I do not receive correct data. It is that I gave the slope as 0.375 intercept and y as - 0.0015 to create Scale.vi

    Is not the right way.

    If I try the way ordinary read DAQmx exit, then subtracting 4mA and then multiplying 0.375, I get correct pressure value.

    So if I want to the regular way or what I have to do scaling create to manage this calculation. Let me know. Thank you

    Hemagopal wrote:
    I have 6 bar working pressure of 4 to 20 my. Create scale can be used?

    If you are off to a factor of 1000.  Your scale should be y = 375 x - 1.5

  • Count the edges of the 2 signals TTL (Heidenhain linear scale)

    Hi all

    This is my first post here. :-)

    Currently, I'm doing a VI to be used with a linear scale. The linear scale gives 2 TTL signals that have an offset of 90 °. The change in distance of the linear scale is given by counting the fronts and edges of the two signals. See the following image: Ua1 is signal 1 and signal 2 Ua2. You can ignore the other signals.

    Now, I want to count the 4 edges in order to translate the 2 signals in the distance. This means that I need advanced two counters for Rising-rising, Rising-Falling Falling Falling, falling on the rise for 2 signals. I tried to do 4 points two counters in LabVIEW but that of course does not work, because an acquisition of data can access the card TTL or I did it wrong.

    Once I have to handle this, I also want to understand the meaning.

    My card TTL: NI 9402

    My electronic Heidenhain interface: 100 IBV (http://www.heidenhain.com/fileadmin/pdb/media/img/598_160-23.pdf - also at the origin of the image)

    Hardware configuration: linear scale-> IBV (Elektronic Interface)-> NI 9402-> LabVIEW

    Signals: Analog 3-> 3 TTL-> OR 9402

    I hope I do not double post. Any help would be greatly appreciated.

    I used Heidenhain linear scales in many applications.

    As stated in the previous post, the output of your balance is as a quadrature encoder. Therefore, you must use an entry of the DAQ card counter to measure the position of the scale.

    The desired X 4 mode is done by the meter itself (not possible with some old maps of OR).

    As starting point, see measure angular Position.vi that comes with examples of LabVIEW. On your linear scale, change the type of the polymorphic DAQmx create channel VI CI linear encoder and etiquette of pulses per revolution at a Distance by pulse.

    Feel free to post back if you need further assistance.

  • Error-200431 occurred at .vi DAQmx Create Channel (I-acceleration-accelerometer)

    Hello

    I tried to use DAQmx Create Channel to accelerometer and yet it responds with error (see below). When I use max OR to measure the accelerometer (I-acceleration-accelerometer), there is no error, and I see that acceloremeter works.

    OR PXI-1042 and I use OR-4462 card to measure vibration vith acceloremeter.

    Error-200431 occurred at DAQmx Virtual Channel Create

    Possible reasons:

    Physical channel selected does not support the type of measure required by the virtual channel you create.

    Create a channel to a type of measure that is supported by the physical channel, or select a physical channel that supports the type of measure.

    Property: I. MeasType
    Requested value:
    You can select: sound pressure, voltage: Microphone, accelerometer, Position: Eddy Current proximity probe, Force sensor: IEPE, speed sensor: IEPE

    Task name: _unnamedTask<104>

    Hi serdaryilmaz,

    I'm not sure why the accelerometer mode does not work, but it works very well in normal mode - it maybe has to do with the accelerometer, you?  Whatever it is, if it works with the voltage mode, I am happy that we found a way to make it work.  Is this an acceptable work around you?

  • I created a template. How to use it?

    I created a template for an e-mail message that I want to customize many different recipients. The model is in the 'Template' folder How to use this template? Thank you!

    _ http://KB.mozillazine.org/Thunderbird: _FAQs_:_Using_Templates

  • How to use AppleScript to create a menu shortcut in figures?

    Does anyone know how I can create a pop up menu numbers using AppleScript.

    say application "Numbers".

    activate

    say le first table of the sheet active of the document 1

    the value the format of cell "B3" to popup menu

    end say

    end say

    I can create a pop up menu by using this code, but this is the default list.

    If I have a composed list {'mouse', 'Keyboard', 'Trackpad'}, how would be to create a context menu with these items?

    Thanks in advance.

    Steve Longley

    Hi Steve,.

    I wonder why you feel the need to use (or what you think you would get to use) an AppleScript to create a cell in the context menu.

    With the help of numbers 3, it's a fairly simple process:

    Open a table, or use a column with enough empty cells to accommodate the menu in the menu items.

    Access to the list of items of a line in your column.

    Select all cells that contain entries.

    Open the Inspector to Format, choose the cell, choose the context menu.

    Any selected cell now contains the same menu, each set to the original value in this cell.

    If you want that each menu includes a "white" cell, then:

    Select all the cells (three).

    Modify the beginning with... pop - up 'Start with white '.

    Click on one of the cells, and then click control v next to the cell to display the menu choices. Each cell contains the same menu with the value initially entered in the selected cell, so what a no point, which will produce a cell empty, at the top of the list.

    The menu can be copied and pasted into other places or can be filled in the column or line using the handles to fill yellow appearing in the centres of the edges of the cell when the mouse cursor is brought near. The cell glued/filled setting will be the same as that of the pasted source cell.

    Kind regards

    Barry

  • How to use the model instead of RP pspice to create the new component?

    Hi, I need to create the model of opa890 of TI, but I found no spice I find model pspice, how to use it to create the new template part.

    Fouda, salvation

    I took a quick glance to the component but for some reason, the model pspice does not correctly applied to the component. The second problem was that the pins have been mapped properly. I've done the component for you with the model and print and attached it to this message. You just need to add it to your database of click with the right button on the component, and then clicking on save to DB component.

    If all goes well, you should start to see the results of the component. I hope this helps.

    Best regards

  • How can I pause and resume the analog output using DAQmx?

    I use a DAQ hardware to produce an analog waveform.  I would like simply to break the output of the wave and then resume where it left off.  I use DAQmx and LabVIEW 2011.

    I've seen examples that use a digital or analog break trigger, but I would take a break in the software only.  How can I do this?

    -Joe

    Hi Joe!

    I spent some time thinking about it and I realized that you can technically use a fundamental mission of the analog output, as you previously wrote that runs continuously. However, the generated output samples are controlled by the sample clock pulses, and can be manipulated to fit our needs "suspension."

    To do this, we will need another counter task that generates a pulse train (see our examples of shipping under material input and output > DAQmx > generating digital pulses > generate dig Pulse Train - Continuous.vi) that stops and starts the user to choose. This can be in another quite VI or controlled by software. We will use this as the task of our output sample clock.

    Then, the task of the AO, wire a constant to the sample clock source and select ' DevX/CtrXInternalOutput"based on the counter that you specified in the task of counter. You will need to choose "I/o name of filtration" and check the box that says "include advanced terminals' and right-click of the constant. See picture attached as a reference. In this way, the task of the AO is constantly running, but it generates only actually all data when the meter running task.

    Let me know if you have any questions!

    Have a great day!

Maybe you are looking for

  • Fictitious subscription.

    I received a notification stating that I am subscribed to the so-called music membership £49 per month. It is through my company email which is not related to my iTunes account. I don't have for her. When I try to connect through to cancel the subscr

  • After each restart, all my addons are turned off, I have to manually turn them on

    The first session I starts after a reboot, none of my addons are enabled. After activation and reboot, they remain activated for all future sessions until a reboot. I use Windows 7 64-bit.

  • Windows Update (KB3147071) fails to install

    When I check Windows Update it shows in the section IMPORTANT UPDATES: "update for Windows 7 for x 64-based systems (KB3147071)"-20 MB. When I try to install it, it fails and displays "Windows Update unknown error 800b0100. Then, whenever I try to cl

  • Is it better to clean install or upgrade to Windows 7?

    Windows 7 Ultimate - new installation or upgrade I have WIndows 7 Home Premium currently installed on my laptop. (It was preinstalled by the manufacturer when I bought the laptop.)I upgraded my main hard drive to SSD, so I got a mirror image on the S

  • Get Win8.1 Pro with Media Center in Dual Boot with Windows 10 Pro

    In December of 2012, I bought a new Dell XPS12 running 64-bit window 8.  Later, I bought "Win8 Media Center Pro Pack" for Windows Media Center.  Later, I upgraded to Windows 10 pro and lost Media Center.  Given that I had a legitimate copy of Windows