Structure condition

Bjr à tous,
J'ai fait un vi qui effectue une mesure de tension sur un système. Grace à une boite de dialogue j'indique en face-avant à l'utilisateur l'état du système et les opérations qu'il doit effectuer pour modifier cette état.
Mais je souhaiterais qu'après que l'utilisateur est pris connaissance des opérations à réaliser dans la boite de dialogue (après appui sur "ok"), il puisse modifier les paramètres en face avant et lancer le diagramme qui changera l'état du système.
J'ai réussi à réaliser cela avec une structure séquence déroulé qui me permet de réaliser deux étapes.
La première effectue la mesure de tension sur le système et la deuxième modifie l'état du système.Cela en associant à la première un temps d'attente.
Mais justement je souhaiterai trouvé une autre solution car l'utilisateur est obliger de modifier en un temps défini les paramètres en face-avant et le temps que j'aurais prédéfinis sera forcement trop long ou trop court.
Zeeley973
Lbw8.0 PCI6289

Bonjour,
Vous pourriez ajouter un bouton "Valider" sur la face avant pour l'utilisateur afin qu'il puisse avoir le temps de changer les paramètres en question, après avoir pris connaissance des opérations à réaliser dans la boite de dialogue. Une structure condition vous permettrait d'exécuter la portion de code en fonction de l'état de la variable booléenne associée au bouton.
Cordialement.

Similar Messages

  • Probleme avec la fonction structure condition et la cible speedy33

    Bonjour,
    Je voudrais utilisé la fonction structure condition avec le speedy33. Suivant la valeur du bouton (vrai ou fausse) j'excecute l'une ou l'autre des conditons. J'ai dejà utilisé cette fonction avec labview et cela fonctionnait très bien.
    or lorsque je mets le programme dans le DSP, seul l'état vrai fonctionne l'état faux est ignoré (est-ce un bug du DSP). Quelqu'un à déjà utilisé cette fnction avec le dsp ?
    merci d'avance pour  vos réponses

    Hi,
    Sorry, I'm not a French speaker, but I'm guessing that you are attempting to use the conditional disable structure within LabVIEW DSP. If so, this structure is not supported.
    Michael P
    National Instruments

  • Paramètrer les conditions d'une structure condition suivant les variables

    Bonjour,
    J'ai besoin  de travailler avec des cases structures mais dont les conditions sont des variables qu'on peut paramètrer, je ne veux pas travailler avec des valeurs figés càd si je veux changer une condition je dois aller sur mon diagramme et cherche ma structure à condition pour la changer.
    Je cherche comment rendre mezs conditions paramètrables, SVP

    Duplicate
    http://forums.ni.com/t5/LabVIEW/case-struture-para​m%C3%A8trable/td-p/2830892
    STOP spamming the board with the same question over and over again. Very inappropriate behavior.

  • Structural Reporting::Setting Structure Conditions

    Hi,
    In the Structure Conditions Dialog box, you can specify which conditions objects must  fulfill if they are to be displayed in the structure.
    If you want to report on positions assigned to a particular Org Unit along evaluation path PLSTE, but you want only those positions to be displayed that are assigned to a particular job. You can make this a structure condition
    I used SAP Easy Access path Human Resources > Org Management > Info System > Org Unit > Org Structure > Org Structue with positions
    In the following screen, I entered the Org Unit. Checked the check box under Status
    On the Structure Display/Mainatainence Screen, I tried using Data Structure and Set Structure Conditions tabs, but am not sure of how to proceed. After clicking on Set Structure Conditions, a pop up opens- not sure of what to enter in this table too.
    Regards,
    AM_BLR

    Hi,
    1st column "Check object type" - the objects that you want to see in your report, e.g. positions -> S
    2nd column "Root object type" - object type of object where your search should start, e.g. organizational unit -> O
    3rd column "Root object ID" - ID of root object
    4th column "Evaluation path" - how object should be identified starting from root object, e.g. all positions starting from root and velow -> O-O-S
    5th column "Status vector" - what status to use, e.g Active objects -> 1
    Cheers

  • Need to check structure condition in user exit RV60AFZ,

    Hi all, i need to write a condition for  vf01(create billing document) in user exit * RV60AFZC * .
    the condition is :
    if vbak-auart = 'TA' and  KOMV-KSCHL = 'JIN7'.
      VBRK-FKART = 'ZFCS'.    
      ENDIF. 
    but the problem here is that komv is structure so the above condition is not working.
    If i give condition as
    if vbak-auart = 'TA' .
      VBRK-FKART = 'ZFCS'.    
      ENDIF. 
    then the user exit is working.
    So any one please suggest me how to make the above condition work.
    thanks in advance,
    koolspy.

    Hi
    Perhaps you can try this, but be careful with performance.
    In VBAK you have the value for KNUMV. So, as I understand that you refer to the value of KNUMV for the SO (not for the invoice that you are doing), try this:
      DATA: i_konv LIKE konv OCCURS 10 WITH HEADER LINE.
      SELECT * FROM konv
        INTO TABLE i_konv
         WHERE knumv = vbak-knumv.
      READ TABLE i_konv WITH KEY kschl = VALUE.
      IF sy-subrc = 0.
       IF vbak-auart = value2.   "OR OTHER CONDITION
           "DO WHAT YOU WANT.
       ENDIF.
      ENDIF.
    Newly, be careful with performance (try with a select single on KONV, etc...)
    I hope this helps you
    Regards
    Eduardo

  • Effectuer une seule fois maximum chaque cas d'une structure condition

    Bonjour,
    dans le cadre d'un stage, je réalise une interface. Le point qui me pose probléme sur cette interface est que je dois allumer ou éteindre certaines diodes selon leur états. Je récupére les diodes sélectionnées au format chaine. Je réussi a allumer les diodes pour les bons capteurs correspondant mais le probléme suivant aparaît :
    Exemple : Chaine en entrée : "4; 8 ;14; 27", j'obtients bien que les diodes 4, 8, 14 et 27 s'allument mais les diodes 1, 2 et 7 s'allument également. Je comprends pourquoi j'ai ce résultat mais je n'arrive pas à trouver de solutions alternatives.
    Merci d'avance de vos réponses.
    Ci-joint le VI du programme gérant l'allumage des diodes.
    Résolu !
    Accéder à la solution.
    Pièces jointes :
    ExtraitVI_Conditions.png ‏27 KB

    De rien .
    Une erreur s'est glissée dans mon dernier message,je ne peut plus l'éditer: Structure conditionnelle au lieu de structure événement.
    Reg

  • File d'attente et Structures condition

    Bonjour,
    Je fais une acquistion de température et pour traiter mes toutes mes données, j'utilise la fonction file d'attente.
    Pour traiter ces données je réalise différents tests et je souhaiterai savoir si cela est possible, sous certaine condition, de ne pas réaliser tous les tests à chaque itération?
    Cdt

    Ci-joint, voici le VI que j'implémente.
    Pour l'état "Palier", il y a plusieurs tests qui engendrent d'autres tests..
    Une fois que la T_Réelle = T_Consigne, je souhaiterai qu'à la prochaine donnée de température traitée (la prichaine donnée dans la file d'attente), les tests précédents ne soient plus réalisés jusqu'à une certaine condition.
    Une fois la condition accomplie, répéter toutes les conditions.
    Cdt
    Pièces jointes :
    Alarme_Alerte.vi ‏14 KB

  • Acquistion de 1 ou 2 capteurs sur une même courbe avec des structures "Conditions"

    Bonjour,
    J'ai un petit souci avec mon application : en effet je souhaite faire l'acquisition d'un capteur ou de 2 capteurs lorsque j'appuie sur un booléen et cela avec un graphe uniquement --> donc un tracé qd 1 capteur et 2 tracés qd 2 capteurs. Malheureusement, lorsque j'appuie sur mon booléen, le 2ème tracé ne se fait pas...alors que lorsque je relie directement un autre graphe, un tracé se fait. Comment pouvez-vous me l'expliquer ?
    Cela signifie qu'il y a bien un signal mais qu'il n'apparait pas sur mon graphe. Pourquoi ? Merci.
    Pièces jointes :
    DYSON.vi ‏70 KB

    bonjour, vous n'envoyez pas dans la fonction courbes vos deux courbes. il faut utiliser les clusters pour faire du multicourbes. j'ai remplacé vos acquisitions par des variables locales pour faire un test.
    Cordialement
    L.MICOU
    Pièces jointes :
    DYSON[1] multicourbe.vi ‏57 KB

  • Adding custom fields to the condition table in CRM

    Hi all,
    Our requirement is to download the sales conditions type from R3 to the CRM system. In one of the condition table we are trying to add shipping point( VSART ) and Special processing indicator (SDABW).
    For that we have added the fields in the structure CND_MAPT_ACS_REM_CUST (Comm. Structure Condition Exchange Customer Exit R/3 Fields) and we have added the fields in the field catelog in transaction ( /SAPCND/CTCT - Maintain Condition Tables). Then we have mapped these fields in the view V_CND_MAP_CNVFLD.
    Finally we run the adapter object of that particular table to download the details from R3, but the condition table in CRM is not getting activated, so the adapter object is giving the error.
    Please help in this.
    Thanks & Regards,
    Raghuram.

    Hello Raghuram,
    I feel that your issue is similar what i have faced, refer to my post:
    Link: [Issue in customer specific price;
    For solving this you can refer to detailed steps in,  Note 514952 - Download of customer-specific tables.
    Also additionaly you may need to run the report /sapcnd/rv12n001, as i also had to do so.
    If not solved then let me know the relevant message in SLG1
    Regards

  • PCH Logical Database - Set stucture conditions

    Hi All,
    Can anyone tell me what is the use or how to use the Set structure conditions in PCH logical database.
    Best regards,
    Aravind

    Hi Sachin,
    If you use PCH logical database in a program, on the selection screen you will see a button called Set structure conditions, by which you can enter some conditions.
    I was wondering how to use the same.
    Regards,
    Aravind

  • Condition Types in Price Determination Process

    Hi
    Can any one explain me about in Detail about the VARIOUS TABS that  work in the CONDITION TYPE  of PRICE DETERMINATION PROCESS
    Thanks & Regards,
    Senmani.

    hi
    hi
    control data 1 :
    Condition Class is a grouping that lets you control each condition type differently.
    For example, the condition type "taxes" defines that the taxes in a document must be recalculated if the country of the ship-to party changes.
    Condition category (examples: tax, freight, price, cost)
    A classification of conditions according to pre-defined categories (for example, all conditions that relate to freight costs).
    Condition category basically identifies the type pf cost the Condition type is being used for & can be used for .
    Calculation type
    Determines how the system calculates prices, discounts, or surcharges in a condition. For example, the system can calculate a price as a fixed amount or as a percentage based on quantity, volume, or weight.
    The calculation type can be set when generating new condition records. If this does not happen, the calculation type maintained here is valid for the condition record
    Rounding rule
    The rule that determines how the system rounds off condition values during pricing. The last digit will be rounded.
    Example
    In the standard rounding rule '_', values are rounded off according to business standards:
    10.454 -> 10.45 DEM
    10.455 -> 10.46 DEM
    In rounding rule 'A', values are always rounded up:
    10.459 -> 10.46 DEM
    10.451 -> 10.46 DEM
    In rounding rule 'B', values are always rounded down:
    1045.9 -> 1045 LIT
    1045.1 -> 1045 LIT
    In this example, the currency of the condition rate is Italian Lira. The Italian Lira does not have any places after the point.
    Structure condition
    controls whether the condition type should be a duplicated condition or a cumulated condition.
    This control is only helpful when you use bill of materials or configurable materials.
    Aduplicated condition is duplicated into all assigned items.
    A cumulated condition contains the net value of all assigned items.
    control data 2 :
    promotions
    Specifies that the condition type in question is only valid for Promotions.
    Use
    Conditions for which this indicator has been set can only be maintained via the 'Promotion' menu - not via the Purchasing menu.
    Accrual (e.g. Freight)
    Indicates that the system posts the amounts resulting from this condition to financial accounting as accruals.
    Use
    If you mark this indicator, the condition appears in the document as a statistical condition.
    Before Release 4.0 variant conditions (VA00) had to be created with the condition category 'O'
    Problem: It was not possible to indicate a 'Variant condition' at the same time as 'Internal costing condition' and 'Freight'.
    Solution: For this reason more indicators are being set up in 4.0 for the condition type:
    'Variant condition' (KVARC)
    'Internal costing condition' (KFKIV)
    The characteristic values O and I for the condition category must no longer be used.
    For more information, see the note 93426.
    inv.list condi
    Condition for invoice list
    Marks the condition type as relevant for internal costing.
    Quantity conversion
    This field controls the quantity conversion during determination of the condition basis.
    The field is only relevant for calculation rule 'C' (quantity- dependent.
    It is relevant if the sales quantity unit and the condition quantity unit are identical (and is different to the basis quantity unit).
    Deactivated: The condition basis quantity is converted via the quantity to the stockkeeping unit. This means that the condition quantity is determined for planned factors. This means that a change to the conversion factors in the delivery or the order are not taken into account.
    Rounding errors can occur during quantity conversion.
    Activated: If the sales quantity unit and the condition quantity unit are identical, the quantity of the document item is used, i.e. the actual quantity.
    Condition for inter-company billing
    Conditions for Internal Costing, for example PI01 and PI01 were defined before Release 4.0 by KNTYP = I (Price for internal costing).
    Problem: It was not possible to indicate 'Freight condition' at the same time as 'Internal costing condition' and 'Variant condition'.
    Solution: Therefore a new indicator 'Internal costing condition' (KFKIV) has been set up. You can use this to indicate a freight condition as an internal costing condition. For more information, see note 93426.
    Scale :
    Scale basis indicator
    Determines how the system interprets a pricing scale in a condition. For example, the scale can be based on quantity, weight, or volume
    Checking rule for scale rates
    Indicates whether the scale rates must be entered in ascending or descending order.
    Scale Type
    Indicator that controls the validity of the scale value or percentage:
    From a certain quantity or value (base scale)
    Up to a certain quantity or value (to-scale)
    Alternatively, it is possible to work with interval scales. Interval scales must be stored in the condition type, that is, the scale type "interval scale" cannot be changed in the condition record. The reason for this is technical restrictions resulting from the programming within pricing.
    Formula for scale base value
    Formula for determining the scale base value.
    Use
    You can use this formula to specify calculation methods that are not provided in the standard system.
    reward points if helpful
    thanks and regards
    ravikant dewangan

  • CASE structure limits - dynamic?

    Hello everybody
    Is this possible, and if, then how, to make the CASE structure
    condition dependent on variable in my program.
    Egsample: I have integer and the value of this is changing during
    program running, and I need from some reasons, to make the CASE
    structure sensitive for the values of this integer. How I can do
    this?
    I know there is always way around, but I am interested in this
    solution.
    thanks in advance
    regards
    PP

    Hi Pawel,
    I am starting a new thread because I think I know what you are asking for.
    First of all, you can not change the values of the case structure itself BUT,
    there is a way.
    What I suggest is the following;
    1) Code your second case as normal. Pretend it has 3 cases 0,1 &2.
    2) Code the first case (just example) such that is has two cases A&B.
    3)Have the first case state A return an array of (3)strings that is "Good", "Bad", and "Ugly".
    4)Have the first case state B return an array of (3) strings that is "Bad", "Ugly", and "Good".
    Feed the above mentioned arrays into a serach 1-d array function. Use the retuned index to select the proper case of "the second case".
    If you now pass "A" to the first case structure, and "Good" to the "se
    arch 1-d array" it will return an index of 0 and the second case will execute case "0".
    If you pass the first case "B" and again pass "Good" to the "serach...." it will return an index of 2 and the second case will execute state "2".
    So,
    by manipulating the arrays returned by the first case structure, you can "dynamically" influence which of the states of the second case is called.
    There are many variations on this idea that are possible. A similar approach would make it possible to select states based on wildcards and simulate "sparse enums".
    Did I nail it this time?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Purchasing conditions types

    Hi All:
    I would like to know if somehow a  particular condition type could be restricted so that in the purchase order can not be repeated by item position?
    Thanks for your support

    hi
    u can make such condition as header condition in M/06
    also check the field structure condition  in condition (m/06)
    regards
    kunal

  • Mettre boucle While en pause/ structure séquence

    Bonjour,
    Actuellement en stage il m'a été demandé de développer une interface LabVIEW en vue du pilotage d'une alimentation triphasé.
    Pour l'instant la majeure partie de mon programme fonctionne mais je me heurte à un problème. Il m'a été aussi demandé que mon programme récupère les informations de mesure provenant de l'alimentation. Cette partie fonctionne également à une exception près : si l'on appuie sur un bouton alors que la commande Write de mesure est en exécution (commande TST dans mon VI), une autre commande sera alors transmise au générateur et la fonction READ ne lira plus de mesure et le VI affichera une erreur de TimeOut. Je cherche donc depuis 2 jours une solution qui me permettrait de mettre la boucle While de mesure en pause en cas d'appuie sur un bouton lors d'une mesure et la reprendre a la fin d'un temps donné.
    Je vous fournie un exemplaire de mon VI afin que cela paraisse plus clair (PS : Je suis sur LabVIEW 2009).
    Je vous remercie d'avance de votre réponse.
    Cordialement.
    Résolu !
    Accéder à la solution.
    Pièces jointes :
    VI.vi ‏55 KB

    Je vous remercie beaucoup de vos réponse. J'ai utilsé vos amélioration et idée et je pense que en théorie ça devrait marcher mais avant d'entamer les tests sur l'alimentation je suis confronté à un nouveau problème : j'ai ajouté des onglets qui devrait me permettre de passer d'un type de langage de commande à un autre. Pour gérer le changement d'onglet j'ai utilisé une structure condition avec une boucle While et une structure évènement. Sur le papier l'idée me paraissait bonne mais après test l'interface se bloque lors du premier changement. La faute est due à la structure évènement qui bloque sur changement d'onglet : valeur changé. Si vous connaissez une alternative à cette solution je vous serez très reconnaissant si vous pouviez me la faire connaitre.
    En vous remerciant par avance.
    Pièces jointes :
    FGV style Visa(1).vi ‏22 KB
    ELGAR TEST 2.vi ‏86 KB

  • Traitement de plusieurs conditions

    Bonjour,
    me voilà de retour j'ai besoin de votre aide pour traiter plusieurs conditions
    en gros j'ai créé un fichier .ini où j'ai mis mes différents conditions , j'en ai 25 . et en fonction de chacune je dois commander un multiplexeur.
    j'essaie de mettre les choses au clair , l'opérateur doit saisir la position XY d'un photodétecteurs sur le masque dont XY varie de 11,12,13,14,15,21,22,23,.....53,54,55 c'est une matrice 5*5 , et en fonction de cette position je dois commander mon multiplexeur , à votre avis ce qui serait préférable c'est d'utiliser une structure condition afin de traiter les 25 cas où je dois entrer ma variable dont je dois rajouter les valeurs ça veut dire de 11 à 55 et en sortie je commande mon multiplexeur où une machine d'état serait un peu facile à réaliser !
    merci d'avance/

    Bonjour OPD38,
    Le choix entre une structure condition et une machine d'état va dépendre de ton programme, de ce que tu fais avant...
    Dans tous les cas les 2 solutions sont relativement liées puisque la structure condition est l'une des "3 briques élémentaires" lors de la conception d'une machine d'états.
    Rien ne t'empêche d'implémentaer un état d'init dans ta machine d'état et de décider du déroulement de la suite de l'exécution en fonction du résultat de cette initialisation.
    Un diagramme d'exécution ne serait pas une mauvaise idée pour nous permettre de te donner de bons conseils.
    Cordialement,
    Romain DUVAL || Application Engineer Specialist ||Certified LabVIEW Architect (CLA) || Certified TestStand Architect (CTA)
    National Instruments France

Maybe you are looking for

  • Contract and iphone 6 plus

    if i were to buy the iphone 6 plus on my current contract and extend for another 2 years ( i have 1 year left on my current contract) extending to a total of 3 years would that drop the price aat all of the iphone 6 plus?

  • Connecting a form with a report

    Hi, I have created a report page with two tables 'A' and 'B' , with ID as primary key for A and ID is foreign key for B . There is an edit link in each row of the report. When we click on that edit link it will be redirected to a form page which is b

  • How do i add google to toolbar in safari

    How do I get google on Safari toolbar

  • Signal express

    Hello i Know that this might not be the proper plateform to ask this question . since i didnt find any one relevent  to my question so i just pasted it on labeview  Well  I  have recently came across a software Name "signal express 4.0" using its dem

  • Problem Installing SunRa ServerSoftware3.1.1

    Hi all how r u I am trying to install SunRay ServerSoftware3.1.1 on Suse 9 Enterprise or Redhat Linux AS4 but getting the same error message Fatal, Error in the module M40AuthMgr i don't know what to do. This is my first time with the installation so