TDMS Properties show polynom scale although DAQmx ist scaled linear

I aquire data with DAQmx and write the data to a TDMS-file . The input channel is scaled linear, as shown in the picture "Code Skalierung". In contrast to this linear scale the channel-Properties of the TDMS-file show a polynom scale with totally different values.
How can I scale my AI linear and the properties show the proper scale-values?
Solved!
Go to Solution.
Attachments:
Code Skalierung.png ‏117 KB
Dateimonitor.png ‏145 KB

In DAQmx, we have scaling optimizations where scales will get combined whenever possible.  In your case, we have a polynomial scale for your given device (probably an M-Series or X-Series device) that will take the raw 2 bytes value for a sample and scale it to voltage.  Then, your linear scale on top of that scale will actually get combined into that scale so that m gets multipled by the second coefficient and the b offsetting the "offset" coefficient.  For example, in a x^2 + b x + c, the resulting optimized expression would be a x ^2 + m b x + c + b.  The same kind of optimization happens with linear on linear scaling and in some other cases.  For example, if there were 5 linear scales "in a row", these would resolve to a single linear scale representing all levels.
This has some key advantages: 1) It optimizes the performance of the operations as it only has to apply one scale, and 2) it helps some with precision in terms of floating point math, 3) in the case of TDMS logging, it saves some space in the file.
If you want to validate that this is what's happening:
1) Look at the data coming from DAQmx Read and compare it to the TDMS file.
2) Look at the channel property for the device scaling coefficients (I believe it's under something like Analog Input>>General Properties>>Data Transfer>>Device Scaling Coefficients in the Channel property node).  Then do the above calculation.
3) Try changing your m and b to something like 2x and see the resulting coefficients accordingly modified.
Hope this helps.
Thanks,
Andy McRorie
NI R&D

Similar Messages

  • Why when i download anything thru firefox and try to run it says its not a win 31 application and the properties show it is empty

    why when i download anything thru firefox and try to run it says its not a valid win 32 application and the properties show it is empty

    -> Tap ALT key or press F10 to show the Menu Bar
    -> go Tools Menu -> Clear Recent History -> '''Time range to clear: select EVERYTHING''' -> click Details (small arrow) button -> place Checkmarks on '''Cookies, Cache''' -> click "Clear Now"
    -> go to Tools Menu -> Options -> Advanced -> Network -> Offline Storage (Cache): click '''Clear Now''' button
    If the problem persist check this link:
    Unable to download or save files
    https://support.mozilla.com/en-US/kb/Unable%20to%20download%20or%20save%20files
    Check and tell if its working.

  • Show Time Scale

    Hi,
    Just evaluating CR 2008 having used CR 2008 Basic through Visual Studio 2008. The reason for considering the upgrade is to benefit from the enhanced formatting abilities in the full version.
    My problem is that I am trying to configure a stacked area chart to show various related financial figures over the period of a year or more. My problem with a regular stacked area chart is that because of the large number of data points (daily) the X axis becomes far too chaotic with the large number of labels. The obvious option seems to be to use the "Show time scale" option in axis settings, however when you chose this option the "Date axis area" chart type is automatically chosen and this chart type doesn't seem to allow stacking. Can anybody help?
    Secondly, is there any way to change the scaling and date format of the X axis when scaling by time e.g. is there anyway of changing the scale to monthly and showing the date format as mm/yy. Also if I wanted to view the chart using a yearly scale is there any way of doing this and setting the date format to yyyy.
    Kind Regards,
    Mark

    >
    Raghavendra Gadhamsetty wrote:
    > Did you try adding the formula year(datefield) in X axis by removing the existing datefield?
    >
    > Regards,
    > Raghavendra
    Thanks for the answer regarding dates. I'm still awaiting an answer on the following part of my question:
    "My problem is that I am trying to configure a stacked area chart to show various related financial figures over the period of a year or more. My problem with a regular stacked area chart is that because of the large number of data points (daily) the X axis becomes far too chaotic with the large number of labels. The obvious option seems to be to use the "Show time scale" option in axis settings, however when you chose this option the "Date axis area" chart type is automatically chosen and this chart type doesn't seem to allow stacking. Can anybody help?"
    Thanks in advance for your help.
    Kind Regards,
    Mark

  • Movie clip shows no time amount, but properties show the clip is 1.36GB

    Hi all,
    I have a weird problem. I set up my Canon HV20 with iMovie 6HD to capture a time lapse of butterflies comming out of their cocoon. I had it set to capture 1 frame every 90 frames. I started it at 10:55 pm last nite and woke up 5:25am this morning. Guess what! All four of them came out! I thought "GREAT", let me see what it caught. There are three clips;
    Clip 01 - time- 2:00:13, 1.37GB
    Clip 02 - time - 0:00:00, 1.36GB
    Clip 03 - time - 26:04, 284MB
    The properties show that clips 1 and 2 started capture at 10:55 p.m. and clip 3 started capture at 1:55 am. I could have swore that when the clips were in the clips pane, there was a time amount on clip 2. After i put it in the time line it went to all "0".
    What could have caused this? When I opened the package I see that clips 1 and 2 show the first frame of the clip, but clip 2 only shows the quicktime logo. It doesn't play when I try to play in Qt. Is there a time limit per clip? I thought it would just record as 1 big clip.
    Thanks for you help

    A bit confused by your statement
    bcboarder wrote:
    . I do not understand why the music is clearly on the Ipod but wont reconize it anywhere.
    Are you seeing your music listed in the iPod screen, or in Win explorer as in your earlier post?
    I can see all the songs in my Edrive>al's Ipod> Ipod Control> Music folder.
    A corrupted iPod database, will report zero music used, and have your music size reported as others, so you wont see the music in the iPod screen. Sorry, I thought there was some hope for you with iPodAccess, in recovery of the corrupted iPod database with your ratings.
    You can try to borrow and  use the Mac Disk Utility ->First Aid ->Repair.
    Of course, if your iPod Hardisk is in a bad state, from the Disk Diagnostic report, then all my suggestion are futile.

  • [svn] 3411: * Change layout-related width/height, explicit width/height, measured width/height properties from post-scale to pre-transform.

    Revision: 3411
    Author: [email protected]
    Date: 2008-09-29 16:44:01 -0700 (Mon, 29 Sep 2008)
    Log Message:
    * Change layout-related width/height, explicit width/height, measured width/height properties from post-scale to pre-transform. yay!
    * Flex3 containers are updated to support the new behavior.
    * Repeatedly scaling a component can differ from before, since we no longer accumulate rounding errors.
    * The change is gated by a version flag, in compatibility mode these properties don't change.
    Reviewed by Glenn, Ely
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/LayoutItemUIC.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/DividedBox.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/BoxLayout.a s
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayou t.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
    Added Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/PostScaleAd apter.as

    I am sorry to have to point out to you that you have changed SpryMenuBasicSkin.css so much that it is impossible to render any assistance.
    To start with, the menubar has an ID of MenuBar, yet in the CSS I only see this referenced as a CLASS as in
    .MenuBar  {
    background-color:#cccccc;
    font-family: Arial, Helvetica, sans-serif; /* Specify fonts on on MenuBar and subMenu MenuItemContainer, so MenuItemContainer,
    MenuItem, and MenuItemLabel
    at a given level all use same definition for ems.
    Note that this means the size is also inherited to child submenus,
    so use caution in using relative sizes other than
    100% on submenu fonts. */
    font-weight: normal;
    font-size: 16px;
    font-style: normal;
    padding:0;
    border-color: #ffffff #ffffff #ffffff #ffffff;
    border-width:0px;
    border-style: none none none none;
    I would suggest to start again.
    Once you have done that, supply a link to your site and we will assist you further.
    Gramps

  • 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

  • How to Programmatically Set Scale on DAQmx Channel? Possible LabView Bug?

    Hi folks.  I have researched this question here on the forums and think I know what I need to do, but it doesn't work.
    What I'm Trying to Do
    I am creating a DAQmx Analog Out task that will write to a dozen channels.  I would like to set the scale on each of those channels to one of a handful of custom scales that I've already defined in my project.  From reading various posts on this forum, it sounds like I want to pull each channel out of the task using the DAQmx Task property node, then set each scale by writing to the AO.CustomScaleName property within the DAQmx Channel property node.  See the attached screenshots and VI file.
    The Problem
    I keep getting error 200378 "Custom scale specified does not exist".  The custom scale definitely exists in the project, but the VI won't recognize it.  It sounds similar to the bug described in this thread:  http://forums.ni.com/t5/LabVIEW/Why-do-I-receive-Error-200378-quot-Custom-scale-specified-does/td-p/...  However, I've tried the various workarounds mentioned in that thread (opening VI outside of project, then from within project, etc) and I don't get any different results.  I'm running LV 8.6.1
    Questions
    Does this VI work for anyone else once you've defined a custom scale with the same name as the one in the VI?
    Am I doing something obviously wrong?
    Is there a better way to do this?
    Thanks for any advice, it is much appreciated.  I've attached screenshots of both the VI and the Project window showing the custom scale exists, and I've attached the VI itself.
    Attachments:
    custom_scale_screenshot.JPG ‏38 KB
    project_explorer.JPG ‏68 KB
    daqmx_task_property_nodes.vi ‏64 KB

    This workaround isn't exactly what you are trying to do, but I have made a set of VI's that will let you open up the DAQmx Assistants from LabVIEW code programmatically.
    Programmatically Call NI DAQmx Assistants
    You can call the VI to edit a channel and manually reassign the scale if you want to avoid going straight to MAX.

  • Why won't rich symbol properties show when the .jsf file exists?

    In FW CS4 I've created a rich symbol via the "create symbol script" command, then I reloaded my common library, and put the symbol from common librray on a page.  Even though I have a .jsf file in C:\Documents and Settings\<user>Application Data\Adobe\Fireworks CS4\Common Library\Custom Symbols to match my symbol, there are no symbol properties available for it on my page.
    I can use the create symbol script command again on this symbol & it comes up with the same properties I had already defined.
    What would stop symbol properties from showing up when the symbol is taken from a recently reloaded Common Library & placed on a page?
    I've discovered that I can see the properties when I use this symbol in a totally brand new Fireworks file, but I can't in an existing file that ever had that same symbol before, even when I tell FW to "Replace the existing item."
    Below is my jsf file contents.
    Thanks!
    5
    title,textChars,Title,Title;
    outline,visible,Active%20window%3F,true;
    win%5Fmin%5Fbtn,visible,Min%20btn%20visible%20%28not%20modal%29%3F,true;
    win%5Fmax%5Fbtn,visible,Max%20btn%20visible%20%28not%20Modal%29%3F,true;
    background,fillColor,fillColor,%23ffffff;
    function setDefaultValues()
        var values = new Array();
        values.push({ name:"Title", type:"text", value:"Title" });
        values.push({ name:"Active window?", type:"boolean", value:"true" });
        values.push({ name:"Min btn visible (not modal)?", type:"boolean", value:"true" });
        values.push({ name:"Max btn visible (not Modal)?", type:"boolean", value:"true" });
        values.push({ name:"fillColor", type:"color", value:"#ffffff" });
        Widget.elem.customData["currentValues"] = values;
    function applyCurrentValues()
        var values = Widget.elem.customData["currentValues"];
        Widget.GetObjectByName("title").textChars = values[0].value;
        Widget.GetObjectByName("outline").visible = values[1].value;
        Widget.GetObjectByName("win_min_btn").visible = values[2].value;
        Widget.GetObjectByName("win_max_btn").visible = values[3].value;
        Widget.GetObjectByName("background").pathAttributes.fillColor = values[4].value;
    switch (Widget.opCode)
        case 1: setDefaultValues();   break;
        case 2: applyCurrentValues(); break;
    Message was edited by: oic.now

    Solution Found:  I had to explicitly delete the existing copy in my orginal FW file even though when I used the one from the common library I told it to "Replace the existing item"  I guess the replace doesn't really work for rich symbols.  After I deleted the symbol with the same name from the document library & pulled in the one from Common Library, it showed its rich symbol properties.

  • In pdf, title in document properties showing "Untitled"

    Hi,
    I generated a pdf file using Adobe FrameMaker 11. After the pdf is generated, the title field in the Document Properties window (File > Properties) displays as "Untitled" instead of the original file name. How do i retain the same title name as the file name?
    Please help.

    Hi,
    To show the the title or the file name, you need to tell Acrobat what you want to show:
    So:
    In Acrobat, click File > Properties.
    In the Document Properties window, select the Initial View tab.
    Click on the Show list box, and select Document Title.
    Click OK to close the Document Properties window.
    Save the file.
    Note: you can review/set the file title in the Description tab
    Let us know if this helped you.

  • WEB Query properties shows blank window

    Hi,
    on some of our web templates we have the problem that the query property window shows up with no content at all.
    Properties for characteristics and key figures work.
    Has anybody seen this / has an explanation for this?
    We are on BW 3.1C / 013, BI-Content 3.30 / 09
    Bernd Dümmel
    EASTMAN KODAK
    Message was edited by: Bernd Dümmel

    I've done some further investigation and it seems to be linked to accessing images in the /images folder.
    In the orginal example I managed to get the label and input fields showing on the login screen by suppressing the lookup of the background image but;
    - Header image wasn't displayed
    - The input fields were non-functional (couldn't click or enter text into them)
    - It appeared that the 'real' input fields were where they would've been if the header image had been displayed.
    Clicking on these invisible fields caused the normal login form to be displayed with the header image.
    Don't know if this helps but it is very odd behaviour.
    Hardware / Software spec is:
    Android 4.1.1
    Tablet model U30GT-H

  • CSS Properties - Show Set Greyed/Grayed Out

    I bought the book from Adobe Dreamweaver CC and am on chapter 3 about CSS. The tutorial advises at one point to click "Show Set" on. However, on my Mac 10.8.x system the check box is greyed out. Can't toggle on or off.
    Anyone know where the problem may be?
    CSS Designer>Properties
    Thanks,
    David in Texas...

    Hi David,
    The show set checkbox is enabled only if a selector is seected .
    i.e : When you inspect i.e click a particular element in the Design Surface the CSS Designer panel would display the Computed list of properties. Notice that the Show set box would be grayed out here , because the properties dispalyed are the computed ones and do not belog to a particular selector.
    When you click on any selector in the Selectors pane , the Show set checkbox will get enabled. Jsut make sure you are not seeing the computed list of properties to have the Show Set checkbox enabled.
    Let me know if this helps..

  • Firefox properties shows shortcut only; how to see full features?

    Both my desktop and control panel show only a shortcut for Firefox, which doesn't have any setting for properties. How do I get the full version? Do I have to remove Firefox and reload it?
    Also, the update notice says that some add-ons may be disabled. How do I know what they are and what to do? Because of this I have been refusing the update.
    I have been using Firefox as my browser 99% of the time, and am definitely not a techie.

    Do you still see this file in the Downloads folder in the Library?
    You can right-click that entry and choose "Open containing folder" to go to the folder where the file was saved.<br />
    If this entry is grayed then your anti-virus software may have removed this file.
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See also:
    *http://kb.mozillazine.org/Unable_to_save_or_download_files
    *browser.download.manager.scanWhenDone

  • Display Properties shows 32mb, not 64mb

    I was wondering if anyone else has seen this:
    On the MSI Information tab of the Display Properties, the memory and type indicate 32MB SDRAM, instead of 64MB DDR as the manual shows.  This is a 64MB card, and it is detected as such by everything else on the system.  All benchmarks show the correct amount and type, 64MB DDR.  The driver doesn't seem to make a difference as I had the same properties whether I used the MSI driver or the NVIDIA.  And yes, I uninstalled the old drivers before I put in the new ones.  Anyone?  ?(

    I got everything to work good and wanted everyone to know the results.
    First of all, thanks to Deathstalker for all the help, here and in the other threads.
    I stole most of this info from the following thread:
    http://www.msi.com.tw/program/e_service/forum/viewindex.php?threadid=12236&boardid=9
    1st step is to download and install new NVIDIA drivers.  I've used the 41.09 release version from NVIDIA site and the 42.86 beta version from http://www.guru3d.com.  Both work well so far.  Be sure to uninstall the previous drivers before adding any new driver.
    2nd step is to DELETE msicpl.dll from the /Windows/system32 folder and the msicpl.ini from the /Windows folder after you install the NVIDIA drivers.
    3rd step is to use notepad to make a new file and put in it the following:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\NVIDIA Corporation\Global\NVTweak]
    "Coolbits"=dword:ffffffff
    "NvCplEnableAGPSettingsPage"=dword:00000001
    "NvCplEnableAdditionalInfoPage"=dword:00000001
    "NvCplEnableClearViewPage"=dword:00000001
    Save it with the .reg extension.  This will open all the extra options in the NVIDIA Drivers including the Core and RAM Speeds for your GF4.
    4th step is to double click the .reg file you created and install the registry entries.  
    5th step is to reboot and enjoy!  Check the Advanced tab in Display Properties to verify the tweak.  It's buried a bit, but it's there.
    This method worked great for me!  No more crappy MSI tabs with funky info.  If you need help, send me PM or IM.
    Best of luck!

  • I have transferred my music to new computer but music is not showing in iTunes - although is on the computer as if I select a song from the folder it will play that song via iTunes. How can I get my music to show?

    I have transferred my music to a new computer following the instructions carefully but for whatever reason the music does not show on iTunes on the new computer. The music is there as I can access it via My Computer and if I select a song it will show in iTunes and play - however I can not do this for every single track! Can anyone suggest something I have done wrong????

    Media was moved via external hard disk, and I think I moved the iTunes Media folder after consolidating it.

  • ICal doesn't show my calendars, although data clearly sits on my computer

    After a system crash, iCal doesn't show my calendars any more. It appears in the same state as when I opened it the very first time, i.e. contains empy "Work" and "Home" calendars.
    Yet,
    ~/Library/Application Support/iCal
    contains plenty of data that looks as if it were my calendar's contents, namely in the subdirectory "Sources".
    On the other hand
    ~/Library/Calendars
    does not exist. According to some documentation it should've been there.
    Luckily, I had only recently synchronized my iPod, and I can still read my calendars from it.
    How can I make my calendars re-appear in iCal, either based on the data that are still on my laptop, or from my iPod?? And then, in the future I'll make sure to have a more professional backup. ;-(
    MacBook Pro   Mac OS X (10.4.9)  

    I'm seeing the same thing, and I can't even find where OS X stores calendars on disk anymore...

Maybe you are looking for