Custom scale inoperative in accelerometer task

I am using a NI 9234 to measure acceleration. In the Acceleration task, I have fixed the sensitivity at 1000mV/g and I am trying to use a Custom Scale to correct for the actual sensitivity of the accelerometer(~10mV/g). The excitation is set to Internal and 2mA. The input is AC coupled. When I run the task, the scale has no effect on the output values. With 1G applied to the accelerometer, the output remains at ~.014G(pk) regardless of whether a Custom Scale is used or not. Is this normal behavior for an accelerometer task?
LabVIEW 2009 SP1
NI-DAQ v9.1.1
Phillip Neir
GM Engineering
Solved!
Go to Solution.

2mA is the lower end of most sensors supply current.... however should work.
When you say you apply 1G, do you mean 1G peak @ say 160Hz? If you apply 1G static you will see only a small signal while the sensor is moved but no static change since the AC coupling (and maybe even your sensor) don't allow static measurements.
A quick coarse check: fix your sensor on a speaker and place a small brass nut on top of the sensor (or nearby)  and apply something like 50 to 200 Hz. Slowly increase the amplitude and watch the sensor signal. At an acceleration slightly > 1G the small object will lift off and bounce back and you can see it in your signal (and even hear it , but watching the signal is more sensitive )  
Greetings from Germany
Henrik
LV since v3.1
“ground” is a convenient fantasy
'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

Similar Messages

  • Custom Scale behavior with DAQ Task running

    Hi to everyone, I am implementing a Polynomial Custom Scale for a sensor, but I have doubt about what happens if I change a Custom Scale and my DAQ Task is running, I suppose that the Custom scale does not change on the fly but my questions is if I have to clear the Task to apply the new custom scale or is enough with Stop the Task and Start the Task again.
    I am using the DAQmx functions for the code. Thanks for your help.

    Hi AYanez!! 
    Thank you very much for using NI Discussion Forums!!  I found a post that deals with the same issue you are trying to solve for your application.  It seems that you have to stop the task for the new scaling properties to be applied.  Take a look into this thread:
    Programmatically applying a custom scale in an active VI
    Hope this helps!
    Regards,
    Anuar R.
    National Instruments México y Latinoamérica
    Ingeniería de Aplicaciones
    www.ni.com/soporte

  • Custom scale for counter input?

    Hello everyone,
    Is it possible to create a custom scale for a counter input? I saw there is a feature to allow input Custom Scale Name to the Channel Property Node. However, when I tried to create a custom scale to input to the channel, I got this error
    Error -200212 occurred at DAQmx Read (Counter DBL 1Chan 1Samp).vi:1
    Property: CI.MeasType
    Corresponding Value: Count Edges
    Property: CI.AngEncoder.Units
    Corresponding Value: From Custom Scale
    Channel Name: CountEdges
    Task Name: MyCountEdgesTask
    Do you know what is the problem with it? Thank you

    How do you have the channel set up? Can you attache the VI's that you are using? Is this a global virtual channel?
    Tim
    Johnson Controls
    Holland Michigan

  • Save custom scale while associated task is running

    Hi,
    I would like to know if it's possible to change the value of a custom scale while a task (using this scale) is running ?
    If yes, when will the new coefficients be applied ? 

    On the deivices I used, you have to stop the task and restart it to apply a different custom scale.
    Consider doing scalling "on the fly" with formula nodes, Polynomial Interpolation, lookup tables, or whatever works for your scale. This way, changing on the fly is easy.
    Richard

  • How to convert prescaled to postscaled values with custom scale?

    Hi,
    Is there any way to convert between prescaled and postscaled values using an arbitrary custom scale (i.e. linear, map, polynomial, or table)? 
    I'm trying to write a driver which allows users to choose an arbitrary (previously defined) custom scale, but I need to know within the program the values which are actually output/input, which means I need a way of determining the max/min values for an arbitrary custom scale based on the known unscaled max/min.  Surely there is a NI-DAQ internal function which accomplishes this task, but there doesn't seem to be a VI for it.
    Any ideas?
    -Lee
    Labview version 9.0f3

    Dustin,
    Thanks again for your suggestion.  I'm sure your example will be useful to others, but I'm afraid it doesn't actually address my question.  I guess I'm not being very clear.
    The point is that I want to keep track of the values currently being sourced on my analog output channels.  In my application, users can specify max and min values for the sources, which may reflect the hardware limits of the device (e.g. +/-10V in my case) or a more constrained set of software limits determined by whatever the channel is driving.  If the user tries to write a value outside this range, it will be coerced and the limiting value will be sourced instead (without generating an error in this case).  It is then this limiting value which should be saved in output memory, rather than the out-of-range value requested, to avoid users believing they have sourced a value they have not.
    If I then allow users to choose a custom scale, then the requested values are given in scaled units, while the device max and min are still unscaled (volts).  This means I need a way to convert the unscaled limits to scaled limits based on an arbitrary custom scale in order to accomplish the procedure described above.  I have attached an example VI that handles linear scales only.  Obviously this could be extended by adding a case structure to handle the other types of scales, but it just seemed a bit silly to me that there is no VI to accomplish this scaling already, given that it most certainly happens inside the various NI-DAQmx routines that accept custom scales.
    Much of this would also be easier if it were possible to 'read back' the currently sourced value from DAQ output channels, so I wouldn't have to fake it by keeping a local memory of them, but that is a separate issue.
    -Lee 
    Attachments:
    ApplyScaledLimitsExample.vi ‏23 KB

  • Custom scale with Create Channel CI Position Angular Encoder

    Hi!
    In my application I use angular encoders for position measurement. I programatically create channel (task) using DAQmx Create Virtual Channel, CI Angular Encoder instance. Prior to that I use DAQmx Create Scale to create custom scale for the measurement, to convert from degrees directly to meters. The problem is that when I use the task (Start Task for instance) I get the following error message:
    Error -200378 occurred at DAQmx Start Task.vi:4
    Possible reason(s):
    Measurements: Custom scale specified does not exist.
    Custom Scale: RowCounter
    Task Name: _unnamedTask<66>
    Maybe somebody can help me out with this one.
    I use the same principle to create custom scales for AI measurements, and everything works without any problems. I know the scale is created properly, as I tried saving the custom scale to max after I create it. I then used the scale without a problem when I wired it as a constant to the custom scale input of the DAQmx Create Virtual Channel vi. It only gives me problems when I create it dynamically, using Create Scale vi.
    Some technical info: I use USB-6210 Daq card for signal acquisition.
    I will appreaciate any help!
    Jernej

    Hey!
    The error message I get is as follows:
    Error -200378 occurred at DAQmx Start Task.vi:4
    Possible reason(s):
    Measurements: Custom scale specified does not exist.
    Custom Scale: RowCounter
    Task Name: _unnamedTask<66>
    I use USB-6210 Daq card for signal acquisition. The error occurs right after the DAQmx Start Task.vi on the counter task.
    As I said, the code runs sometimes without problems and then sometimes it returns an error. I noticed that if I run the CustomScaleProblem.vi on its own it runs ok. When I open the project with mine application, from where I extracted CustomScaleProblem.vi part, and then try to run the CustomScaleProblem.vi, it stops working. It looks like when I open the project it allocates some space which is in conflict with the scale part of the code. Then if I close the Labview environment and open CustomScaleProblem.vi and run it, it runs again without any problem. Well, for now I did a work around the problem by saving the scale in the program and then using it. This approach works fine.
    About the arm start trigger. I use it because I dont want the counter to start counting before the AI task starts. I noticed that if I use the AI as a start trigger, and I move the encoder before AI starts, the counter will not start with 0, but will start with a number indicating the encoder movement before the AI start. Is that the right approach if I want the encoder to start
    counting from 0 when AI starts?
    Thanks and kind regards
    Jernej

  • Why do I receive Error 200378 "Custom scale specified does not exist"?

    I am trying to perform offset nulling using an NI-9237.  I receive and error in regards to the custom scale even though I programmatically create the scale prior to the task.  I am experiencing the erro whne using LV8.2.1 but with LV8.6 the problem disappears (same code, just open in LV8.6 and run)
    The error is the following:
    Error 200378 "Custom scale specified does not exist" 
    Possible reason(s):
     Measurements: Custom scale specified does not exist.  Custom Scale: test
    Channel Name: LoadCell_StrainGage_Sim/ai0
    Task Name: _unnamedTask<F>
    I have attached the code in LV8.2.1
    Thanks
    Dan
    Attachments:
    test.vi ‏38 KB

    Dan,
    I tried your VI and it worked for me after I changed the channel from "LoadCell_StrainGage_Sim/ai0" to something that was on my system.  Before that, I got the same error.  So...are you sure that there is LoadCell_StrainGage_Sim/ai0 configured in MAX?  Stupid question, I know, but it was the only thing I changed.
    -Matt
    -Matt Bradley
    ************ kudos always appreciated, but only when deserved **************************

  • Creating a custom scale for current

    Hi guys,
    I need some help with creating a custom scale. I am reading motor current (analog I/P) and would like to display that on a graph and write it to a file. I need to use a linear scaling for custom scale. The slope is 2 and the intercept is 0. I've attache the code to make it clear what I am trying to acomplish. The way I've set it up right now is no scaling. There are 2 tasks in the code. I would like to create a custom scaling for the first task as seen in the attached code. I have done custom scaling using DAQ Assistant Express VI. But I dont see such options when I try to do the same with the DAQmx task. Please let me know how this can be done. Any help is greatly appreciated.
    Thanks,
    Raj 
    Solved!
    Go to Solution.
    Attachments:
    Current_Voltage_RPM-_sub_VI-1.vi ‏18 KB

    You both had me going nuts trying to figure how to get to that property. Basically just right click the DAQmx property node and "Select filter..." . This brings up the "Configure Filter Settings" where I chose 'show all attributes'. I could then get to the AI Custom Scale Name property.
     Interestingly when you use the Property Browser and select the magnifying glass you can get to that property...but you just can't select it if you have the filter set incorrectly. Lesson Learned.
    I also found this community example and that one.  
    Using LabVIEW 2010SP1 and TestStand 4.5

  • MAX custom scales give different values in LabVIEW

    I'm having a MAX issue I think.  I have several tasks configured to run on a CDAQ chassis.  Each channel in each task has custom scales defined in MAX.  When I run each task in MAX, I get properly scaled values.  When I run the same tasks inside a VI, I get junk.  As in, the values either aren't scaled or are scaled to something arbitrary.  Anyone seen this before?  Anything I should check into?
    Thanks.
    CLAD

    Hey,
    Do you see this behavior if you use a pre-built shipping example, or just in your custom application?
    Matt W.
    Applications Engineer
    National Instruments

  • Custom scale for load cell

    Hi
    I am using a load cell to monitor an impact force. The load cell has a fixture attached to it which results in a non zero output. I am using a custom scale to convert the output from the load cell in volts to force to Newtons.
    I am creating a custom scale and applying it to the task. I then want to be able to programmitically tare (zero) the load cell output before testing. However, my code does not work. There are no errors, but the gradient and intercept controls within the while loop do not function. Can anyone tell me why? I am aware that this could be done mathematically but I do not understand why the property node method does not work.
    I am using labview 2010 with the latest version of daqmx (9.17 I think). My hardware is the USB-6211 card.
    Many thanks.
    John
    Attachments:
    custom_scale.png ‏53 KB

    Hi John,
    Thank you for a good description of the problem you are facing, as I understand it you have set up a custom scale but it doesn't seem to be functioning as you expected.
    I have looked into this for you and have found a few examples which may help with the development of your application, I have also linked some articles for you.
    The custom scale will need to be created entirely before the task is created, so any modifications can only be done before acquisition begins.
    I hope this information is useful, and if you have any further queries please go ahead and post them and I will look into it for you.
    Thanks
    Stephanie L
    Applications Engineer
    National Instruments UK and Ireland

  • How to set a custom column in a workflow task.

    Hello,
    I'm looking for some assistance a bit with how to set a custom column in a Workflow Task.
    I have a List Workflow that starts when an item is created in a list. The workflow, platform type SharePoint 2013, starts a new task, Task1, with Content Type 1. This Content Type has a custom column called Age. Once the Task1 is completed a new task, Task2,
    with Content Type 2, starts and has the same column Age, as Task1.
    How can I populate the Age column in Task2 with the content of the Age column in Task1?
    Since I start the task by running "Assign a task to ..." Action I was thinking to copy the Age column from the Task1 to the list item that started Task1, which has a column Age as well, and then in Task2 to start another workflow - which is associated
    with the Content Type 2,  that would try to read the Age column from the list item that started Task2, which was set once Task1 was competed - I know it's complex but this is how I was thinking. 
    The problem with this approach is that I can't get a reference to the list item that started Task2 to read the Age from the list item.
    Is there a better approach? I use SharePoint Designer 2013 to design all this.
    Any assistance is appreciated.
    Thank you.

    Hello Sebastian,
    you can get the Age column from Task 1 and then update the Task 2 Age column with that value. I am not sure why you want to run another workflow on Task 2.
    You can perform below steps to set Age column from Task 1 to Task 2.
    1.  Create Task 1 using Assign a task , wait till the task is completed.
    2. Get the Age column value based on Task 1 once the task is completed.
    3.Create Task 2 using Assign a task ,  uncheck wait till the task is completed option.
    4. Update the Task 2 with Age column in Task1.
    5. Use Wait for the field to equal value , check for Task Status is completed or not.
    >>The problem with this approach is that I can't get a reference to the list item that started Task2 to read the Age from the list item.
    you can get the related item from task list item to get the main list item.
    Other option is, Use Javascript and CSOM  in task edit form to get the Age column from Task1 and prepoluate the Age value when Task2 is opened.
    Hope this helps.
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • When printing in Adobe, missing the Custom Scale option.

    Adobe Version 11.0.2
    Windows 7 64 bit.
    Doesn't matter what type of network printer I select.  When selecing to print a document, under Page Sizing & Handling, there is no "Custom Scale" option.  There is on other workstations. 
    Thank you.

    Very strange.  The only thing I can suggest is to update to 11.0.5.

  • How to Import Custom Scale using Field Piont I/O

    I need to READ   a 0 to 100 Newton strain gauge on graph chart. 
    It is a full bridge with an excitation Voltage of 10V.   The field point Input module FP-SG-140 is configured for a range of -3.9... to +3.9 mV/V
    I know how to create a custom scale using DAQ assist but the option does not appear using Field Point.

    Hello belangem,
    Have you considered using the Scaling and Mapping Express VI or programming your own scaling algorithm in LabVIEW to manually convert the strain readings to force?  The Scaling and Mapping Express VI allows you to apply similar types of scales to the DAQ Assistant, such as linear, logarithmic, interpolated from a table of points, etc.
    If you really need the Fieldpoint driver to perform the scaling for you, some Fieldpoint modules support scaling.  You can configure a scale on a channel in Measurement & Automation Explorer (MAX) by going to your Fieldpoint Items under Data Neighborhood, selecting a channel in your module, and click on the Scaling tab on the bottom of the screen.  Unfortunately, I don't have a FP-SG-140 module around to try out, but I know the scaling feature is available for my FP-AI-110.  I'm using Fieldpoint 5.0 with MAX 4.0.
    I hope this helps,
    Travis G.
    Applications Engineering
    National Instruments
    www.ni.com/support
    Message Edited by Travis G. on 06-22-2006 10:21 PM
    Attachments:
    FieldpointScales.Jpg ‏46 KB

  • Adding custom properties to a human task of a worklist

    How can I add custom properties to a human task of a worklist. I don't know if it is possible. I tried to read the oracle BPEL Process Manager Workflow Services API Reference, but this is unreadable :-). Classes, Methods and Parameters are not commented...
    Moreover where can I find a GOOD description of the Workflow Services API explaining the usage of the classes, methods and their associated parameters ?
    Regards. Yvan

    I means I would like to add some parameters to the task without having to load the payload. I would like for example to use these parameters to do query on worklist. Or may be there is also a mean to do search query on worklist using some values that are into the payload of the tasks. May be you can help me :-)
    Regarding the documentation of the worklist API, it is for me very difficult to understant the role of the method as for example SystemMessageAttributesType.setTextAttribute1() or SystemMessageAttributesType.setNumberAttribute1() and so on, if there is no javadoc available and it is the same thing for all methods of the API :-).
    Definitivly I would like to understand the Task entities and all available properties and action I can apply to it to know excatly what I can do with it. Where can I find this information ?
    Regards. Yvan

  • Why don't I see the "custom scale" option when I print?

    When printing PDF files using Adobe Reader 10.1.6 I do not have the custom scale option. Is this not available in this version?
    lagoliff

    Update it from iTunes on a computer as described at the bottom of this article; devices running an iOS version prior to 5.0 can't be updated straight from the device. Unless limited by the device's hardware, it will be updated to iOS 6.1.3.
    (81584)

Maybe you are looking for

  • Document Split for Currency Exchange while posting Incoming payment

    Hi Experts, Scenario: > Post incoming Customer payments using F-28 > posting entered today (14 Jan 2009), but posting date is 30 Dec 2008) > Tested in Clients 001 and 005 (same setup in terms of GLs, Customers, Vendors, etc) I was able to post the in

  • Problem with DSM-CC

    Hi! I'm working with Xlet to build an application that i would mount in a STB and specifically i'm writing some rows of code about DSM-CC but i don't know if it's right. I would want update a file called Box.txt (in my directory File) that i change f

  • Mapping Issue (Multiple to Single)

    Hi, We have an HR->XI->JMS scenario and the idoc to be managed contain all trips in the same Idoc HRTRPR01. However, we want to send only one trip per idoc. My question is, how can I within XI, when receiving all trips, perform a selection of all ido

  • Parallel processing in Info package

    Hi All, I want to increase the parallel processing for pulling the data from R/3 to PSA. I dont find any options available in Info package. Like DTP, is there any options available to increase the parallel processing from R3 to PSA. Please suggest ho

  • Itunes update error

    Hey all: I have winxphome, avast antivirus, windows firewall. I do not have norton or Zonealarm. I have used itunes without problem for well over a year. I am trying to update to 6.0.2 but have this error each time. I have tried uninstall, reinstall,