Get MAX scale settings

Hello

I'm reading the parameters of a structure that has been created in MAX.

Can I get a list of scales stored in MAX, but when he tries to read the "type of scale" of the "ActiveScale' I get an error.

What I plan to do is to collect the balance as slop settings, intercept and so on.

Thanks for any help

Yves

Hello!

I tried with this simple VI and all is well for me (LV2011).

Can you give more info on your problem?

Kind regards

Marco

Tags: NI Software

Similar Questions

  • Definition of channel programmatically in max scale

    I'm trying to define a new scale for multiple channels in max. Currently, I have 8 channels to max and which could lead to 32. I need a way to define the balance for these with my program, I use the cDaq and pci-50xe acquisitions for now, everything is entered analog. Basically, I'm trying to write a program to do the balance for each channel, it should be fairly simple. I can't create all scales needed before running because there are too many different sensors. I want to do it this way, rather than creating a custom scale so that I can have multiple channels in the same task that all have different scales.

    Ah.  you're really talking about application "Calibration factors" to your specific sensors. right (sort of a poor man TEDS)?

    in this case, I use a scale of 'Master' "MyLoadCell" that defines the units and provides a "Nominal" scale and apply to the individual gain and offset each sensor via a scale property node.  You have several ways to store this information in your system.  Named MAX scales can work well in your case and the DAQmx > advanced > configuration scale palette offers two options to get these properties applied to the scale.

  • Blue contours appeared and I can't control my iphone 5 s. I can't go to settings. I triple click on the button "home" and gives a message to go into settings and enter the password but I can't get to the settings. What does not work? Thank you

    Blue contours appeared and I can't control my iphone 5 s. I can't go to settings. I triple click on the button "home" and gives a message to go into settings and enter the password but I can't get to the settings. What does not work? Thank you

    The blue plan is switch control.

    s http://gettecla.com/blogs/News/15538916-what-is-switch-control-mode-in-apples-IO

    Triple click to get rid of him.

    "Siri to the rescue.  I said turn off the control switch. »

    Re: How to disable the switch control

    I don't get a request for an access code.  What is a school system?

    switch control

    Settings > general > accessibility > switching control

    R

  • How to load the CMOS (get the Bios settings) on Lenovo IdeaCentre K330

    Hello

    How to load the CMOS (get the Bios settings) on Lenovo IdeaCentre K330? Found no parameters. I can click on F2, then network and passwords, is this all I could configure?

    OK, I got it - you must click F1 several times when starting system upward!

  • Automatically get new IP settings for the network adapter

    I have a home network with two computers Vista and I have a Vista laptop for work.  Where my work laptop is home it does not automatically connect to the internet, similarly if I want it.  When I go to network and sharing on laptop computer center it displays icons for the laptop, my home and internet network.  Threre is a X red between the network icon and the internet.  If I click on the red X a pop-up window indicates that Windows checks the problem.  Then a box will appear with several options, one if which is automatically "get new IP settings for the NIC 'Wireless Network Connection'.  When I click on a window pops up that says repair, and after a brief interval, she announced that the problem has been fixed, and it was fixed.

    How can I configure things so that she will do it automatically without this manual intervention.  There must be some way because I have never asked a password or permission to continue.

    If I turn off the laptop and then turn it back on a few moments later, the network connection is still there.  The problem occurs when I try again a few days later.

    Thank you.

    P.S. I tried to submit this a couple of days, but it does not appear under my son, so I don't know what happened.  If the previous post is without me being able to find I apologize.  I don't like having to type things, that's for sure. Jim

    Thanks for the reply.  I did it.

    I'm not sure it would fix the problem however, because the problem occurs after a day power off and power back up a few days later.  So presumably the power to the network adapter has been disable for power off intervals.

    Something happened tonight when I put under tension.  Asked me to confirm something on the network (unfortunately I can't remember what) and after that, I was connected to the internet - without having to go through the manual process described with my problem.  So maybe something has been reconfigured will correct the problem. Jim

  • Satellite Pro L300: How to get the sleep settings

    Before you have to play with the Satellite Pro L300 laptop recently (on the instructions of the Tech) when I close the lid of the laptop that he went to sleep BUT when I opened the lid eventually, I had to press the power button to restart the laptop.

    But now, he's just on stand by.
    How can I get this back to how it was (having to press the button to exit stnd - in)-help!

    I tried to turn off Toshiba power saver and using the windows settings but nothing
    I have treid working :(

    Can anyone help?

    I get at the end of my home with this computer laptop blinkin :(

  • How to get to the settings, DATA from the old HARD drive to new Tecra A10

    My 'old' TECRA A2"refused to fly (fell on the desk)... Screen and grapfic external duty!
    But the HARD drive is still OK and works via an external USB HD adapter to my other PC.

    Can read all the files in the root directory,
    * can NOT read only password protected those *:
    means all files * DOCS and SETTINGS below *.

    My password old route was:
    PW to START WIN XP
    OUTLOOK 2003 via the backup.pst PW

    Bought a new A10 TECTRA...

    HOW can I get the form parameters of DATA etc., my old HDD via USB in my new TECRA A10?

    ANY Suggestion?

    Hello!

    As far as I know that you must add the Group everyone in the folder options. Right-click on the folder-online security-online advanced-online (effective) permissions
    There, you must add the user to the other laptop or for example all users. Then it should work.
    I had this problem for 1 or 2 years and it worked for me.

    A friend of mine told me that he was able to copy the data to a Linux system. You can start form a Linux boot CD/DVD, and then copy the data on the other PC.

    Welcome them

  • Get the sequence settings...

    Hello

    I use LabVIEW to create my custom OI. I already managed to load and run a chosen sequence.

    What I want to do now is to get and, possibly, set each parameter (name, value, type) sequence listed in: 'Sequence Manager'-> 'Variables'-> 'settings '. I want to this after the loading sequence and before we do work... but I don't know how!

    Suggestions?

    I think the appropriate solution might resist the following link:

    http://digital.NI.com/public.nsf/WebSearch/5C08014017AA895686256DD6008323FB?OpenDocument

    Concerning

  • Import the MAX configuration settings file replace or add existing entries of MAX?

    Hello

    Importing a .nce in max replaces the existing configuration of max with the imported config or import adds new MAX to MAX existing elements (so that both the 'old' and "newly imported" config can be used.)

    One or both! (sometimes none)

    in the Import Wizard, you can select what to import and what to do about the elements that are in conflict or exist with different information.  (NOR really did a beautiful job - for equipment OR!)  for some things (like Pickering VXI devices) you are unable to import the MAX settings.

  • dead system drive doesn't let me get into "local settings" to get outlook data

    A the system motherboard is dead. We got a new W7 system. Took the car out of the vista system dead and added to the W7 system as a 2nd drive and tried to go into the settings of its users/local for outlook files it. He says I don't have permission. It wasn't the encrypted data. How can I get these files?

    Please see how appropriating a file or a folder in Windows XP , which also applies to Windows Vista and Windows 7. Boulder computer Maven
    Most Microsoft Valuable Professional

  • cannot get max date


    Hello! I have what should be a very simple script that drives me up a wall and could use some help:

    Select employee, status,

    Max (beg_date) Begin_Date

    of lawsonprd.hrhistory

    where fld_nbr = '20' and (beg_date > = 1 February 13 ' and beg_date < 1 July 13 ')

    Group of official, status

    I get the date maximum start for EACH situation, the employee was, but I want just the maximum start date and status attached to it.

    Thank you

    Chris

    Suggestions:

    (1) specify all 4 digits of a date - ALWAYS.

    (2) specify the date format when you convert dates, or strings to date - ALWAYS.

    These 2 tips will save you hours of headache... someday.

    Try this query:

    with w_max_date as

    (select employee, beg_date, fld_nbr, status,)

    ROW_NUMBER() over (partition by employee

    beg_date desc order) max_beg_date

    of lawsonprd.hrhistory

    where fld_nbr = 20

    and beg_date > = to_date (February 1, 2013 ',' mon-dd-yyyy "")

    and beg_date<  to_date('01-jul-2013',="">

    )

    Select the employee status, fld_nbr, beg_date,

    of w_max_date

    where max_beg_date = 1

    /

  • Re: How to get Max (all values of columns) records on a partition interval

    Hello
    Hours      Days            Name     used_size
    1     01-09-012     R1     1100
    10     01-09-012     R1     1150
    15     01-09-012     R1     1160
    23     01-09-012     R1     1200
    
    1     01-08-012     R1     1600
    10     01-08-012     R1     1700
    15     01-08-012     R1     1800
    23     01-08-012     R1     1500
    
    1     01-09-012     J1     10
    10     01-09-012     J1     20
    15     01-09-012     J1     30
    23     01-09-012     J1     60
    
    1     01-08-012     J1     70
    10     01-08-012     J1     5
    15     01-08-012     J1     17
    23     01-08-012     J1     22
    
    
    Needed o/p:
    
    23     01-09-012     R1     1200
    23     01-08-012     R1     1500
    23     01-09-012     J1     60
    23     01-08-012     J1     22
    We have table as above, IE. everyday, there are records at regular intervals of hours for different users.

    I want to get a single record of every day for one hour on this day for all users.


    Please let me know if my question was unclear?

    -Thank you

    Another way, maybe more simple here, here could be just group by user, day.

    SELECT user, day, Max(hours) max_hours, Max (used_size) KEEP (DENSE_RANK LAST ORDER BY hours) mh_used_size
      FROM (table)
     GROUP BY user, day
     ORDER BY user, day
    
  • I'm trying to vectorize an image but struggling to get the right settings for the CS6.

    Hi all, I'm trying vectorize an image, but im struggling right now. I would like to get the same effect as this: http://fav.me/d4p907m. If someone knows how its done or if I'm close to having the right settings?  http://i.imgur.com/5Oka65P.jpg (my attempt is the one of the far-right, the cs6. The one on the left, in Paint.NET, is the desired result. Thank you for reading.

    You will need to change this image in Photoshop before tracing. Then vectorize with 6 to 8 colors.

    But you'll still need to edit I subsequently. There is no way to get the eyes in this Green using autotrace. It goes the same for lips.

    You must also consider the piece manually.

  • Problem getting Gradient Overlay settings making GetObject of PutObject known

    Hi people,

    I'm trying to get multicolored and parameters multitranspatent for chassis (stroke, contour) and gradient overlay, layer descriptor.

    So far, I have had no problem to get settings for stroke (list of colors), list of transparency, color and transparency stops, its values RGB places and backgrounds.

    To my knowledge, it must be the same for the gradient overlay, but I'm stuck in one place.

    Here is the hierarchy I found of Getter (I gave the names to the descriptors to relieve me read the code)

    //============================================================

    sPSActionDescriptor-> Make (& descLAYER);

    sPSActionDescriptor-> Make (& descEFFECTS);

    sPSActionDescriptor-> Make (& descGRADIENT_OVERLAY);

    sPSActionDescriptor-> Make (& descGRAD_FILL);

    It should contain lists for color stop

    //=============================================================

    However, I don't find a way to get the descGRADIENT_OVERLAY of descEFFECTS.

    Corresponding getter PutObject looks like:

    error = sPSActionDescriptor-> PutObject(descEFFECTS,'GrFl','GrFl',descGRADIENT_OVERLAY);


    I had found the "GrFl' navigation headers is synonymous with enumGradientFill:


    #define enumGradientFill 'GrFl' / / typeFrameFill OF the LIBRARY

    Isuppose think I shoul use a conversion method. I tried something like

    error = sPSActionControl-> StringIDToTypeID ('GrFl', & runtimeClassID);

    but I suck.  Am I missing something. When I worked with edge effect, this was the situation: Descriptor hierarchy

    //==============================================================

    sPSActionDescriptor-> Make (& descLAYER);

    sPSActionDescriptor-> Make (& descEFFECTS);

    sPSActionDescriptor-> Make (& descSTROKE);

    sPSActionDescriptor-> Make (& descGRAD_FILL);


    It has lists for the stages of color

    //======================================================================

    Here descSTROKE had descriptor I called descGRAD_FILL that contain multicolored and multitransparency information. But I had no problem pulling on his class being classFrameFX key keyFrameFX so following code works.

    error = sPSActionDescriptor-> HasKey (descEFFECTS, keyFrameFX and hasKey);

    If (error) goto returnError;

    If (hasKey)

    {

    error = sPSActionControl-> StringIDToTypeID ("classFrameFX", & runtimeClassID);

    If (error) goto returnError;

    error = sPSActionDescriptor-> GetObject (descEFFECTS, keyFrameFX, & runtimeClassID, & descSTROKE);

    If (error) goto returnError;

    }


    Big problem boils down to the question of HOW TRANSFORMER PutObject line

    error = sPSActionDescriptor-> PutObject(descEFFECTS,'GrFl','GrFl',descGRADIENT_OVERLAY);


    At the GetObject line.

    Thanks in advance for any help you can give me.

    Kind regards

    Momir Zecevic


    Of course getter just war.

    I was just mistake somewhere, but here computer how it works:

    error = sPSActionControl-> StringIDToTypeID ('GrFl', & runtimeClassID);

    error = sPSActionControl-> StringIDToTypeID ('GrFl', & runtimeKeyID);

    error = sPSActionDescriptor-> GetObject (descEFFECTS, runtimeKeyID, & runtimeClassID, & descGRADIENT_OVERLAY);

    And voila, works.

    Feel so stupid.

    Kind regards

    Momir

  • using stored procedures - I can't seem to get the right settings

    I am wanting to use stored procedures to create variables of substitution use UC4 (Appworx). (the databases I use are 10g) To do this, I first need to run command line in PL/SQL procedures. I don't seem to be able to create the correct command. This is the part of the package that I want to call



    CREATE OR REPLACE
    PACKAGE BODY 'APPLICATION_PACKAGE' AS


    PROCEDURE GET_APP_PARAM (V_APP_PARAM_ID IN CCOK. CC_APP_PARAM_DETAIL. APP_PARAM_ID % TYPE,
    V_APP_PARAM_NAME IN CCOK. CC_APP_PARAM_DETAIL. APP_PARAM_NAME % TYPE,
    OUT NOCOPY CCOK V_APP_PARAM_VALUE. CC_APP_PARAM_DETAIL. APP_PARAM_VALUE % TYPE)


    AS


    BEGIN

    SELECT APP_PARAM_VALUE
    IN V_APP_PARAM_VALUE
    TO CCOK. CC_APP_PARAM_DETAIL
    WHERE APP_PARAM_ID = V_APP_PARAM_ID
    AND APP_PARAM_NAME = V_APP_PARAM_NAME;


    END;




    It's the exact command I use command line

    run application_package.get_app_param(1000,'RUN_TYPE')

    When I do this I get invalid statements expected but still tweaking doesn't fix it and does not give me a clear idea of what I need to do to fix it.
    I get this sort of thing


    SQL & gt; run ccok.application_package.get_app_param(1000,'run_type')
    BEGIN ccok.application_package.get_app_param(1000,'run_type'); END;


    *
    ERROR on line 1:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in the call to 'GET_APP_PARAM '.
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored



    SQL & gt; run ccok.application_package.get_app_param(1000,'run_type',:result)
    SP2-0552: Bind variable 'RESULT' undeclared.
    SQL & gt; run ccok.application_package.get_app_param('1000','run_type')
    BEGIN ccok.application_package.get_app_param('1000','run_type'); END;


    *
    ERROR on line 1:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in the call to 'GET_APP_PARAM '.
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored



    Any help will be appreciated with more recognition.

    It's interesting.

    Package specification has "GET_APP_PARAM" with 2 parameters.
    The package body has "GET_APP_PARAM" with 3 settings.

    I tested this out case in my db. Oracle balk when the package body is compiled, but shows no errors.

    test@ORA10G> --
    test@ORA10G> DROP PACKAGE "APPLICATION_PACKAGE";
    
    Package dropped.
    
    test@ORA10G>
    test@ORA10G> drop table cc_app_param_detail;
    
    Table dropped.
    
    test@ORA10G> create table cc_app_param_detail (
      2    app_param_id    number(4),
      3    app_param_name  varchar2(20),
      4    app_param_value varchar2(20));
    
    Table created.
    
    test@ORA10G>
    test@ORA10G> insert into cc_app_param_detail
      2  select 1, 'name_1', 'value_1' from dual union all
      3  select 2, 'name_2', 'value_2' from dual union all
      4  select 3, 'name_3', 'value_3' from dual;
    
    3 rows created.
    
    test@ORA10G> commit;
    
    Commit complete.
    
    test@ORA10G>
    test@ORA10G> select * from cc_app_param_detail;
    
    APP_PARAM_ID APP_PARAM_NAME       APP_PARAM_VALUE
    ------------ -------------------- --------------------
               1 name_1               value_1
               2 name_2               value_2
               3 name_3               value_3
    
    test@ORA10G>
    test@ORA10G> --
    test@ORA10G> CREATE OR REPLACE PACKAGE "APPLICATION_PACKAGE" AS
      2    PROCEDURE GET_APP_PARAM (
      3      V_APP_PARAM_ID IN TEST.CC_APP_PARAM_DETAIL.APP_PARAM_ID%TYPE,
      4      V_APP_PARAM_NAME IN TEST.CC_APP_PARAM_DETAIL.APP_PARAM_NAME%TYPE);
      5  --    V_APP_PARAM_VALUE OUT NOCOPY TEST.CC_APP_PARAM_DETAIL.APP_PARAM_VALUE%TYPE);
      6  END;
      7  /
    
    Package created.
    
    test@ORA10G> show err
    No errors.
    test@ORA10G>
    test@ORA10G> DESC APPLICATION_PACKAGE
    PROCEDURE GET_APP_PARAM
     Argument Name                  Type                    In/Out Default?
     ------------------------------ ----------------------- ------ --------
     V_APP_PARAM_ID                 NUMBER(4)               IN
     V_APP_PARAM_NAME               VARCHAR2(20)            IN
    
    test@ORA10G>
    test@ORA10G>
    test@ORA10G> CREATE OR REPLACE PACKAGE BODY "APPLICATION_PACKAGE" AS
      2    PROCEDURE GET_APP_PARAM (
      3      V_APP_PARAM_ID    IN TEST.CC_APP_PARAM_DETAIL.APP_PARAM_ID%TYPE,
      4      V_APP_PARAM_NAME  IN TEST.CC_APP_PARAM_DETAIL.APP_PARAM_NAME%TYPE,
      5      V_APP_PARAM_VALUE OUT NOCOPY TEST.CC_APP_PARAM_DETAIL.APP_PARAM_VALUE%TYPE)
      6    AS
      7    BEGIN
      8      SELECT APP_PARAM_VALUE
      9      INTO V_APP_PARAM_VALUE
     10      FROM TEST.CC_APP_PARAM_DETAIL
     11      WHERE APP_PARAM_ID = V_APP_PARAM_ID
     12      AND APP_PARAM_NAME = V_APP_PARAM_NAME;
     13    END;
     14  END;
     15  /
    
    Warning: Package Body created with compilation errors.
    
    test@ORA10G> show err
    No errors.
    test@ORA10G>
    test@ORA10G>
    test@ORA10G> --
    test@ORA10G> var x varchar2(10)
    test@ORA10G> exec test.application_package.get_app_param(1,'name_1',:x);
    BEGIN test.application_package.get_app_param(1,'name_1',:x); END;
    
          *
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'GET_APP_PARAM'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    
    test@ORA10G> print x
    
    X
    --------------------------------
    
    test@ORA10G>
    test@ORA10G>
    test@ORA10G> select object_type, object_name, status from user_objects where object_name='APPLICATION_PACKAGE';
    
    OBJECT_TYPE         OBJECT_NAME                    STATUS
    ------------------- ------------------------------ -------
    PACKAGE             APPLICATION_PACKAGE            VALID
    PACKAGE BODY        APPLICATION_PACKAGE            INVALID
    
    test@ORA10G>
    test@ORA10G>
    

    What do you see as the State of the art and the body when he is interviewed command-line SQL * more?

    The solution would be to add the third parameter to the package specification and recompile.

    HTH,
    isotope

Maybe you are looking for

  • Why does open all Favorites in a new tab? some, some do do not

    Some of my favorites will be opened in a full tab while others will open in the output tab but display only a part on the left side of the page. Even if I start a new tab, some of the bookmarks will be still only opens on the left side and as a parti

  • HP Notebook P1A99UA #ABL: the replacement hard drive

    Hello I need to replace the hard drive of my laptop HP Notebook P1A99UA # ABL What size and characteristics of the hard drive should I buy? Thank you very much.

  • Retrieving messages of a removed Skype account

    So a few months ago, I deleted my Skype account. Well I completely regret because there are some messages that I want to come back. Is there a way I can retrieve these messages? Help, please

  • Intel advanced 6235 N does not not in Hp Envy m4 1115dx - 8.1 Windows

    Not happy with the Ralink 5390 card wireless in my laptop, I decided to upgrade to a bluetooth card 2 x 2 in my address oem. After installing the adapter on my laptop, I discovered that the bluetooth works, but the wifi part would not, nor with windo

  • Fingerprint reader no longer works

    I'm a dv7-7250us, which is less than 1 year old.  It came with Win8.  I installed Win 8.1 beta and everything worked well.  When I installed the 8.1 final, I had to reinstall a bunch of my apps.  Once the dust settled, I found that my fingerprint rea