DAQmx Custom Scaling Issue

I have created custom scaling for DAQmx. I have the following issue similar to this http://forums.ni.com/t5/Multifunction-DAQ/daqmx-custom-scaling-setup-issues/td-p/805374.
I am scaling a 0 to 5V signal to 0-100 sccm.
the slope is 20 with a Y-intercept of zero.
Everything scales fine up to 1.07V then it displays 21.56 sccm for any measurment above this voltage.
Cant figure out what i am doing wrong. I have verified the DAQ card is measuring volts correctly above 1.07 in NImax.

teslaaaa wrote:
Thats not how i read this:
maximum value specifies in units the maximum value you expect to measure.
minimum value specifies in units the minimum value you expect to measure.
Max values measured is -10 to +10V , If you are correct shouldnt it say "max scaled value" ?
It is the maximum value of the number that will come out of the DAQmx driver.  Since DAQmx applies that scale for you, it is post scale value.  So you really need to put in 100 sscm for your maximum.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Custom Scaling Issue

    Hardware: I have a SCXI - 1000 being controlled by a SCXI 1600 module. I am reading a voltage into a SCXI-1100 with a SCXI-1303 as a terminal block.
    Software: SignalExpress 2.5
    OS: Windows XP
    Signal Input range is set at -10 to 10 Volt range. I tried to setup a linear custom scale =>  
    Temp = 233.4(Voltage) - 18
    With this scale the temperature maxes out at 28.678, but if I take the scale off the voltage is not capped and keeps moving. Can anyone tell me what is going on?

    Hi Jack
    Let see if your temperature maxes out at 28.678 that will correspond to a voltage of 0.199 and can infer from your post that without the scale you are able to read more than 0.199 volts.
    I have two solutions for you: first you can change the “Signal Input Ranges” to a range including the result in temperature that you are expecting, see how the “scaled units” changes from volts to “custom”. Second you can create a formula to scale the volts to temperature and avoid changing the “Signal Input Range” to the new custom scale.
    I hope it helps
    Message Edited by Jaime F on 11-07-2007 05:54 PM
    Jaime Hoffiz
    National Instruments
    Product Expert
    Digital Multimeters and LCR Meters
    Attachments:
    input range.JPG ‏114 KB
    formula.JPG ‏73 KB

  • Custom scaling of DAQmx channels

    Hello,
    I am attempting to set up a triggered acquisition using DAQmx custom scales with 1 virtual channel containing 3 physical channels.  What I am trying to acheive is to have independent scaling applied to each physical channel input.
    I have attached a snippet of my code - when I examined it in operation, only the last channel in the array is applied to the task with the final array scaling values.
    Could anyone give me some advice on how to improve this?
    Regards
    Dave
    Attachments:
    customScaling.png ‏66 KB

    I am not sure what is happening in your customscaling.vi as you havent posted it.
    I would create the custom scales first and apply it while the task is being created as below. You will need to adjust the values as necessary.
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • Acquire 2 digital signal with custom scaling (Engg Units)

    I am a newbie to DIO world.
    I have write a VI to acquire 2 digital signals. one from a load cell and other for motor rpm (pulses). I need to acquire these two signals and then convert them into engg units using custom scaling and write them to a txt file with time stamp.
    Please suggest best ways to accomplish this task.
    Thanks
    DAQG
    Solved!
    Go to Solution.

    Look at the examples on DAQmx in the example finder.
    You wouldn't actually be acquiring 2 digital signals.  You would be acquiring an analog signal from the load cell.  A digital or counter acquisition is what you would acquire from the motor.  Search for analog measurements and counter measurements in the example finder.  Some of the example should show you how to apply the custom scaling.

  • How do I fix this printer scaling issue?

    Copied from my post on Experts Exchange...
    I have a client running an OS X Server with Snow Leopard 10.6. Their office has iMacs and they print a variety of formats (PDF, DWG) from different programs.
    The problem is that the prints are not scaling properly. When set to a certain scale, the measured print is off by 2% or so.
    They also run Windows 7 in a virtualized machine via Parallels, and they are not experiencing the problem through windows.
    The printer in question is an Epson Stylus Photo 1400. It is connected directly to the OS X Server via USB. The printer is then shared via Server Admin using all protocols.
    On a client Mac OS X machine, I add the printer through System Preferences, Printers, and select the printer. When adding, I use the Gutenprint driver for this particular printer because for whatever reason, the standard driver will not print correctly (prints half-way, wrong size, etc.).
    I have tried restarting the Print Server, removing and re-adding the printer with the same driver, updating the Gutenprint drivers from 5.2.3 to 5.2.7. I even deleted a CUPS plist file thinking it would do something but apparently not.
    The prints used to print just fine. I don't know what to try as I am exhausting the research solutions I have found thus far online.
    Any help is greatly appreciated.

    In addition to Matt's suggestions, check what driver is being used on the server. If the Epson driver is being used on the server but the clients are having to use Gutenprint as you have mentioned, then this can also cause scaling issues. So if you can create the server queue using the Gutenprint driver (for some printers this can be tricky) then this can help. And with this queue using the Gutenprint driver I would then try printing a PDF directly from the OS X server to see if the same scaling issue occurs. If the server prints without the 2% reduction then you can concentrate on the client.
    And for the client, as a test, I would also try connecting the printer directly to a client Mac via USB and also see if the same scaling issue occurs. But ensure you do use the settings Matt has suggested, because the scale to fit does catch out a lot of users.

  • Scaling issues with Windows 8.1 and 3200x1800 displays?

    What about scaling issues with CS6 Illustrator and Photoshop?  I have a hidpi 3200x1800 13" laptop with win 8.1 and can't use the software because of the tiny text.
    Thanks,
    PK
    Sent from my iPhone

    CS6 was released before HiDpi displays were common and there are no adjustments in that program.
    You can try going into Preferences > Interface and changing the UI Font Size to Large.
    You could also try lowering your display resolution until  is decently readable.
    Another step is joining Creative Cloud. Photoshop CC 2014 has 200% UI Scaling.
    $50/month for all apps or $10/month for Photoshop/Lightroom.
    There are intro and educational offers if you can get on them.
    Gene

  • QHD+ Resolution Scaling Issues Windows 8

    I've read that QHD+ resolution monitors like the Dell Precision m3800 with a 3200x1800 resolution screen are having scaling issues with Windows 8, and even 8.1. Some programs scale correctly, but I have specifically heard Adobe programs including Adobe After Effects do NOT scale correctly.
    Are there plans to fix this with the next Windows release? Or a patch before then?
    Any rough estimate as to when that would be?
    Does it work at the moment to scale the monitor down to a lower resolution to fix it? Is it in fact tested and not just assumed. (I have no way of checking and can't get a straight answer)
    I want to buy this laptop soon, but I need it for After Effects and if it's not usable, it won't be a good buy. Would love to have some concret answers!
    Thanks!
    Kim

    The CC versions of Adobe programs support high-DPI displays, but not older ones. If you use an older version, this won't change. Nobody goes back to old code.
    Mylenium

  • Surface Pro 3, Remote Desktop, multiple monitors, Windows 8.1 DPI scaling issues

    I have been evaluating Surface Pro 3 and once of the attributes is the display. Here is the description of the environment and the remote desktop display issue.
    Surface Pro 3 (Windows 8.1 with latest firmware and Windows updates) has 12 inch built-in screen with native resolution 2160x1440. The Surface is docked and an external monitor (native resolution 1920x1080) is connected to the docking stations. The
    display configuration doesn't allow for different scaling for each monitor, single scaling value is used for multiple monitors. This is an issue as the recommended scaling of 150% is optimal for small built-in screen of Surface but it is not optimal for
    large screens of external monitors. Also this scaling is "inherited" by a remote desktop session which results in objects being too large on the remote desktop sessions or sometimes even blurry/fuzzy.
    Can the blurriness/fuzziness of the remote desktop session be resolved? 
    Z

    Hi Colin,
    Thanks for the response. I installed the latest firmware and patches about a week ago and the scaling issue improved. It is not optimal yet as some graphical elements are still out of proportions but I do not want to spent more resources on this subject
    anymore.
    Best regards,
    Zbysek
    Z

  • Graphics scaling issues in Flash Builder 4.5.1

    Please review this screen shot. Details follow the image.
    FB 4.5.1
    applicationDPI = "160"
    Graphics using MultiDPIBitmapSource scale fairly well.
    Graphics used for these properties do not scale well at all:
    1) ViewMenuItem's "icon" property.
    2) List itemRenderer IconItemRenderer "decorator" property.
    3) TabbedViewNavigatorApplication's "splashScreenImage" property.
    These graphics assets end up with horrible scaling artifacts, making them unusable. So, I cannot use icons with Menus or Lists or a splash image.
    I've reviewed all of Adobe's documentation and followed all of their recommendations for creating graphics assets for use in a mobile applications. Simple graphics with no curved lines or angles less than 90 degrees scale well. Anything else does not.
    Attached is a screen shot comparing the scaling issues at 160, 240 and 320 dpi with applicationDPI = "160". It is using an FXG graphic created in Illustrator CS5.5.
    The FXG graphic was embedded in the s:IconItemRenderer  like this: decorator = "{images.arrow_list_icon}". 
    For testing purposes, I also tried switching the decorator at runtime based on the applicationDPI, but of course this fails as the application still scales the graphic whenever the application's applicationDPI property is specified. 
    <s:List>
    <s:itemRenderer>
    <fx:Component>
    <s:IconItemRenderer
    decorator = "{chooseDecorator()}" 
    <fx:Script>
    //This code selects a different FXG asset based on the DPI reported at runtime. 
    import images.arrow_list_icon160;
    import images.arrow_list_icon240;
    import images.arrow_list_icon320;
    import mx.core.FlexGlobals; 
    protected function chooseDecorator():Class {
        var rtnVal:Class;
        switch (FlexGlobals.topLevelApplication.runtimeDPI) {
            case mx.core.DPIClassification.DPI_160:
                rtnVal=images.arrow_list_icon160;
                break;
            case mx.core.DPIClassification.DPI_240:
                rtnVal=images.arrow_list_icon240;
                break;
            case mx.core.DPIClassification.DPI_320:
                rtnVal=images.arrow_list_icon320;
                break;
        return rtnVal;
    </fx:Script>
    Has anyone come up with methods which can be used to avoid scaling issues with these items when setting the applicationDPI property?

    Chances are that you'll get better answers for this question on the Flex general discussion forum. This forum is visited more by engineers on the tooling team while the latter has people from the Flex SDK team.
    -Anirudh

  • Custom Scaling greyed-out, still no answer on boards.

    I'm still looking for an answer on how I can access my custom scaling options.
    Changing the resolution does not affect it. I have a 1600x900 moniter, and I would like to change the aspect ratio. Can someone please tell me how to access these options?
    What is custom scaling:
    (These options are not actually availiable)
    Custom Scaling Selects how displayed information on the monitor will be formatted. Select:
    Fill to Screen - Image fills the entire screen and might look distorted or elongated because of non-proportional scaling of height and width.
    Fill to Aspect Ratio - Image is sized to fit the screen and maintains proportional image.

    What is the markup that you have used for the gallery pages? It looks like gibberage to me which is a far cry from HTML.
    Gramps,
    Gibberish because it's a link to an SWF file, not HTML.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Custom component issue

    Custom component issue
    According to customer requirements, we want to get such an effect in the development of custom components:
    Drag and drop custom components to the Flex builder work area, it can generate more than the default properties, not just generate "x", "y" attribute.
    【Details are as follows】
    We design a custom panel "CustomPanel.mxml" in the project development, then drag it into the workspace in the Flex builder development environment.
    View the source code found that it can only generate "x", "y" attribute in default. That is:
    <ns2:CustomPanel x="105" y="74">
    </ns2:CustomPanel>
    【Issue】
    How can we do that when drag the 'custom component' into Flex builder workspace,  we can generate "layout" attribute in addition to "x", "y" attributes?
    That is:
    <ns2:CustomPanel x="105" y="74" layout="absolute">
    </ns2:CustomPanel>
    【Note】
    The following code will be generated when the "panel component comes with Flex builder environment" is dragged into workspace.
    <mx:Panel x="121" y="134" width="250" height="200" layout="absolute">
    </mx:Panel>
    How it is done?

    I am sorry to bother you again.
    I have tried the web site content, but it can't helped!
    There is a custom component called 'Basket', source code is as follows:
    package picnic
    import mx.containers.Panel;
    public class Basket extends Panel
      public function Basket()
       super();
       layout = "vertical";
       setStyle("backgroundColor", 0x00FFFF);
       setStyle("horizontalAlign", "center");
    Here it is worked when the attribute "layout" is set to "vertical", but it isn't when "layout" is set to "absolute" !
    When the property is set to "absolute" phenomenon is as follows:
    Drag component such as 'Button' into "picnic component". It will automatically go to the top left corner position,
    just like the 'layout-attribute' is not set.
    Why is there such a phenomenon?

  • Scaling issue going from computer to flat screen tv.

    I have a client that has shot thousands of pictures from his world travels over the years some in the raw format some in jpeg. He created a slide show in Photoshop Elements of the pictures and when he shows them through his computer onto his large Toshiba HD flat screen some of them come out jagged (doesn't matter if they are jpeg or raw). I am assuming it is a scaling issue causing this. Question can some one please give me the right instructions on how to go about fixing this so all of his pictures come out crystal clear on his flat screen? Thanks.

    What is the current pixel dimension of the images that are causing the issue?
    Richard Lynch

  • How do I contact Verizon corporate regarding customer service issues?

        I'm trying to escalate an issue that I have with customer service and just can't seem to find out how to contact corporate to discuss my issue.  I have talked to customer service supervisers and asked them to escalate my complaint.  After being told it would be 5-7 days to respond, I'm still waiting.  Any help in contacting the right department at corporate would be helpful.

    Hello asianguy1964,
    I am available to assist and address any concerns that you may have in reference to customer service issue! May I ask is your posting regarding a billing issue, wireless service issue, or a interaction with a representative? Also, were you provided a reference number to your complaint? If you have a reference number then I can check on the status of your concern. Prior to investigating your reference number, would you be kind as to share the details of the issue as I'm condifent that we can If I am unable to provide a solution for you then the additional information will help me forward your concern to the appropriate channel. I look forward to hearing from you in the near future.
    Thank you...
    ArnettH_VZW
    Follow us on Twitter @vzwsupport

  • Custom scaling of data without MAX?

    Okay here's my problem. Hopefully you can help me or offer some helpful advice.
    I am creating a user interface for data acquisition (only analog inputs are used). Thermocouples (Type J and Type K) will be used, as well as factory calibrated strain gauges. Some other sensors that can be linearized on a 0-5Volt scale might be used too.
    I originally had my program set up where the user had to set up their channels in MAX and then come to the program I made. There will probably be a lot of scale/offset changes made by the users so channel configuration needs to be flexible. I changed the program to custom scaling. Instead of virtual channels the user just enters scale and offset values. These values are saved to a text configuratio
    n file and later used on raw voltage.
    Then I realized I would have to have the user input what type of sensor they are using because I'd have to compensate for CJC in thermocouples. AND, I dont think the SCC-TC02 is linear.
    *Am I right in thinking I will have to use case structures when I finally scale data for LINEAR versus J THERMOCOUPLE versus K THERMOCOUPLE?
    *How innacurate would my readings be to use the Labview's Thermocouple scaler VI and set the CJC to 1.25 volts (25 degC) rather than reading from Channel X+8.
    *Is there an easier way to do what I'm trying to do? I know people do custom scaling, how is it done?
    THANKS.
    I have:
    SC-2345 Module Box
    SCC-TC02
    SCC-SG24
    LabVIEW 6.1

    I'm not sure I see where your difficulty is.
    I have always used custom scaling, MAX never did quite enough.
    I have a cluster for each channel. The cluster contains a scaler (EU/Volt), an offset (EU@0V) and a channel type enum, among other stuff (channel name, units, filters, etc.)
    When processing the data, look at the cluster for that channel. Use a CASE statement on the CHANNEL TYPE value. If linear, multiply the volts by the scaler and add the offset - you get EU (Engineering Units) out. If the channel type specifies some other type, use the appropriate linearization routine.
    How innacurate would my readings be to use the Labview's Thermocouple scaler VI and set the CJC to 1.25 volts (25 degC) rather than reading from Channel X+8.
    <
    p>
    Depends on which type TC, and where you are on it's range. You might expect 20 degrees or more error at the high end of some ranges, without proper CJC.
    There's no easy answer to that question.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • Classic tween scaling issue

    I have two jpeg images that are converted to movie clip symbols. When attempting to scale one from zero out to infinity (zoom out look), I apply the classic tween and the image zooms out above the top of my document window instead of going straight out. Is there something I can troubleshoot to fix this? I belive the registration point on the symbol is in the center, but how can I confirm?

    Hey, the best bet would be what the above poster said, click on your symbol and push Q to select the Free Transform tool and change the registration point to fit in the center. If you're having any scaling issues using tweens I'd just remove the tween and try again, I find tweening always buggy.
    -Travis

Maybe you are looking for

  • Time Quota Generation

    Hi Experts, Scenario: For most of the employees, our client accrues 30 days of Annual Leave per year (2.5 Per month). However there are some exceptions where the client would like to store the yearly accrual entitlement in an infotype and then the sy

  • PO Print external send ,cannot be send when added manually.

    Hi, We have got a output type which is externally send.Since i have maintained the condition record for it, it gets automatically send the first time.   But when i add the output type manually OR is getting added automatically after making changes in

  • IMac G5 *no isight* Wont automatically sleep after 10.4 update

    We have had our iMac G5 since the first day they released it, and it has been perfect. Recently we bought an iPod, and it would not work with our computer so we brought it to the apple store and they made it so it had 10.4.11. Before it had 10.3. It

  • BAPI for CRMD_ORDER  SAVE

    Hi All, Could you pl let me know the BAPI that will invoke 'SAVE' okcode in CRMD_ORDER transaction ?  Thanks , Anita

  • Menus not working when flash movie is added

    We have some menus on our portal and if we add a flash movie, the submenus under the menus will not work on IE6, however in IE7 and firefox it works fine. When we remove the flash movie all the submenus will work on IE6, IE7 and firefox. Any help on