How custom scales come into effect

In my project, I created a task and some linear scales. Each channel within the task is assigned to a scale. In my LabVIEW code, I have to be able to change the scales. See the attachment for a simple piece of code that I use. This code is executed at initialization. The problem is that when I change the slope and the intercept at the origin, I have to run the application, he abandoned and run it again until the new settings take effect. What I'm doing wrong here?

Steffan,

You must stop and destroy the task, and then programmatically create a new task with the new salary scale.  See this thread.  http://forums.NI.com/NI/board/message?board.ID=250&message.ID=48410&query.ID=288342#M48410

Tags: NI Hardware

Similar Questions

  • DAQmx custom scale: How do you define minimum and MAXIMUM values?

    Hello everyone,

    I am currently using LabVIEW 2010 and meet the following problem with DAQmx custom scale: first, I created a custom linear scale (ordered originally = 0, slope = 50) and then a string that uses this scale. The real signal acquired from a NOR-9205 (module I) is in the order of-8 / + 8 Volts; When I try to read the measurement of the chain, it seems saturated.

    I discovered that the change HAVE. Max and the AI. Min by a DAQmx channel property node I can improve the situation, but the fact is: I was not able to define a range of-1000 / + 1000 for instance because it exceeds the maximum allowed, and I get an error!

    So, it is the custom to scale?

    No one knows how to fix?

    It seems not to be any possibility of having a large scale factor! If I want to convert 1V 1000V I will never reach it!

    Thank you much for the help.

    B.

    Hello

    The custom scale will be the function that converts the voltage to some units, you can.  If you use a linear scale, it is in the form:

    Data units user = m * wine + b

    where m is the slope and b is the intercept at the origin wine is what happens to the analog input channel.

    The MIN and MAX define you are the min and min AFTER the scaling.  So if you want 1 volt in Ain channel to appear as 1000 in the code, you:

    m = 1000, b = 0

    Then your MAX and MIN is limited to-10000 and 10000 when DID channel lies between +-10V.  By selecting a MAX or MIN outside this range will cause an error and numbers read apart from this will be so much saturation.

    9205 a selectable ranges: ±200 mV, ± 1, ± 5 and ±10 V programmable input ranges.   I haven't used the 9205 so I don't know if this range is automatically selected or the user defined in the module preferences.   Whatever it is, it will have a possible effect that MAX and MIN are.

    For example.

    If you did what you said and used slope = 50 and intercept = 0 AND you got the system set to ±10 volts, while the MAXIMUM and minimum that you can set are limited to ±50 * 10 = ±500.   So if you try to put a maximum of 1000 in there, you will get an error because it needs to be at + 500 to-500.   Your saturation occur at ±10 volts (what is scale ±500)

    If the interval is set to +-1 volt, your MAX and MIN should be within-50 to + 50.  All values apart from this will produce errors.  and if you try to read voltages above + 1 volt (+-50 scaling), there will be saturation.

    I hope it is clear and useful.

    -Alex-

  • Then I reinstalled FCPX and some how the scale option is missing in the effects window. Can anyone help?

    Then I reinstalled FCPX and some how the scale option is missing in the effects window. Can anyone help?

    Try resetting your preferences. Organize your Opt - Cmd launches the application. Post screen shots of what you see.

  • How can I check the voltage values on the acquisition of data with a data acquisition assistant and the custom scale?

    I use a custom scale and the DAQ assistant to acquire data from a USB DAQ device.  How can I display voltage gross values at the same time?

    Thank you

    David

    Do not use the ladder custom, but read the raw data using the daq assistant and adapts the data later. Or the scale of the data using the inverse of the custom scale.

  • How to delete presets for effects to a clip?

    I am learning the use of the official document for help from Adobe first Elements 8.

    I currently work in Chapter 10, 'Application of effects', section 'Work with the effect presets'-> 'apply a preset of effects '.

    The help document does not say how to remove a preset effect you had applied.

    I tried to follow the instructions to remove the usual effects, but they don't seem to work in the case of the predefined settings.

    How can I remove presets for effects to a clip?

    Itay,

    Suppose that I have applied several effects preset to a certain clip.

    Now I want to inspect which presets I applied.

    Can I do this? If we were talking about the effects rather than predefined effects, it could be accomplished easily, could not?

    Inspector (or deletion / to hide/change) the effects that have been applied to a particular item can be made easily in the properties panel.

    But I think that what you asked is that the same is possible for the effect presets.

    Well the answer is YES and NO, depending on the preconfiguration of effects that you applied and your understanding of the preset.

    Presets like - "PIP 40% YOUR Spin Out Top.

    Can I go to the properties panel and see any input related to it? Years - no.

    But can I still edit/delete-YES.

    Handly I know what/where to change?  -C' is that your understanding of the preset comes into play. Given that the name of the preset bed scale itimplies «PIP 40%...» ' has been reduced to 40%, HEART involves top-right and high SpinOut involves - values of position and rotation have beenkeyframed (animated). This means that you should just go to the motioneffect and change it.

    Another example - Presets > Contours beveled > bevel thick edges or Presets > color effects > Super dyed Green

    Can I go to the properties panel and see any input related to it? Years - YES, a bevelled edge effect can be seen in Panelfor the first preset properties and a "Tint" effect can be seen in the case of preset rates.

    In short, an entry for preseeding of applied effects explicitly appears in the Properties Panel - No.

    But I can understand and modify a preset of applied effects or is there a way implicit to differentiate the presets applied effects (> 1) - YES.

    Depends on your understanding of the preset.

    Itay, effect presets are a cutting-edge concept, and as become familiar you with Preworkflows, you would become little bit more uncomfortable change.

    See you soon!

  • How I can scan the registry valuHi, how I can scan the Windows 7 registry value and how do I come to know if the registry value is same as it has been installed previously?

    Hello

    How can I scan the Windows 7 registry value and how do I come to know if the registry value is same as it has been installed previously?

    Hello
     
    The Windows registry is a vast and vital part of the computer, which continues to evolve being modified or deleted or new entries are created all the time.
     
    Case where the registry keys of change.
     
    At startup
     
    So that updates
     
    While making customization or custom settings in windows
     
    While to install the software
    Virus... etc.
     
     
    Each click Open and save is related to the registry.
     
    This is something very tedous to verify the integrity of a registry of windows with all of the above modifications being carried out.
     
    You can back up the registry of the computer after you install Windows new and update with all Windows updates and the custom software, into a registry backup or create a system image / restore point.
     
    Please visit these links for more information.

    Windows registry Description of the audit of the Windows Registry tool (Scanreg.exe) How do I add, edit or delete subkeys in registry and values by using a registration entries (.reg) file Hope this information helps

     
     
     
  • How to get Dead Eye effect

    I wonder how I can make this style into effect using Adobe After Effects. The sepia looks easy enough, but how to get the light flash at the beginning and realize the X brands (enter in the vast and white can gain saturation and become smaller) as they do?

    Reference video: Dead Eye | Red Dead Redemption | -YouTube

    The color change and the size of the X can be recreated with a couple of keyframes, a pair for scale, a pair of color. Adding glow and adding keyframes for the property you want to animate would do that.

    The layering of color, sepia, and flash are fair layers with blend modes. The flash can be created with a radial blur with the ADD of the merger mode and animated opacity, change of hue of a solid color with the game of mixing of color, or overlay mode. You might also achieve the hue with a layer of setting and lively of Hue and Saturation colorize value, and then animate the opacity of the adjustment layer of the.

    If your camera is moving, you need to follow a few simple line upward the x. Each X would be on a separate layer and you could create an animation preset for the color scale and brightness of the change, and then set the CTI to the right frame and apply the preset animation.

    It's all very basic composition and animation techniques. If you don't understand what I'm talking about then find the help files for each thing I mentioned by typing for example, mixture of mode in the search field in the upper right of the AE.

  • I have internet explorer 9 as my browser and I also download firefox to access my company page of yahoo. they will come into conflict?

    IE 9 is not supported by yahoo. What happens when I download firefox? and then how to remove?

    Internet Explorer and Firefox will come into conflict with each other.

    You can have multiple Web browsers installed on your computer without any problem.

  • Apply the custom scale and add Boolean if I can connect on demand

    Hello

    I have a problem adding my custom code scale. I have a pressure sensor that works in the range of 4-20mA. So, I made a custom scale as you can see in the code and tried to connect the name of custom on the DAQ.mx scale. Which doesn't seem to work any suggestions?

    Another problem I have is I want to be able to log on to the application with a Boolean button. How to do that if I want to keep the ability to write data only to a determined time interval?

    Greetings

    DP


  • Calculating the value of output with custom scale

    Hello

    I defined a custom in MAX scale.

    I want just to calculate the value of an input applied with this scale value.

    Process is simple:

    X-online custom-online output value scale

    in the process of

    Is there a way to do it simply (reminder: custom scale can be linear, polygon, table etc...)?

    Looks like you might need to check the interpolation
    http://zone.NI.com/reference/en-XX/help/371361J-01/GMATH/interpolate_1d/

  • Custom scale does not work in the task of the accelerometer

    I use a NI 9234 to measure acceleration. In the task of the acceleration, I set the sensitivity 1000 mV/g, and I try to use a custom scale to correct the actual sensitivity of the accelerometer (~10mV/g). The excitement is the internal value and 2mA. The input is AC coupled. When I run the task, the scale has no effect on the output values. With 1 G asked the accelerometer, the output remains ~.014G(pk) as a custom scale is used or not. This is normal behavior for a task of accelerometer?

    LabVIEW 2009 SP1

    NOR-DAQ v9.1.1


  • custom scales

    Is there a way to get custom scales that appear in my Explorer in MAX?

    Thank you

    Steve

    Hi, SCD,.

    The functionality of adding a scale existing DAQmx (maximally) to a project (and vice versa) has not yet been transposed. There is a proposal for a project, so that this feature will be added in the future. If all goes well, it will be as simple as drag / move, in addition to programmatically add the scales by reference VI or something similar.

    In the meantime, there are some workaround solutions, depending on your current situation. If you already have all your ranges able & Automation Explorer (MAX), you can export (file > export) scales only and then import them into the project. I suggest you create your ranges in MAX first that will allow you to do.

    You can find a VI 'DAQmx save Scale' under this palette:
    Configuration of the IO system"measure DAQmx' DAQmx advanced" "DAQmx storage

    After you have created your scale in LV, call this VI and it will record it as a "persistent scale" in MAX.

    DylanC

  • Acquire 2 digital signal of custom scale (Engg units)

    I am a newbie to the world of DIO.

    I write a VI to acquire 2 digital signals. one of a load cell and others for engine rpm (legumes). I need acquire these two signals and then convert them to engg units using the custom scale and write it in a txt file with timestamp.

    Please suggest the best ways to accomplish this task.

    Thank you

    DAQG

    Look at the examples on DAQmx in the finder of the example.

    You would not really acquire 2 digital signals.  You would acquire an analog signal of the load cell.  A digital acquisition or against, this is what would make you the acquisition of the motor.  Looking for analog and the counter measures in the finder of the example.  Some of the example should show you how to apply the custom scale.

  • Can someone please tell me how to re - install after effects 2014, because I hate the 2015 version. Its so bad.

    Since I installed after effects 2015, he did nothing else than truble. The record is so lag, he will not play in time real proaley. I can't select my propaly layers etc. Can someone please tell me how to re - install after effects 2014, because this version was much better.

    How to find and install a previous Version of Adobe Apps in CC 2015 | Adobe Customer Care Team

  • How do I get this effect of skin on a black model?

    Hello everyone!

    I was wondering if anyone knows how to get this final effect to a photo with a black model?image.jpgimage.jpgimage.jpg

    1 original image

    2 convert into grayscale, then RGB levels

    3. approximate color of the sample

    4. the curves to add contrast

    Final.  Selected Dodge quartertones

    If desired, add a very light noise. Not in picture here. (Layer Add ' l: Gaussian, Mono, very low opacity)

Maybe you are looking for

  • Keys on the keyboard volume control does not

    Hi, I bought hp pavilion g6-1105tx 4 days ago. Key to increase volume, decrease key and mute the button worked very well until I have updated by audio drivers from hp support assistant. they no longer work. How to solve this problem?

  • Hiberfil.sys and pagefile.sys - I can't delete

    HelloI have a computer laptop tecra s3 and after a fresh install of XP restore cd, I noticed that 4 GB of my C partition are 2 files:(1) C:\hiberfil.sys (around 2 GB) All my C partition is 12.5 GB because of the small HDD (80 GB), so I really need th

  • is there a rear camera on 6 16 GB ipod?

    is there a rear camera on 6 16 GB ipod?

  • Windows media player-can t remove two albums off my library

    I ask to remove the two albums and the prompt asking you to remove in the drive or the computer is not displayed and will not remove the two files in the library

  • 2840 printrer prints "[none]"-water

    1 HP Color laserjet 2840 2 XP 64-bit 3. no 4. change color setting gray scale Change color setting in the preferences to print in grayscale, watermark, [no], appears on all pages. I tried setting the color of the return to normal, no change. I tried