VI polymorphe (types de données)

Créer un VI polymorphe ... une instance par type de donnée.
Si je déclare l'entrée d'une instance avec un Cluster contenant (1xbooléen + 1xnumérique)
il me faut un Cluster identique en entrée ... et dans "l'ordre" en plus.
Si je combine les types simples, les Clusters, les Tableaux (de 1 à n dimensions) ... etc
cela fait un nombre illimités de combinaisons.
LV offre des fonctions polymorphes acceptant (quasi) n'importe quels types de données, par exemple la fonction de comparaison "=".
Cette possibilité est-elle possible via la fonction de construction d'un VI polymorphe ?
Vous allez me dire ... mais pourquoi vouloir créer un VI polymorphe acceptant "tout", c'est absurde.
En fait, j'ai construit un VI polymorphe "Wait ms" ... dans une flat séquence avec le transfert d'un data "in/out" pour le flux de données.
J'y ai repris les types simples les plus utilisés. Cluster d'erreur, numérique, booléen, chaine de caractères ...Un petit VI très pratique.
D'où mon interrogation, serait-il possible de créer soi-même une entrée "full-polymorphe" ?
Comme dab, j'ai mon idée (je pense que non) ... mais je préfère demander un avis.
Si un de vous peut m'éclairer à ce sujet, à l'avance, merci.

Bonjour,
Le comportement que vous observez via la fonction = ou construire un tableau par exemple (et bien d'autres encore) est le resultat de ce qui s'appelle un Xnode .
Un Xnode est un peu un XControl dedie a un diagramme. Il ne s'agit plus de VI polymorphe.
Le seul hic est que les XNode ne sont pas des fonctionnalites "publiees" de LabVIEW accessible a n'importe qui, c'est a dire qu'il n'est pas conseille de developper soi meme un XNode et que les informations sur ceux ci sont rares. Aussi un XNode pourra fonctionner avec une version de LabVIEW et ne plus avec la suivante...
Vous trouverez des exemples en farfouillant sur internet mais d'apres moi, il est deconseille de developper ce genre de fonctionnalitees a moins d'avoir des connaissances poussees de LabVIEW et du fonctionnement de ceux ci.
Cordialement,
Da Helmut

Similar Messages

  • Abap report103 movement type is done and 105 is NOT done.

    HI,
    Requirement need materials for which 103 movement type is done and 105 is NOT done.
    Scenario: - Material comes in company means we do movement 103 for that. after that we do movt. type 105 for that material. I want those material document list that had 103 but not 105.
    Means material has enters in company but movt. type 105 not done.
    Please advice am abap fresher
    Regards..
    R.Sudhakar

    Is possible Query in sap to get this only 105 not release report ?
    ANS:
    Quary table MSEG,
    Check the table content with BWART = 105
    Get the EBELN Nos.
    Pass the EBELN into EKKO Table, Get the value of Field FRGKE.
    if FRGKE <> 'G'.
    ie. Document not yet released.

  • My zagg key board connects but the keys I type either don't type character, type 2 characters that are different when I hit only 1 key, or doesn't type at all. Is there a way to reset zagg keyboard to factory settings?

    My zagg key board connects but the keys I type either don't type character, type 2 characters that are different when I hit only 1 key, or doesn't type at all. Is there a way to reset zagg keyboard to factory settings?

    Recharging is a good thing to try. They do start to act odd when the battery gets low. Beyond that, just like Tom says, contact Zagg. I have one of their keyboards and the company has wonderful customer service.

  • My Publisher plugin Open Type Fonts DON'T PRINT iPhoto 6.0.5 (316)

    I want to post this problem in the hopes it will save some other people the 7 months of frustration I have gone through with My Publisher.
    Apparently, My Publisher is unable to print Open Type fonts. After 7 months of editing and re-editing photos, scanning and re-scanning photos, and placing 13 different orders, someone at My Publisher finally called me to help with the problem. The phone call came after I had emailed Walt Mossberg of the WJS about their total lack of customer service!
    After every order I placed, for the same book, was cancelled, I received the exact same form email, which said I have a corrupt photo file/.jpg and I should fix it. I kept telling them that the Mac and iPhoto don't send them any .jpgs, only a PDF file. No matter what I told them, I got the same email in reply—I have a corrupt .jpg.
    Once they decided to help me (after almost 7 months), we were able to narrow down the problem within a week. They had me produce the same book on a PC, which I was unable to do because they only have about 4 templates and 6 fonts to choose from and are nothing like iPhoto. I made a book and just randomly inserted all the photos, no text. The book printed fine, proving to My Publisher that there was nothing wrong with any of my .jpgs.
    I questioned My Publisher as to why the PC was limited to 6 fonts and were they installed with their BookMaker software and they said "Yes." This led me to believe my problem was with the fonts and they agreed. After talking to them further about fonts, they said they had trouble printing Post Script fonts, but they had printed several books for me that used Post Script fonts. The culprit turned out to be an Open Type font. Once I changed the Open Type font to the True Type version, the book printed perfectly. I don't know if this problem was limited to only this particular font or all Open Type fonts.
    I have asked My Publisher to pursue this problem and post information about it on their website so other people don't have to go through all this frustration.
    Other than this problem, I have been very happy with all the books I have received from My Publisher. The quality has been excellent. The color is a bit off in a few photos some of the time, but for the most part, the color is quite accurately reproduced, at least to my eye. Hot pinkish/purple colors seem to pose a problem.
    Power Mac G4 (Mirrored Drive Doors)   Mac OS X (10.4.8)   2GB RAM; Dual 1.25GHz PowerPC G4
    Power Mac G4 (Mirrored Drive Doors)   Mac OS X (10.4.8)   2GB RAM; Dual 1.25GHz PowerPC G4

    Thanks for the information. I hope to place my first order with them. I am searching for others' experiences to make sure I don't make the same mistakes.
    Thanks again.

  • After post into 911 stroage type mateial don't get cosume

    Here requirement is
    While do the GRN, material directly need to consume to cost center without coming to stock. For this cross docking process I done follow settings.
    1)      I Tick pre-allocated stock to be considered in 101 mvt type.
    2)      I maintained in table through LT51
    3)      Done GRN, TO created and confirmed (LT06).
    4)      Now material is available 911 storage type and the cost center BIN.
    But here doubt is, if confirm the TO, material have to consume. Should not show in stock. But it shows the stock in consumption storage type and bin. If go in TO detail that show +sign of material quantity. Actually need to show – sign then only stock would get consume. How to overcome this problem.?
    Regards
    Karan

    hi Manish kumar
    thanks for your reply.
    Normal scenario
    1) i do GR, TO gets generate and confirm
    2) stock is available in Bin
    3) issue the goods to cost center. stock gets consumed. no stock in bin now
    the above same is done by cross dock as follow
    1)     1)  I Tick pre-allocated stock to be considered in 101 mvt type.
    2)      2) I maintained in table through LT51
    3)      3) Done GRN, TO created and confirmed (LT06).
    4) Now material is available 911 storage type and the cost center BIN
    But here doubt is, if confirm the TO, material have to consume. Should not show in stock. But it shows the stock in consumption storage type and bin. If go in TO detail that show +sign of material quantity. Actually need to show – sign then only stock would get consume. How to overcome this problem.?
    Regards
    Karan

  • Bridge File Type Associations don't see my (2014) products?

    I have just updated Ps, Ai & Id to (2014) and uninstalled old versions (Win 7)
    Now Bridge has forgotten all my File Type Associations (no Adobe products in drop down) same is happening with my suitcase fusion 5 plugs, 2014 product not in plugs list
    Adobe is not installed in the default location, is on my second drive. all else is normal
    The result in this is that I can't 'Edit Original' or open any files without dragging from bridge into app.

    Has Ubuntu and Windows ever seen each other?
    You say "Ubuntu is apparently a linux platform...". not apparently - it IS a linux platform (are these your computers?)
    The first thing is to get them all into the same logical Workgroup.
    On PC: ControlPanel>System>ComputerName..jot down workgroupName.
    On ubuntu, the file/etc/samba/smb.conf is edited (might not need this yet).
    On Mac: Utilities> DirectoryAccess, Configure SMB/CFS...enter WorkgroupName in appropriate box.
    (then look into SystemPreferences>Sharing, and turn on File Sharing.
    In network utilities on the mac, have you been able to you ping these computers by their IP address? Have you been able to ping mac by number from Windows or Linux?
    This site might help, too along with the Apple link that the other user posted:
    http://www.ifelix.co.uk/tech/

  • List content type columns don't show new names after resource files were changed

    Hello,
    we ran into a problem, that we're not able to figure out at the moment.
    We have a site collection with site columns and site content types defined and created with
    features ant their XML files. All display names are retrieved from resource files. We do have
    several subsites, that have predefined lists also created from features and their corresponding
    XML files. They use inherited versions of these site content types as list content types with
    their columns inherited from the site columns.
    We had some changes within the resource files and never ran into a problem up to now.
    We changed the display names of some of these columns within the resource files. After
    these changes the site columns, site content types and list columns show the changes
    as planned. Unfortunately the columns of the list content types do not display the changes.
    They still show the old name. If you try to alter the old names manually the new name is
    shown within the form, but you're not able to save it and the list content type columns
    still have their old name afterwards.
    We checked our definition files and they seemed to be well.
    Any ideas?
    Regards,
    Markus
    List columns as defined within new the resource file:
    List content type columns, that do not show the changes from the new resource file:

    Hi,
    According to your post, my understanding is that you want to modify the site column name in the list.
    I try to reproduce the issue, however, everything works well.
    You can modify the DisplayName in the Element.xml file.
    Then after you redeploy the project, the site column name will be changed in the list setting page.
    In addition, please check whether you create the list correctly.
    For more information, you can refer to
    Walkthrough: Create a Site Column, Content Type, and List for SharePoint
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Procedure for reversing a 553 Movement Type (Scrap) done in QA11

    Hi All,
    We had an operator move three batches of material from QI stock to Scrap when setting the UD in T-Code: QA11.  What is the proper procedure for reversing this error?
    Thanks,
    Paul

    Sujit,
    I have gone into MB1A and entered movement type 554.  I can't find where to indication 05 Inspeciton Type.  (Also, by take UD do you mean to change the UD? )
    I tried doing the 554 movement without entering the 05 Inspection Type and I get the error:
                                                                                    Change the inspection stock of material R15290 in QM only                                                                               
    Message no. QA495                                                                               
    Diagnosis                                                                               
    You want to make a stock posting to/from the inspection stock. This is
         not allowed for material R15290 because the quality inspection control
         has been activated by QM.                                             
    Thank you for your patience.
    Regards,
    Paul

  • I am unable to to publish to BC i keep getting a type error:  Don't know how to generate rendered data for type.  Can someone help me fix this?

    Been having this problem all day now. i just installed the new version

    Can you please send an email to us at [email protected] along with a link to this thread and the .muse file? You can upload it to Adobe Send or Dropbox and include a download link. Thanks!

  • Best way to show a "kiosk type" video done with final cut pro. Any ideas?

    Hi,
    Was hoping to get some pro opinions (no pun intended) on the best way to send my edited final cut vid (png format for super clear text) to 32 inch monitors that will play them in the "store". We have 4 tvs, and they all need to show the video, and the sound (music) accompanying the video. The video is around 8 hours long (bunch of edited video clips to music) and will have to loop somehow. It's much too long for a dvd, as I want to keep the quality primo, so I was considering either a video ipod, or an actual computer. Just the ipod is so mall and frail (lol not really but around the people I work with it would be), and a computer might be overkill. Any ideas or opinions would be highly appreciated.
    Thanks.

    http://www.wdc.com/en/products/index.asp?cat=30
    http://store.apple.com/us/browse/home/shopipod/family/appletv

  • VI polymorphe

    Un VI polymorphe ne tient compte que des entrées (type de données)
    pour déterminer quelle instance il placera en mémoire.
    Que "des entrées" ... et pas des "sorties"
    voici un exemple type ou cela est une lacune.
    une FGV polymorphe.
    Set : pas de problème
    Get : l'instance n'est pas reconnue, car il n'y a pas d'entrée
            obligé de cabler le "Set" pour que cette FGV polymorphe fonctionne.
    Résolu !
    Accéder à la solution.

    "Pour moi cela est bien représentatif de l'esprit LabVIEW"
    oui, je comprends ... plus, je suis d'accord, je n'avais pas envisagé cet angle là.
    Une FGV polymorphe sans mode automatique,
    autant vendre un téléviseur sans la télécommande ... faut "y aller" à chaque fois
    Mais j'adhère à l'idée ... "l'esprit" du flux de données est une chose importante.
    Ceci dit, cela fait passer à la trappe ma "belle" idée d'une FGV (réellement) polymorphe,
    .. faudra passer "en manuel" comme au bon vieux temps 
    merci Simon.

  • How to change exchange rate type for specific pricing condition type

    Hello every one,
    I have a requirement for billing ie VF01.
    currently  all the exchange rate are being calculated with exchange rate type 'M' by default.
    but now client want it should calculate exchange rate with type 'E' for two pricing condition type for all others it should calculate with type 'M'
    Please any body can help me with the exit and code which i can use.
    I have checked exits SDVFX008.
    but how to change exchange rate with type 'E' only for two conditions.
    as changing exchange rate at document header will change exchange rate for all condition type.

    You need to assign KOMK-KURST = 'E', for those two condition types. If it had been item number specific, you could have used USEREXIT_PRICING_PREPARE_TKOMK(RV60AFZZ).
    Do one thing, put a breakpoint on FM 'PRICING' and then do selective runtime analysis.
    Check whether any user exit/BADI/ explicit enhancement are available when condition types are processed in a loop. If nothing is available, try implicit enhancement.
    Link to refer for selective runtime analysis - Runtime Analysis for VOFM
    Also try with VOFM requirements ( not sure whether changing KOMK-KURST is permissable in requirement as normally  we only set sy-subrc values to suppress/allow condition types ). Don't forget to assign requirements against condition types in pricing procedure.

  • Assignment of Step type and CR step for MDG_S

    Hi
    This is in continuaton for thread MDG_S workflow.
    I original issue which is for MDGS when I assigned WS543000005 to CR type and sumitted CR goes no where,
    As as per SWEL it  shows No Reciver Found enen though GET_AGENT table is maintained.
    In another system I found that WS531000044 is assigned ti CR Type Then I tested it and found that CR creates Work Items also upto final processing.
    as per below
    Before CR Submission : CR status is 02: Changes to be executed
    After CR Submission : CR status is 01:To be considered and Approved
    After CR Reviewer approves : CR status is 09: Dependant Data to be processed /Approved
    After Purchase reviewer Finalize processing :CR status is 09: Dependant Data to be processed /Approved
    After Finainace reviewer Finalixe processing :CR status is 09: Dependant Data to be processed /Approved
    Now I can not see CR any where even though CR step 04 and 04 assigned to my user ID
    I have some questions as Description in Define Change Request Steps is not Mataching with description in GET_AGENT desesion table.
    Also it is observed that step 80 is not assigned to WS531000044 in IMG node Define Change Request Steps but it can be seen in GET_AGENT decesion table and step no 06 and 07 does not appears in GET_AGENT decesion table ( In edit mode).
    Can you explain from where assignment of  CR steps to CR type in desion table are taken ino accout ?
    Why description is not matched for steps under IMG and in decesion table?
    Can you explain me releationship between CR step and step type,CR Status and where they \maintained in IMG and how proceeses modelling is diffenent t for determination of Next CR step in case of WS531000044 ?

    Please keep in mind that "hard-wired" workflow templates are just that: hard-wired. This means that a specific workflow template (for example WS53100044) will always have the same number of steps, each step will always have the same type and number, agents will always be assigned in the same way, and those can't be altered by configurations. To understand each workflow template's behavior, you can either open that template in transaction PFTC or SWDD, or alternatively, read the exact behavior in SAP Help documentation. You basically need to google the workflow template number and you should be able to find the description of each template's behavior (by the way, the number you type has an extra zero so if you can't find a match on Google, you will know why ).
    Now, the assignment of CR steps to CR type is done in the workflow template itself and NOT in the decision table. See the first screenshot:
    The step number above "should" correspond to what is in the configuration table (for readability and consistency of documentation purposes). However, if for some reason, it does not, the hard-coded value is the value that will actually be considered. So, in technical terms, the assignment of step numbers in MDGIMG has no influence on how the workflow template will behave. Again, the main purpose is for the corresponding description in the step number configuration table to show on the CR window.
    The other thing is the step type. A step type purpose is mainly to indicate what set of buttons will show at the top of the CR window. The fact that step types are represented by numbers confuse a lot of people with step numbers. I would have personally preferred if step types were a 2-char field so that a clear distinction can be made between step types and step numbers. In any case, buttons on the CR correspond to actions and you can see in MDGIMG that you can assign step types to actions. SAP delivers a pre-defined set of step types and associated actions. Those must NOT be altered because they could break the standard workflow templates. However, you can create your own custom step types and link them with as many actions (standard or custom actions) as you like. But again, you can't assign those custom step types to hard-wired workflow templates. You can only use them in your custom workflow templates or in the rule-based workflow.
    Now, the question is how does the hard-wired workflow know what step type to use. The answer is easy: you can either find that in the SAP Help documentation or in the workflow template definition in transaction SWDD. For the above screenshot, the step type is 2. You can find that if you double-click the task ID TS75707980 (or display it using transaction PFTC) and look in the "Cntainer" tab. In this case, this task will ALWAYS have type 2. Other tasks are assigned different step types or are more dynamic in the sense that they expect the step type to be passed from the main workflow template calling them. For example TS53200002 will always have type 7, TS60808005 will always have type 5, and TS60807954 accepts the step type dynamically. This last one is the one used in the rule-based workflow (hence it has to read the step type configured in the decision table).
    I hope this answers you question. You definitely need some level of workflow design/build knowledge in order to be able to completely understand all of this. Hopefully, this gives you a good starting point.

  • Background posting in MIGO using 501 E movement type

    Hi  Experts,
             I do have a requirement in which I have to post excess quantity to same batch , storage location and under same grid value by movement  type 501 E after posting with 101 movement type is done.
    I do need that after creation of a PO .
       I have to do MIGO ,GR wrt PO by movement type 101.
    Let PO Quantity(goitem-bsmng) be 100.
    But when entered  quantity in delivery note(150 ) is more than over delivery PO  tolerance quantity(110) ,
    then 110 should be posted as under movement type 101
    and remaining 40 quantity should be posted to same storage location , batch and grid value under movement type 501 E and that too in background.
    Any  one if face the same situation , please help me out.
    Thanx ,
    Jeet
    Moderator message : Spec dumping not allowed. Thread locked.
    Edited by: Vinod Kumar on Jul 25, 2011 4:51 PM

    nilupriya wrote:
    Hi Experts,
    >
    > Can you please brief me about the Accounting doc while using the 311 movement type. if there is involve the split valutation in internal purpose or external purpose.
    >
    > Regards
    Hi Nilu,
    See that Mvt 311 is trf betwn st.loc to st.loc, where the goods are not leaving any valuation area, hence there's no value change, which means Accounting Documents are not created as they are not necessary.
    Hope its clear
    Shiva

  • Restrict WBS Element Type During Element Creation

    I have our Finance dept who is wanting to create a role that will restrict the users to creating ONLY a Statistical WBS Element, and no other type of WBS element.  I have looked through the auth objects associated with CJ30, CJ20N, CJ01 and CJ11, but do not see any auth objects that restrict the type of WBS element that can be created.
    Does anyone have an idea if this can even be done?  Is this intended functionality?

    >
    Michael Towan wrote:
    > I have our Finance dept who is wanting to create a role that will restrict the users to creating ONLY a Statistical WBS Element, and no other type of WBS element.  I have looked through the auth objects associated with CJ30, CJ20N, CJ01 and CJ11, but do not see any auth objects that restrict the type of WBS element that can be created.
    >
    > Does anyone have an idea if this can even be done?  Is this intended functionality?
    i had a look-around CJ30 (not the other ones). i'm not familiar with this module but obviously the 'philosophy' behind WBS elements does not cover their 'type'. i don't think you can do this without using an enhancement. i had to run from work today to keep up for another appointment so i was not able to search for an enhancement that might do the trick. maybe you can do that with an abaper on your site?

Maybe you are looking for

  • I can't save my photos to the camera roll

    Hey! Can you guys please help me? I have an iphone 4s. Since I've upgraded to IOS6 I can't take photos anymore. The camera app crashes. What can I do? Maybe restore the settings after backup? Thank you!!!

  • How to Create a new plugin in Strobe Media PlayBack?

    Hai               i want to create a plugin for swf,and added into the Strobe media Playback.i follow this link:http://osmf.org/dev/osmf/OtherPDFs/osmf_plugin_dev_guide.pdf But my plugin is Not Loaded ,i dunno wats the reason.Anybody kindly Help me,a

  • Crystal Report with Windows Vista Home Premium

    (Why I added Code and my paragraph becomes dis-order??) Dear all, This is my first post in this forum. So, if I put at wrong section, Mod please kindly move my thread. Here is what I'm facing now. I have an application which is coded in Visual Studio

  • Creation of tables in SAP R/3

    Hi all, I am new to SAP. i would like to know how to create tables in SAP R/3. what is T-code fot that. regards, santosh

  • Recieving Error: iTunes has encountered a problem and needs to close

    Please help. I have 2 iPods (nano 4gb & 30gb). My computer recognized the iPods, but iTunes does not open, nor does Quicktime. I am assuming this is due to a Window update, but I still have no idea how to fix this outside of what I've already tried.