Sous-VI (question à 50cent)

Bonjour,
Petite question (au raz des paquerettes ) concernant le comportement des VIs.
Dans le code "principal", quand je laisse une entrée de porte en "l'air" ... LV n'aime pas ça
par contre, si je "transforme" le code en sous-VI, et que je ne cable rien sur le dite entrée ... LV accepte.
Il "semblerait", que dans un sous-VI, une entrée "non cablée" est accptée et reçoit la valeur par défaut pour le type de donnée.
Mon constat est-il correct ?
Est-ce bien comme cela que LV se comporte avec un sous-VI ?
merci.
Résolu !
Accéder à la solution.

Je n’ai pas le texte exact de l’aide LabVIEW mais pour résumer. Les paramètres d’entrées sont classifiés en :
« recquis», l’entrée doit être câblée pour l’exécution du sous-vi (par exemple des références) (sinon il y aura surement une erreur) ;
« recommandé », la valeur par défaut permet l’exécution du sous-vi, donc pas d'erreur, mais le code a été réalisé pour être cablé;
« optionnelle », le sous-vi est développé pour fonctionner avec la valeur par défaut.
A+
Luc Desruelle | Voir mon profil | LabVIEW Code & blog
Co-auteur livre LabVIEW : Programmation et applications
CLA : Certified LabVIEW Architect / Certifié Architecte LabVIEW
CLD : Certified LabVIEW Developer / Certifié Développeur LabVIEW

Similar Messages

  • Question technique sur la gestion de la mémoire sous labview

    J aurai aimé savoir de quelle manière labview gère la mémoire.
    Sur un pc, j'ai une application qui doit fonctionner 24h/24 pendant un an. Cette application récupère des données. Au total pour un an j'ai calculé qu il me faut 160 Moctets rien que pour ces données.
    J aurai donc voulu savoir si labview au démarrage aloue une taille prédéfinie pour la mémoire ou si cette taille est variable. merci de votre aide

    DOC (-) doc wrote:...soit l'allocation est dynamique (type build array avec shift registers), ce qui est le cas le pire car alors un nouvel espace mémoire est attribué sans enlever l'ancien...
    Hum... Pas d'accord ! L'ancien espace mémoire est automatiquement libéré. LabVIEW essaie toujours d'économiser la mémoire. Il y a un excellent article sur ce sujet ici.
    Si vous lancez le profiler, vous verrez qu'avec le vi attaché, le sous-vi store data (une boucle avec un shift register et une fonction build array) utilise n x 1024 + 1024 octets, à peu de chose près.
    De la même manière, lorsqu'on utilise la fonction initialize array, le bloc mémoire correspondant est évidemment immédiatement alloué !
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Test Memory.llb ‏40 KB

  • Interview Questions

    Hy Gurus
    I am new to BW.
    Can u please let me know the answers for the following Qs.
    1.     What is a Data warehouse? List Few Properties of a Data warehouse.
    2. What are the major challenges of any Data Warehouse design?
    3. Data loading issues, Reporting, Production support issues?
    4.     Data Modeling, Info cube, ODS obj creation?
    5.     SAP Batch process in BW side?
    6.     How to schedule the Background jobs in ABAP, & BW?
    7.     Variables in Query? User exit variables? How do u create user exit variable? And wt u have used?
    8.     Structures in Query Reporting? What are structures?
    9.     Transportation steps?
    10.     How to compress the Info cube? What happens when you compress the info cube?
    11.     Performance issues in Reporting? How can you improve the performance of the query?
    12.     Where the ABAP routines are used in BW side?
    13.     How to create Primary index & secondary indexes on ODS?
    14.     How to prevent the duplicate records at the data target level?
    15.     Issues regarding double records?
    16.     Info sets and multiprovider differences?
    17.     Issues faced in Delta loading? Why it happened?
    Enhancements to the Data sources?
    18.     Issues in loading the data from Flat files? Delta load issues? Which will u suggest for flat file loading is it delta or full load?
    19.     How to prevent the Replication Errors? What happens when you replicate the Data Sources?
    20.     Process chain steps? Which process type is used to delete the last request when loading the data?
    21.     What is virtual cube? Characteristics? Its significance?
    22.     Diff. methods for Generic Data Sources?
    23.     What is Extract structure? Where it is used?
    24.     Data Modeling – design issues, Tech specifications, Modeling , Reporting, Testing, Transportation
    25.     Extraction on R/3 side steps?LO’s
    26.     How do you setup LIS?
    27.     SAP Batch process? /.where does u setup batch process?
    28.     Reconstruction tab in Info cube? Why it is used?
    29.     Suppose Info cube (A) having 10 records.
                         We want to take the some records say 4-7 from Info cube (A) -- Info cube (B).
                How does u handle the situation?
    30.     Suppose ODS contains 5 records and the Info cube shows 12 records. How to solve it?
    31.     Landscape
    32.     Tell me typical BW Team & How u work?
    33.     How to Maintain the Master data at Client –Server architecture?
    34.     Query performance problems? How does u improve the performance?
    35.     How does u improve the Info cube design performance?
    36.     How do you improve the Dimension & fact table performance?
    37.     How to push data from PSA to ODS?
    38.     How to postpone daily load?
    39.     The functions of Administrator Workbench are…
    40.     What is RECORD MODE
    41.     What is partition? How to partition the Info cube & PSA. ?..
    42.     How to filter single records when uploading into an ods object?
    43.     How can u connect a new data target to an existing data flow?
    44.     When it is advantageous to create secondary indexes for ODS field?
    45.     Purpose of setup tables?
    46.     What is Delta mechanism?
    47.     Will u create an infosourse for every data souse? How many infosourse can we connect to a Data Sources?
    48.     What is a Star Schema? What is the Differences between a Classic Star Schema & Extended Star schema.
    49.     What is an Attribute? Difference between Display Attribute & Navigational Attribute?
    50.     What is Transfer Rule? List the methods used in Transfer Rules.
    51.     Why we need ODS? /List a few of the technical settings that can be defined when building/modifying an ODSObject?
    52.     What is ODS? What are the three tables associated with an ODS object? What are the two types of ODS.
    53.     Name the two tables that provide detailed information about data sources.
    54.     What are two data transfer methods? Which is the preferred method and why?
    55.     Where will the development take place?&  Who will do the development testing.
    56.     Who will be responsible for long-term support?
    57.     What is a Slowly Changing Dimension?
    58.     What is namespace for SAP BW?
    59.     What are nine decision points of Data warehouse
    60.     How does u install BW Statistics? How you enable monitoring using BW Statistics.
    61.     How do u rate u r self in Modeling, Reporting & Extraction.
    62.     What are the advantages with LO Extraction.
    63.     What are the steps in General to enhance data?
    64.     What are Phases in ASAP Methodology?
    65.     What is the 90 Day rule?
    66.     What is the demo content use?
    67.     What is the use of RSRAJ Transaction?
    68.     What is the use of RSSU53 Transaction?
    69.     Can u repeat the Master Data Source?
    70.     What is diff. b/w DW and BW?
    71.     Will u use idol methods in BW?
    72.     What does the number in the 'Total' column in Transaction RSA7 mean?
    73.       The extract structure was changed when the Delta Queue was empty. Afterwards new delta records were written to the Delta Queue. When loading the delta into the PSA, it shows that some fields were moved. The same result occurs when the contents of the Delta Queue are listed via the detail display. Why are the data displayed differently? What can be done?
    74.     How and where can you control whether a repeat delta is requested?
    75.     Can I use several clients within SAP BW?
    Thanks in Advance
    murali

    Hi
    I have few questions and answer u can check it out which would be more helpful
    Solution
    Questions and answers.
    Question 1:
    What does the number in the 'Total' column in Transaction RSA7 mean?
    Answer:
    The 'Total' column displays the number of LUWs that were written in the delta queue and that have not yet been confirmed. The number includes the LUWs of the last delta request (for repeating a delta request) and the LUWs for the next delta request. An LUW only disappears from the RSA7 display when it has been transferred to the BW System and a new delta request has been received from the BW System.
    Question 2:
    What is an LUW in the delta queue?
    Answer:
    An LUW from the point of view of the delta queue can be an individual document, a group of documents from a collective run or a whole data packet from an application extractor.
    Question 3:
    Why does the number in the 'Total' column, in the overview screen of Transaction RSA7, differ from the number of data records that are displayed when you call up the detail view?
    Answer:
    The number on the overview screen corresponds to the total number of LUWs (see also question 1) that were written to the qRFC queue and that have not yet been confirmed. The detail screen displays the records contained in the LUWs. Both the records belonging to the previous delta request and the records that do not meet the selection conditions of the preceding delta init requests are filtered out. This means that only the records that are ready for the next delta request are displayed on the detail screen. The detail screen of Transaction RSA7 does not take into account a possibly existing customer exit.
    Question 4:
    Why does Transaction RSA7 still display LUWs on the overview screen after successful delta loading?
    Answer:
    Only when a new delta has been requested does the source system learn that the previous delta was successfully loaded into the BW System. The LUWs of the previous delta may then be confirmed (and also deleted). In the meantime, the LUWs must be kept for a possible delta request repetition. In particular, the number on the overview screen does not change if the first delta is loaded into the BW System.
    Question 5:
    Why are selections not taken into account when the delta queue is filled?
    Answer:
    Filtering according to selections takes place when the system reads from the delta queue. This is necessary for performance reasons.
    Question 6:
    Why is there a DataSource with '0' records in RSA7 if delta exists and has been loaded successfully?
    Answer:
    It is most likely that this is a DataSource that does not send delta data to the BW System via the delta queue but directly via the extractor . You can display the current delta data for these DataSources using TA RSA3 (update mode ='D')
    Question 7:
    Do the entries in Table ROIDOCPRMS have an impact on the performance of the loading procedure from the delta queue?
    Answer:
    The impact is limited. If performance problems are related to the loading process from the delta queue, then refer to the application-specific notes (for example in the CO-PA area, in the logistics cockpit area, and so on).
    Caution: As of PlugIn 2000.2 patch 3, the entries in Table ROIDOCPRMS are as effective for the delta queue as for a full update. Note, however, that LUWs are not split during data loading for consistency reasons. This means that when very large LUWs are written to the delta queue, the actual package size may differ considerably from the MAXSIZE and MAXLINES parameters.
    Question 8:
    Why does it take so long to display the data in the delta queue (for example approximately 2 hours)?
    Answer:
    With PlugIn 2001.1 the display was changed: you are now able to define the amount of data to be displayed, to restrict it, to selectively choose the number of a data record, to make a distinction between the 'actual' delta data and the data intended for repetition, and so on.
    Question 9:
    What is the purpose of the function 'Delete Data and Meta Data in a Queue' in RSA7? What exactly is deleted?
    Answer:
    You should act with extreme caution when you use the delete function in the delta queue. It is comparable to deleting an InitDelta in the BW System and should preferably be executed there. Not only do you delete all data of this DataSource for the affected BW System, but you also lose all the information concerning the delta initialization. Then you can only request new deltas after another delta initialization.
    When you delete the data, this confirms the LUWs kept in the qRFC queue for the corresponding target system. Physical deletion only takes place in the qRFC outbound queue if there are no more references to the LUWs.
    The delete function is intended for example, for cases where the BW System, from which the delta initialization was originally executed, no longer exists or can no longer be accessed.
    Question 10:
    Why does it take so long to delete from the delta queue (for example half a day)?
    Answer:
    Import PlugIn 2000.2 patch 3. With this patch the performance during deletion improves considerably.
    Question 11:
    Why is the delta queue not updated when you start the V3 update in the logistics cockpit area?
    Answer:
    It is most likely that a delta initialization had not yet run or that the the delta initialization was not successful. A successful delta initialization (the corresponding request must have QM status 'green' in the BW System) is a prerequisite for the application data to be written to the delta queue.
    Question 12:
    What is the relationship between RSA7 and the qRFC monitor (Transaction SMQ1)?
    Answer:
    The qRFC monitor basically displays the same data as RSA7. The internal queue name must be used for selection on the initial screen of the qRFC monitor. This is made up of the prefix 'BW, the client and the short name of the DataSource. For DataSources whose name is shorter than 20 characters, the short name corresponds to the name of the DataSource. For DataSources whose name is longer than 19 characters (for delta-capable DataSources only possible as of PlugIn 2001.1) the short name is assigned in Table ROOSSHORTN.
    In the qRFC monitor you cannot distinguish between repeatable and new LUWs. Moreover, the data of a LUW is displayed in an unstructured manner there.
    Question 13:
    Why is there data in the delta queue although the V3 update has not yet been started?
    Answer:
    You posted data in the background. This means that the records are updated directly in the delta queue (RSA7). This happens in particular during automatic goods receipt posting (MRRS). There is no duplicate transfer of records to the BW system. See Note 417189.
    Question 14:
    Why does the 'Repeatable' button on the RSA7 data details screen not only show data loaded into BW during the last delta but also newly-added data, in other words, 'pure' delta records?
    Answer:
    It was programmed so that the request in repeat mode fetches both actually repeatable (old) data and new data from the source system.
    Question 15:
    I loaded several delta inits with various selections. For which one
    is the delta loaded?
    Answer:
    For delta, all selections made via delta inits are summed up. This
    means a delta for the 'total' of all delta initializations is loaded.
    Question 16:
    How many selections for delta inits are possible in the system?
    Answer:
    With simple selections (intervals without complicated join conditions or single values), you can make up to about 100 delta inits. It should not be more.
    With complicated selection conditions, it should be only up to 10-20 delta inits.
    Reason: With many selection conditions that are joined in a complicated way, too many 'where' lines are generated in the generated ABAP source code which may exceed the memory limit.
    Question 17:
    I intend to copy the source system, i.e. make a client copy. What will happen with may delta? Should I initialize again after that?
    Answer:
    Before you copy a source client or source system, make sure that your deltas have been fetched from the delta queue into BW and that no delta is pending. After the client copy, an inconsistency might occur between BW delta tables and the OLTP delta tables as described in Note 405943. After the client copy, Table ROOSPRMSC will probably be empty in the OLTP since this table is client-independent. After the system copy, the table will contain the entries with the old logical system name which are no longer useful for further delta loading from the new logical system. The delta must be initialized in any case since delta depends on both the BW system and the source system. Even if no dump 'MESSAGE_TYPE_X' occurs in BW when editing or creating an InfoPackage, you should expect that the delta has to be initialized after the copy.
    Question 18.
    Am I permitted to use the functions in Transaction SMQ1 to manually control processes?
    Answer:
    Use SMQ1 as an instrument for diagnosis and control only. Make changes to BW queues only after informing BW Support or only if this is explicitly requested in a note for Component 'BC-BW' or 'BW-WHM-SAPI'.
    Question 19.
    Despite the delta request only being started after completion of the collective run (V3 update), it does not contain all documents. Only another delta request loads the missing documents into BW. What is the cause for this "splitting"?
    Answer:
    The collective run submits the open V2 documents to the task handler for processing. The task handler processes them in one or several parallel update processes in an asynchronous way. For this reason, plan a sufficiently large "safety time window" between the end of the collective run in the source system and the start of the delta request in BW. An alternative solution where this problem does not occur is described in Note 505700.
    Question 20.
    Despite deleting the delta init, LUWs are still written into the DeltaQueue
    Answer:
    In general, delta initializations and deletions of delta inits should always be carried out at a time when no posting takes place. Otherwise, buffer problems may occur: If you started the internal mode at a time when the delta initialization was still active, you post data into the queue even though the initialization had been deleted in the meantime. This is the case in your system.
    Question 21.
    In SMQ1 (qRFC Monitor) I have status 'NOSEND'. In the Table TRFCQOUT, some entries have the status 'READY', others 'RECORDED'. ARFCSSTATE is 'READ'. What do these statuses mean? Which values in the field 'Status' mean what and which values are correct and which are alarming? Are the statuses BW-specific or generally valid in qRFC?
    Answer:
    Table TRFCQOUT and ARFCSSTATE: Status READ means that the record was read once either in a delta request or in a repetition of the delta request. However, this still does not mean that the record has successfully reached the BW. The status READY in the TRFCQOUT and RECORDED in the ARFCSSTATE means that the record has been written into the delta queue and will be loaded into the BW with the next delta request or a repetition of a delta. In any case only the statuses READ, READY and RECORDED in both tables are considered to be valid. The status EXECUTED in TRFCQOUT can occur temporarily. It is set before starting a delta extraction for all records with status READ present at that time. The records with status EXECUTED are usually deleted from the queue in packages within a delta request directly after setting the status before extracting a new delta. If you see such records, it means that either a process which confirms and deletes records loaded into the BW is successfully running at the moment, or, if the records remain in the table for a longer period of time with status EXECUTED, it is likely that there are problems with deleting the records which have already been successfully been loaded into the BW. In this state, no more deltas are loaded into the BW. Every other status indicates an error or an inconsistency. NOSEND in SMQ1 means nothing (see note 378903). However the value 'U' in field 'NOSEND' of table TRFCQOUT is of concern.
    Question 22.
    The extract structure was changed when the delta queue was empty. Afterwards new delta records were written to the delta queue. When loading the delta into the PSA, it shows that some fields were moved. The same result occurs when the contents of the delta queue are listed via the detail display. Why is the data displayed differently? What can be done?
    Answer:
    Make sure that the change of the extract structure is also reflected in the database and that all servers are synchronized. We recommend resetting the buffers using Transaction $SYNC. If the extract structure change is not communicated synchronously to the server where delta records are being created, the records are written with the old structure until the new structure has been generated. This may have disastrous consequences for the delta. When the problem occurs, the delta needs to be re-initialized.
    Question 23. How and where can I control whether a repeat delta is requested?
    Answer:
    Via the status of the last delta in the BW Request Monitor. If the request is RED, the next load will be of type 'Repeat'. If you need to repeat the last load for any reason, manually set the request in the monitor to red. For the contents of the repeat, see Question 14. Delta requests set to red when data is already updated lead to duplicate records in a subsequent repeat, if they have not already been deleted from the data targets concerned.
    Question 24.
    As of PI 2003.1, the Logistic Cockpit offers various types of update methods. Which update method is recommended in logistics? According to which criteria should the decision be made? How can I choose an update method in logistics?
    Answer:
    See the recommendation in Note 505700.
    Question 25.
    Are there particular recommendations regarding the maximum data volume of the delta queue to avoid danger of a read failure due to memory problems?
    Answer:
    There is no strict limit (except for the restricted number area of the 24-digit QCOUNT counter in the LUW management table - which is of no practical importance, however - or the restrictions regarding the volume and number of records in a database table).
    When estimating "soft" limits, both the number of LUWs and the average data volume per LUW are important. As a rule, we recommend bundling data (usually documents) as soon as you write to the delta queue to keep number of LUWs low (this can partly be set in the applications, for example in the Logistics Cockpit). The data volume of a single LUW should not be much larger than 10% of the memory available to the work process for data extraction (in a 32-bit architecture with a memory volume of about 1 GByte per work process, 100 MByte per LUW should not be exceeded). This limit is of rather small practical importance as well since a comparable limit already applies when writing to the delta queue. If the limit is observed, correct reading is guaranteed in most cases.
    If the number of LUWs cannot be reduced by bundling application transactions, you should at least make sure that the data is fetched from all connected BWs as quickly as possible. But for other, BW-specific, reasons, the frequency should not exceed one delta request per hour.
    To avoid memory problems, a program-internal limit ensures that no more than 1 million LUWs are ever read and fetched from the database per delta request. If this limit is reached within a request, the delta queue must be emptied by several successive delta requests. We recommend, however, to try not to reach that limit but trigger the fetching of data from the connected BWs as soon as the number of LUWs reaches a 5-digit value.
      THANKS =POINTS in SDN
    SANJEEV

  • A few basic questions about NetWeaver

    Hi, I am really new to SAP and to NetWeaver, i usually work with ASP.net and other data sources, let me tell you a little bit of my scenario:
    Right now, i've changed job, and now I am facing a totally new environment, SAP is one of the things we use to drive our data reports monthly, but to get to the desired information, there are many steps to get it, like:
    1- Run a Sap report
    2- Export it to a .txt
    3- import the file in MS Excel, and apply a Macro to parse it
    4- Copy and paste the results into a separate Excel, to send it.
    Obviously one of the things i want to help my company is to automate as much as possible the processes to get the final report, and well i though:
    "Why don't i connect directly to SAP from .NET?"
    I read a little about it and then is when i hear about NetWeaver, a separate layer of SAP, that can interact with .NET.
    My questions are:
    1 - Is NetWeaver a client solution, i mean, at the end i leave the SAP server alone, and just install the software with new connection libraries in my computer?
    2 - Can i query the same reports I am running inside ..Net and work with the results locally?
    3- Can all this happen inside Visual Studio 2003
    Thanks to all your help, i really want to convert this into a huge project of migrating all the manual processes into automated reports, any ideas, and suggestions are welcome, ideas on how to connect SAP to .NET, third party components, documentation, examples.
    Thanks again!
    Edgardo

    You can't run the report directly but if you make the same report run as a RFC enabled function module, whose EXPORT is the result of the report, then yes, you have access to that data in Visual Studio.
    You can then integrate .Net with Excel.
    In my case, what im doing is extracting customer data, and their respective sales orders to Excel. I have a spreadsheet, with VBA code. I fill a field with the customer number, press a button. It then does the following:
    1 - Excel's VBA code calls a .Net library (DLL) that I created, using the customer code as import parameter.
    2 - The DLL then calls a function module in SAP, supplying the customer number as an import parameter.
    3 - The function module runs, and returns the data in table format to the DLL.
    4 - The DLL returns the data to VBA in Excel.
    5 - I process the data, and write it to the cells.
    The .Net library was created using Visual Studio 2003 with SAP .Net Connector 2.0.
    Hope this helps you get a picture of what you can do.
    Message was edited by: Joao Sousa
    Message was edited by: Joao Sousa

  • XControl (question sur "data in")

    J'ai construit un XControl (indicateur)
    (ceci dit, pas facile d'aborder les XControl ... pas beaucoup de docs, peu d'explications, Il faut chercher par soi-même)
    J'ai besoin de lui envoyer 2 données ... un U32 et un booléen.
    J'ai configuré "data in" (type def data 1.ctl) comme étant un cluster comprenant (1xU32)+(1xbooléen)
    Unbundle dans le XControl ... ça fonctionne.
    ma question :
    Serait-il possible de ne pas utiliser de cluster pour "passer" mes 2 données au XControl ? ... il me faudrait alors 2 entrées.
    Autrement dit,
    "data in" me donne une entrée ... que je peux configurer en U32
    Serait-il possible de créer une 2eme entrée de données au XControl ?
    Je pourrais alors configurer cette 2eme entrée en booléen (via un 2eme type def).
    et me passer du Cluster.
    Cela ne me dérange nullement d'utiliser un Cluster d'entrée.
    Simplement dans un contexte théorique et d'apprentissage de LV, je me pose cette question.
    Merci à tous.

    Bonjour Olivier,
    Toujours très chouette tes interventions.
    Oui, en effet, je me frotte aux XControl, passionnant comme tout le reste.
    Avant cela, j'ai touché un peu aux VIs Polymorphes ... une récréation à côté des XControls
    Pour les XControls la doc est rare et peu approfondie sur le Net, il faut "y aller" par soi-même.
    "Dernière chose, je pense que tenter de modifier le connecteur du Facade.vi est voué à l'achec"
    Oui, bien sur ... "tout cela" est géré par LV en arrière plan (je l'ai parfaitement compris),
    vouloir ajouter un connecteur d'entrée à un XControl ... autant vouloir ajouter un 2eme compteur d'itérations à une boucle For.
    Je reprends tes remarques :
    1) oui, ça j'ai compris.
    2) ça je comprends moins.
        un XControl sert à créer un Control ou un Indicateur personnalisé, avec un comportement particulier.
        Mais ... pour "séparer" les parties de code ... je ne "sens" pas la chose.
        Cela ne me semblait pas être le "but premier" d'un XControl ... mais plutôt des sous-VIs.
    3) super remarque.
    4) comprends pas ... De toutes façons il m'est impossible d'utiliser un autre type de données que ceux repris dans LV.
    5) et 6) super remarque ... à écrire sur le mur, derrière l'écran.
    7) s'inspirer des objets LV ... ? ... à quels objets penses-tu (par exemlpe)
    J'ai construit un XControl perso pour commander un afficheur 7 segments,
    ça fonctionne tip-top, mais cela reste un XControl assez simple.
    Pour le moment je regarde de près 2 exemples du Net ("LedXCtrl" de Aristos Queue et "BlinkingLed")
    J'ai déjà fait connaissance avec le Cluster "state" et avec "Display State Change" ... je commence "à voir".
    Pour les Propriétés et Méthodes que l'on peut ajouter à un XControl ...
    J'y arrive ... la bête est juste devant moi, on se regarde

  • Pb publication site flash cree sous professional CS5

    Bonjour,
    je rencontre un probleme pour publier un site entierement flash créé sous professional CS5: le fichier du site en swf visionné en local sous differents browsers et taille d'écran se resize automatiquement. Lorsque j'ai publié le site flash puis uploadé sur le serveur public les pb suivants apparaissent:
    - Mes contacts qui sont allé evaluer le site (www.biostrategic-partners.com):  il n'y a plus de resizing en fonction de la taille de l'écran qq soit la résolution des ecrans et taille (idem firefox/internet explorer) comme c'est le cas en local. Et donc sur des petits notes book ou laptops on ne voit pas la partie inférieure du site et il n'a y a apparition de barre de scrolling à dte/en bas dans le browser pour faire défiler. D'autre part, il est aligné à gche et non centré alors que spécifié dans les parametres de publications (onglet flash). N'étant pas un professionnel du webdesign! merci pour votre aide par avance.
    Bien à vous.
    gerard

    Bonjour Melanie,
    publier le lien svp., il serait plus facile d'analyser la question, en dépit de tout (pour moi).
    Cordialement
    Hans-Günter

  • Timers Multithread sous CVI

    Bonjour,
    J'ai plusieurs questions concernant mon programme avec LabWindows CVI 9.0 et 4 cartes NI PCI 6229, sous Windows XP et dual core Intel 3GHz.
    Je souhaite réaliser un programme qui réalise une boucle d’asservissement et également un contrôle et affichage sur des acquisitions. Je n’ai malheureusement pas le choix sur l’OS et je ne peux pas m’orienter sur une solution temps réel.
    Pour cela, je souhaite réaliser
    -          une boucle qui gère l’asservissement (acquisition sur 20 entrées, calcul sur ces acquisitions, et génération sur 10 sorties, tout ceci en 10ms, c’est la BOUCLE CRITIQUE)
    -          une boucle pour le contrôle (simple contrôle sur ces acquisitions: comparaison à une valeur seuil, 10ms)
    -          une boucle pour l’affichage (affichage des résultats sur la face avant des contrôles OK ou non OK, toutes les 200ms)
    Je souhaitais à la base utiliser 3 timers asynchrones de CVI, mais je me suis aperçu qu’on ne pouvait utiliser qu’un seul Timer asynchrone à la fois.
    J’ai donc vu qu’il y avait une autre solution, le multithread en utilisant les thread pool. Cette solution m’intéresse, car je souhaiterai mettre la boucle critique dans 1 thread sur le 1er coeur, la boucle de contrôle dans un 2ème thread sur le 2ème coeur, et la boucle d’affichage dans un 3ème thread sur le 2ème coeur.
    La boucle d’asservissement est la boucle critique et doit être de 10ms à +/- 2ms.
    Les autres bouclent ne sont pas critiques et peuvent avoir un décalage de +/- 10ms, le but est de ne pas perdre de données et de contrôler toutes les acquisitions. Un affichage toute les 200ms suffit.
    Voilà j’ai alors 2 questions :
    -          est-ce que mon approche (timers en multithread et diviser sur les 2 cœurs) convient pour mon application ?
    -          et comment mettre un timer classique dans un thread spécifique ? J’ai vu qu’il fallait utiliser «CmtScheduleThreadPoolFunction (int Pool_Handle, ThreadFunctionPtr Thread_Function, void *Thread_Function_Data, int *Thread_Function_ID)” Mais cette fonction appelle une fonction de type “CVICALLBACK FonctionThread(void *functionData)” et mon timer classique est de type “CVICALLBACK Timer_Classique (int panel, int control, int event, void *callbackData, int eventData1, int eventData2)” Comment donc appeler un timer classique avec une fonction CmtScheduleThreadPoolFunction ? Faut-il procéder d’une autre manière ?
    Je vous remercie de votre aide.
    Cordialement,
    Hédi.

    Bonjour,
    L'approche multi-thread est en effet la bonne, dès qu'il faut séparer plusieurs tâches. Je vous invite à consulter cet article du Rebel Site, qui traite du multithread et constitue une référence en la matière. Attention, le multithread n'implique pas obligatoirement une gestion multicoeur. Il faut pour le mettre en oeuvre passer par l'API de Windows.
    Est-il bien nécessaire de faire de du contrôle 10ms? (deuxième boucle) Au quel cas, je ne suis pas absolument sûr qu'il faille créer un thread séparé. Si cette tâche peut supporter un cadencement plus lent, il serait plus malin de venir la traiter dans le troisième thread.
    Il serait intéressant d'utiliser une Thread Safe Queue pour faire circuler les données d'un thread à l'autre. Ce mécanisme permettra de ne pas perdre de données. D'autre part, vous pouvez alors installer une callback sur un nombre d'éléments dans la TSQ (Thread Safe Queue) et venir déclencher la callback associée à cette TSQ dès que 20 éléments sont présents pour piloter le troisième thread depuis le premier.
    Dans cette configuration, il n'y a plus besoin que d'un timer, pour la partie temps critique - bien que sous Windows, on ne puisse pas garantir le déterminisme d'une boucle à 10ms - les autres thread étant 'esclave' du premier.
    Cordialement,
    .mrLeft{float:left} .mrInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898}
    Mathieu R.  
      CTD - Certified TestStand Developer / Développeur TestStand Certifié  
      CLAD - Certified LabVIEW Associate Developer  

  • Objet: paramètrage imprimante Canon sous Mac OS.X

    Objet: paramètage imprimante sous Mac OS.X
    Imprimante Canon MX850
    Bonjour,
    Je suis passé de Photoshop Element 7 version PC a PSE9 version Mac.
    Sous Windows il était possible de paramètrer complètement l’imprimante: type de papier, impression avec ou sans bordure, etc., etc....
    Sous Mac OS, presque plus aucun réglages et une qualité d’impression désastreuse.
    Est-ce due a des limitations de PSE9 version Mac, ou bien aux drivers version Mac de l’imprimante Canon?
    Merci de votre aide.

    Pose questions in this Forum in English please or refer to http://forums.adobe.com/community/international_forums/francais
    In case you are talking about Elements there is a Forum for that program specifically.

  • Simple Question....Ma

    I have the X-Fi card and now the new drivers out. It fixes some bugs and what not, but what my question is, do I have to uninstall everything first, then download this like a regular dri've? I never use to uninstall my SB Audigy 2 ZS when I did the auto updates....am I doing something wrong or can I do auto updates and let it install without uninstalling?
    Thank you for your time

    Bonjour. La période des fêtes est peu propice aux questions urgentes, mais depuis, vous avez sans doute trouvé l'organisation des objets et calques directement dans le panneau de timeline (tout en bas).
    Il vous suffit, dans ce panneau de maintenir la souris enfoncée sur le nom du calque puis de glisser votre texte sous le solide et relacher quand ceux-ci sont dans le bon ordre.

  • Impossible d'imprimer fichiers pdf à partir d'Adobe Reader sous Mac OSX 10.6.2

    L'imprimante (Canon MP610) n'est pas en cause car j'imprimais très bien quand j'avais un Power PC Mac OSX 10.4.
    Le message d'erreur est toujours le même (malgré les dernières mises à jour Adobe reader 9.3.1 que je viens de faire) depuis deux mois que j'ai ce nouveau Mac:
    Error:pstopdffilter/pstocupsraster failed with error 13
    Vu le nombre de fichiers qui sont maintenant à imprimer sous pdf, cela est très handicapant. Je contourne le problème en convertissant le fichier sous jpeg quand c'est possible mais cela prend du temps...
    Canon m'a confirmé que cela n'avait rien à voir avec l'imprimante et les logiciels de gestions d'impression et me demande de me retourner vers Adobe.
    J'ai pu voir sur de nombreux forums que le problème est rapporté par pas mal de gens mais que personne n'a encore trouvé  la solution. Quant à Adobe, ils semblent complètement sourds aux questions qui arrivent sur leur site...
    Please HELP!!!

    Bonjour, aucun problème sur une Canon MP 620.
    Je suis sous Snow Leopard OSX 6.2.
    C'est visiblement un problème de rasterisation dans le RIP à cause d'un filtre.
    Peut-être une MAJ du driver de la 610 à faire sur le site Canon?

  • Adobe premier elements 12 sous mac

    Bonsoir,
    J'ai acheté la version 12 d'adobe premier elements ce week-end et je suis sous mac.
    J'ai un gros soucis avec cet outil car tout mes fichiers sont endommagés et impossible de les ouvrir.
    Je travaille sur une video lourde de 4h que j'ai scindé en une heure et j'ai pu enregistrer normalement sans aucun message d'erreur.
    Une fois enregistré et que je quitte, si je souhaite réouvrir le fichier, c'est impossible.
    J'ai eu ce matin le support technique d'adobe qui m'a conseillé de venir sur le forum car lui n'avait aucune solution.
    Je me pose la question à savoir si cette version est bien fonctionnelle sous mac car je travail avec adobe elements depuis la version 4.0 et je n'ai jamais eu aucun soucis, là je me retrouve bloquée.
    Avez-vous déja rencontré ce type de problème ? si oui quelle est la solution?
    En vous remerciant,
    Christelle

    Bonjour Romano,
    Pour répondre à vos différentes questions.
    J'ai un Mac Book Pro OS X 10.6.8
    Version du noyau : Darwin 10.8.0 avec extension 64 bits donc il tourne bien à
    pleine puissance sans aucun problème.
    Mes fichiers sources de mon projet sont des fichiers .VOB, il y en 4 que j'ai
    directement importé dans ma ligne vidéo.
    Je n'ai eu aucun problème tout le long de mon projet pour enregistrer et fermer.
    Le problème arrive quand je souhaite réouvrir mon projet il apparaît donc comme
    endommagé et impossible de l'ouvrir.
    A. Les réglages généraux de mon projet sont les suivants :
    Mode de montage : QuickTime DV PAL
    Bas de temps : 25,00 image/s
    Taille de l'image 720, horizontalement 576
    Rapport L/H en pixels : D1/DV PAL (1,0940)
    Trames : trame supérieure en premier
    Format d'affichage : code temporel 25 i/s
    Format acquisition : DV
    B/C. Adobe premier éléments est dans les applications du mac et crée
    automatiquement des sous dossiers dans mes documents dans un fichier nommé
    "Adobe". L'ouverture du logiciel se fait noramelemnt.
    Je n'ai aucune restriction d'espace dans mes dossiers.
    D. Je ne déplace aucun des médias liés au projet, tout est dans le même dossier au même emplacement.
    J'ai fait un test avec la version 10 d'adobe, j'ai crée un projet, importer mes médias et
    j'ai pu réouvrir mon fichier sans problème.
    Je pense réellement que la version 12 a un soucis avec les fichiers de type .vob
    Merci pour votre aide
    Christelle

  • Problème de ralentisse​ment sous LabVIEW 7.0

    Bonjour,
    nous rencontrons actuellement un phénomène de ralentissement sur une application développée sous LabVIEW 7.0.
    Description des ressources et de la configuration utilisée (pour info) :
    LabVIEW 7.0
    NI-DAQ 8.0.1
    2 cartes PCI-6229 avec :
    une acquisition analogique à 10 kHz - échantillons prélevés par bloc de 1000
    une acquisition de type codeur
    des entrées/sorties TOR
    2 cartes PCI-6528 (entrées/sorties TOR)
    1 carte MOXA C168H (carte ISA 8 ports série)
    2 cartes Exotest PCI pour dialogue LIN et Ligne K
    L'application tourne en mode debug (= il ne s'agit pas d'un exécutable)
    Application d'environ 350 VIs
    Utilisation (a priori à bon escient) de la réentrance, du parallélisme, de sémaphores, ... (en bref, il s'agit d'une application multi-tâches classique)
    Description des symptômes :
    Le ralentissment constaté n'est pas systématique. L'application tourne en général parfaitement, mais parfois, dès le lancement de celle-ci, parfois après 10 minutes, parfois après une heure, et parfois plus, nous constatons un fort ralentissement de l'application. Cela se traduit par le ralentissement du déroulement de notre séquenceur (il s'agit d'une application pour un banc de test).
    Nous ne constatons aucune augmentation du taux d'occupation du CPU, et aucune augmentation de mémoire.
    La difficulté principale de notre problème est que nous ne savons absolument ce qui peut provoquer un ralentissement si soudain, si imprévisible et qui ne se traduit pas par un taux d'occupation du CPU élevé.
    Actions déjà faites :
    Nous avons utilisé l'outil d'observation de profil des VIs (Outils > Avancé > Optimisation de VIs...) mais n'avons rien constaté d'aberrant.
    Nous avons lu (et appliqué) les principes de la documentation suivante : http://forums.ni.com/attachments/ni/250/7849/1/prf​rmnc.pdf
    La (les) question(s) :
    Un tel phénomène a-t-il déjà été rencontré ?
    Avez-vous des conseils particuliers (autres que ceux contenus dans le document ci-dessus) ?
    Pensez-vous à une action particulière à réaliser ?
    Merci par avance !

    Bonjour,
    Obtenez vous un code d'erreur? A quelle étape s'arrête la création de votre executable ?
    je vous envoie un lien qui traite de probleme d'executable avec les boitiers USB
    http://digital.ni.com/public.nsf/websearch/129BE1A90E522E3886256F24007606F4?OpenDocument
    Cordialement
    Alexandre D
    NIF

  • Exe non fonctionnel sous Windows XP

    Bonjour à tous,
    J'ai un problème depuis peu avec un .exe
    Il fonctionne parfaitement sous Windows 7 mais lorsque je l'installe sur un PC équipé de Windows XP i lest impossible de le faire fonctionner.
    A l'ouverture de l'application il me dit que le .vi est cassé.
    J'ai tenté un mass compil ainsi qu'une désinstallation/réinstallation des RT Labview mais sans succès.
    Auriez vous déjà rencontrés ce problème et auriez vous une solution ?
    Cordialement.

    Bonjour,
    Merci d'avoir posté votre question sur le forum de National Instruments.
    Quelle version de LabVIEW utilisez-vous? Quelle est la version du runtime engine que vous utilisez? Cette même version du runtime est installée sur tout les ordinateurs?
    Brice S.
    National Instruments France

  • Nous executons plusieurs fois le sous-VI "ecrire dans un fichier de mesure lvm",que faut il faire pour que chaque execution soit consideree comme la 1ere, que changer dans le sous VI ?

    Nous voulons faire plusieurs fois l'acquisitions d'une entrees analogique (avec carte PCMIA 6024E) et a chaque execution enregistrer les donnees dans un fichier temporaire (qui sera ecraser lors de la prochaine acquisition). Pour l'instant, nous arrivons a ecraser le fichier temporaire mais l'en-tete n'est pas re-ecrite lors de la 2ème execution et des suivantes.
    Comment garder l'en-tete a chaque execution?
    Merci pour toute aide car nous debutons en LabView (seulement depuis 1 mois)!!
    Attachments:
    essai00.vi ‏544 KB

    nous avons reussi a resoudre notre probleme...
    pour ceux que ca interresse:
    dans le sous VI ex_subFileWrite.vi, il suffit de mettre la variable local "1st" a vrai dans la condition fausse activee par le "ET" a plusieurs entrees (quand "enable" est actif).
    Par contre, nous avons une autre question dans la meme optique: on veut LIRE plusieurs fois les fichiers...comment remaitre le parametre EOF a l'etat initiale et du meme coup reactiver la boite de dialogue nous permettant de selectionner le fichier a lire???????? nous utilisons le Vi express "lire un fichier LVM"
    merci beaucoup pour toute aide

  • Index de Bridge sous Mac

    Bonjour,
    Nous n'avons toujours pas de réponse à cette question : http://forums.adobe.com/thread/1446952?tstart=0
    Nous avons une autre question au sujet de l'index de Bridge sous Mac.
    Lors d'une première recherche sur un volume (disque interne ou externe), celui-ci est totalement parcouru pour créer un index.
    Cette première recherche est donc lente mais permet de gagner du temps sur les futures recherches pour lesquelles seuls les nouveaux fichiers seront indexés.
    Dans quels cas la table d'indexation est-elle effacée ? (redémarrage ? suppression des caches ?....)
    Bref, cette question rejoint un peu celle posée dans le précédent post : où se trouve la table d'indexation sous mac ? Existe-t-elle dans un fichier exploitable ?
    Merci de vos futures réponses.
    V.

    Au téléphone et par mail on nous demande de poster un message sur le forum alors si un membre du "staff" pouvait prendre un moment pour répondre, ça serait pas mal...
    Merci !

Maybe you are looking for

  • Unable to collect 3.x data source replica in a request

    Hi, When i tried to collect a data source replica(3.x data source) in a request it is throwing an error. But when i tried to collect a data source replica which is migrated to 7.0 it is aloowing me to do. Please suggest me a solution.I want some data

  • FPGA et I/O : comment bien faire ?

    Bonjour, J'essaie en vain de lire tous mes capteurs en programmation FPGA sur C-RIO 9022 avec un chassis C-RIO 9113. Je souhaite utiliser le FPGA pour prendre une série de 250 mesures (sur 27 capteurs) sur un pas de temps très court, et ne conserver

  • Can I backup iOS8 data to an iOS7 device?

    Recently, after warranty granted me a replacement iPod Touch, I realised how smoothly it ran iOS7 in contrast to iOS8 which I (stupidly) updated my previous iPod to. I had backed up my iOS8 iPod to iTunes - as well as iCloud - to transfer to the new

  • How to read CAN interface through nisyscfg.lvlib

    I need to read the CAN interface assigned to my NI-USB 8473 CAN-to-USB controller within NI's System Configuration (MAX).  The purpose is to programmatically identify the NI-USB hardware device attached to the PC, read the CAN interface assigned to i

  • IPhone 5 unable to sync , OS X update not working

    I just got the iPhone 5 and when I connected it to my MacBook it said the iPhone required iTunes 10.7 or later to sync.  When I tried to download iTunes 10.7 it said I needed Mac OS X 10.6.8 or greater(i have 10.5.8) but it wont let me download it...