Classe singleton et dialogue avec port série en as3

Bonjour,
j'essaye de dialoguer avec le port série en utilisant le code fourni ici. Quelqu'un pourrait-il m'aider en fournissant un exemple complet et notamment le code que je dois inclure dans le fichier principal. Comment créer l'instance du singleton ? Comment recevoir des données ?
Merci d'avance.
Thomas

Bonjour,
Que voulez vous dire par "recherche de fichier texte" ? Est-ce que votre application doit proposer une fenêtre d'ouverture de fichier ou l'utilisateur peut sélectionner votre fichier et l'envoyer octet par octet par votre liaison série ?
De quelle version de LabWindows/CVI disposez vous ? Avez vous installé la gestion de l'API Windows ?
Cordialement,

Similar Messages

  • Comment récupérer avec Labview des données délivrées par un autocollérateur via la port série ( RS232)

    Bonjour à tous,
      J'écris pour solliciter une aide car je dois recupérer avec Labview des données délivrées par un autocollérateur via la port série ( RS232). Sera la bienvenue, des sites, des cours,  des codes ds d'autres langages, tout ce qui peut m'aider.
       Merci d'avance à touste et à tous
    j'attends avec impatiance votre réponse

    Bonjour,
    comme l'a très bien dit "tbob", il existe de nombreux exemples de communication série fourni avec LabVIEW.
    Si vous débutez en LabVIEW, il existe des ressources pédagogiques sur le site de National Instruments qui vous aideront à commencer à programmer avec LabVIEW.
    Ci-joint un lien depuis lequel vous pourrez accéder à ces différents tutoriaux :
    http://www.ni.com/academic/lv_training/how_learn_lv.htm
    De plus, il existe dans le "Developper zone" du site de NI, un grand nombre de bibiothèque de fonctions spécialement dévéloppées pour le contrôle instruments, un grand nombre d'instruments possède sa librairie, peut-être y trouverez vous le votre.
    http://sine.ni.com/apps/we/niid_web_display.drv_search
    En espérant que ces différents liens vous aideront,
    Cordialement,
    Benjamin M
    NIF

  • Comment commander un système de déplacement Charlyrobot avec Labview via le port série RS232

    Bonjour
    Je souhaite commander un système de déplacement Charlyrobot (moteur pas à pas via module électronique) avec labview via le port série RS232.
    Si quelqu'un a une idée ou une solution pour y parvenir, pourra-t-il me guider ?
    Merci d'avance.
    Jerak

    Bonjour, les fonction VISA READ et WRITE permettent d'envoyer deschaines de caracteres sur le port serie (ou de les lire depuis). Après, le point important est de bien connaitre la syntaxe utilisee par le moteur pas a pas pour les commandes. Ces informations doivent etre dans le manuel du moteur.
    Mais, c'est certain, uniquement avec les VISA Read et Write, il est parfaitement possible de commander votre moteur (j'ai eu un projet de ce genre recemment et ca fonctionne tres bien).
    Quelques petits points qui peuvent vous causer des soucis:
    _ le baud rate de votre port et de votre moteur doivent etre configure a l'identique;
    _ si vous utilisez Windows XP ou 2000, verifiez la longeur des buffer alloue par windows pour la lecture et l'ecriture (dans le gestionnaire de peripheriques) vous risquez des problemes si vous tentez de lire 1 ou 2 octets et que les buffers sont configures a 10 ou + (c'est un probleme que j'ai rencontre, c'est pour ca!).
    Bonne prog.
    Raoul
    Raoul Chodziesner-Bonne
    Ingénieur Instrumentation
    CRIL TECHNOLOGY - Groupe ALYOTECH
    "Celui qui pose une question peut paraitre idiot sur le moment, celui qui n'en pose pas le reste toute sa vie!"

  • Comment detecter avec LabView une impulsion sur le port série et traiter l'information?

    Je dois automatiser un banc de test avec LabView 7.0. Pour cela il faut que je récupère une impulsion (1 bit, pas de trame) provenant de la carte à tester. Je dois la récupérer via le port série du PC. Je ne sais comment faire, aidez-moi svp.

    Bonjour,
    Dans LabView, il existe un noeud de propriété visa qui permet de récupérer l'état de certaine line du port serie.
    Pour cela, tu vas dans la palette de fonction Visa>Visa Avancé>Noeud de propriété.
    Une fois le noeud posé sur le diagramme, tu choisis la ligne dont tu veux vérifier l'état.
    Voir lien ci dessous.
    http://digital.ni.com/public.nsf/websearch/022A3C75A1F36DFF86256E6200705996?OpenDocument
    Johan G.
    NIF
    .NIDays2008 {font-family:Arial, Helvetica, sans-serif; font-size:12px; color: #065fa3; font-weight: bold; text-decoration: none; text-align: right;} .NIDays2008 a, a:hover {text-decoration: none;} .NIDays2008 a img {height: 0; width: 0; border-width: 0;} .NIDays2008 a:hover img {position: absolute; height: 90px; width: 728px; margin-left: -728px; margin-top:-12px;}
    >> Avez-vous entendu parler de NI Days ?

  • éventement PinChanged port série

    Hello,
    My project is to establish a communication interface between my pc and motion control (MCS 32EX SERAD) via a serial port.
    I realized the interface with C #, for testing the communication I used a Hyper terminal and it works for now I can send and receive data, but when I try them with motion control that does not work, I not connect. So I thought may be so at the port configuration
    (leds RTS, CTS, DSR, XonXoffOut, XonXoffIn)
    Can you explain the Pinchangerd event with a short code, I end search google but I do not really understand ?????
    sorry for my english
    here is my code:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.IO.Ports;
    using System.IO;
    using System.Threading;
    namespace Communicatio_1
    public partial class Form1 : Form
    public byte[] bBufferBytes; //buffer a envoyer
    public delegate void myDelegate(byte sData);
    //public event SerialDataReceivedEventHandler DataReceived;
    public enum LogMsgType { Incoming, Outgoing, Normal, Warning, Error };
    public bool RtsEnable { get; set; }
    public Form1()
    InitializeComponent();
    this.Refresh();
    private void Form1_Load(object sender, EventArgs e) //l'événement Form_Load nous lire tous les ports série disponibles et nous assigner les valeurs à la liste déroulante.
    //on commence par lister les voies séries présentes
    String[] ports = SerialPort.GetPortNames(); //fonction statique
    //string [] ports = System.IO.Ports.SerialPort.GetPortNames ();
    for (int i = 0; i < ports.Length; i++) //on ajoute les ports au combo box
    portBox.Items.Add(ports[i]);
    private void button_charger_Click(object sender, EventArgs e)
    openFileDialog1.Title = "Chargement";// Titre
    openFileDialog1.FilterIndex = 1;
    if (openFileDialog1.ShowDialog(this) == DialogResult.OK) // Ouverture boite de dialogue OpenFile
    textBox1.Text = string.Empty; // On vide le TextBox
    backgroundWorker1.RunWorkerAsync();// executer le Background worker doWork()
    // timer1.Start();
    StreamReader sr = new StreamReader(openFileDialog1.OpenFile(), Encoding.Default); // Ouverture du fichier sélectionné
    // son nom est dans openFileDialog1.FileName
    private void button_connecter_Click(object sender, EventArgs e)
    serialPort1.PortName = portBox.SelectedItem.ToString();
    serialPort1.BaudRate = 9600;
    serialPort1.Parity = Parity.None;
    serialPort1.StopBits = StopBits.One;
    serialPort1.DataBits = 8;
    serialPort1.Handshake = Handshake.None;
    serialPort1.PortName = portBox.Text;
    serialPort1.RtsEnable = true;
    serialPort1.DtrEnable = true;
    // serialPort1.Open();
    serialPort1.DataReceived += new SerialDataReceivedEventHandler(serialPort1_DataReceived);
    try
    serialPort1.Open(); //Ouvrez le SerialPort
    StatusLabel1.Text = "serialPort1 : " + portBox.Text + " Opened";//Mettre à jour le StatusStrip
    MessageBox.Show("Opened");
    catch (Exception ex)
    MessageBox.Show("Failed: " + ex.Message);
    button_connecter.Enabled = false;
    button_deconnecter.Enabled = true;
    textBox1.ReadOnly = false;
    textBox2.ReadOnly = false;
    radioButton.Enabled = true;
    radioButton.BackColor = Color.Black;
    private void button_deconnecter_Click(object sender, EventArgs e)
    try
    serialPort1.Close(); //fermer le SerialPort
    StatusLabel1.Text = "serialPort1 : " + portBox.Text + " Closed"; //Mettre à jour le StatusStrip
    MessageBox.Show("Closed");
    catch (Exception ex)
    MessageBox.Show("Failed: " + ex.Message);
    button_connecter.Enabled = true; // activer le button connecter
    button_deconnecter.Enabled = false;// desctiver le bitton deconnecter
    textBox1.ReadOnly = true;
    textBox2.ReadOnly = true;
    radioButton.BackColor = Color.White;
    private void button_recevoir_Click(object sender, EventArgs e)
    StatusLabel1.Text = "Appuyez sur 'F6' de la commande numérique puis patientez...";
    textBox2.SelectedText = string.Empty;
    //textBox2.AppendText(DataReceived.ToString());
    private void serialPort1_DataReceived(object sender, SerialDataReceivedEventArgs e)
    //string vide
    string value = "";
    //tant qu'il y a des données entrée on continue
    while (serialPort1.BytesToRead > 0)
    // on crée un char de 255 caractere
    char[] buffer = new char[255];
    //lecture du buffer jusqu'a sa longeur buffer.Length
    int longueur_bytes_read = serialPort1.Read(buffer, 0, buffer.Length);
    //tes characteres sont contenus dans buffer.
    //on remplit notre string value byte par byte par notre tableau de charactere buffer, le += fait que l'on écrase pas les données qui sont inserées, mais on les ajoutes.
    for (int i = 0; i < longueur_bytes_read; i++)
    value += buffer[i];
    //la methode toString passe tes bytes en characteres lisibles.
    safeInput(value.ToString());
    private void safeInput(string msg)
    MethodInvoker method = delegate
    // on efface la textbox
    textBox2.SelectedText = string.Empty;
    // on met les données dedans en string (conversion char->string)
    textBox2.AppendText(msg.ToString());
    if (InvokeRequired)
    BeginInvoke(method);
    else
    method.Invoke();
    private void button_envoyer_Click(object sender, EventArgs e)
    StatusLabel1.Text = "Appuyez sur 'F6' de la commande numérique puis patientez...";
    // serialPort1.Write(bBufferBytes, 0, bBufferBytes.Length);
    // serialPort1.WriteLine("");
    StreamReader sr = new StreamReader(openFileDialog1.OpenFile(), Encoding.Default);
    try
    string data = sr.ReadLine();
    // bBufferBytes = System.Text.Encoding.ASCII.GetBytes(data); //Place le contenu dans un buffer d'octets (ASCII: 1 char = 1 octet) (UNICODE: 1 Char = 2 octets)
    while (data != null)
    bBufferBytes = System.Text.Encoding.ASCII.GetBytes(data); //Place le contenu dans un buffer d'octets (ASCII: 1 char = 1 octet) (UNICODE: 1 Char = 2 octets)
    textBox1.AppendText(data + "\r\n");
    data = sr.ReadLine();
    serialPort1.Write(bBufferBytes, 0, bBufferBytes.Length); // Ecrit le buffer complet sur le SerialPort
    StatusLabel1.Text = "Transfert en cours...";
    finally
    if (sr != null)
    sr.Close();
    StatusLabel1.Text = "Transfert Fini ";
    private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
    for (int i = 0; i <= 100; i++ )
    backgroundWorker1.ReportProgress(i);
    System.Threading.Thread.Sleep(100);
    private void backgroundWorker1_ProgressChanged(object sender, ProgressChangedEventArgs e)
    progressBar2.Value = e.ProgressPercentage;
    StatusLabel1.Text = e.ProgressPercentage.ToString()+ "%" + "Télechargement en court...";
    private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
    StatusLabel1.Text = ("Télechargement Fini");

    Je ai ajouté ce morceau de code, mais il ne fonctionne pas
    private void serialPort1_PinChanged (object sender, SerialPinChangedEventArgs e){if (e.EventType == SerialPinChange.Break){serialPort1.BreakState = serialPort1.BreakState;}else if (e.EventType == SerialPinChange.CDChanged){}else if (e.EventType == SerialPinChange.CtsChanged){}else if (e.EventType == SerialPinChange.DsrChanged){}else if (e.EventType == SerialPinChange.Ring){
    et l'initialisation:
    serialPort1.PinChanged + = new SerialPinChangedEventHandler (serialPort1_PinChanged);
    Help me

  • Pointer un fichier et l'nevoyer sur le port série

    Bonjour,
    Dans le cadre d'un stage, je dois creer via Labwindows une interface homme/cartePIC. C'est la première fois que j'utilise le logiciel Labwindows et je dois avouer que j ai un peu de mal a m'en sortir !
    J'aurais voulu savoir si vous pouvez m aider car j'aurais voulu faire un programme qui pointe un fichier texte et qui l'envoi ensuite sur le port série quand celui-ci l'attend. Si vous pouvez me donner des indications! En vous remerciant par avance de votre aide !
    Romes

    Bonjour Romes,
    Merci d'avoir posté sur le forum des utilisateurs National Instruments. Si vous débutez avec LabWindows/CVI, je vous invite à consulter les exemples de code. Ceux-ci sont accessible au travers de l'outil de recherche d'exemple (NI Example Finder), que vous pouvez aller chercher dans le menu Help » Find Examples... Convernant la communisation série, consultez l'exemple disponible dans la rubrique Hardware Input and Output » Serial » serial.cws
    Vous avez également une fonction de la librairie RS-232 qui vous permet de lire un fichier et d'en envoyer le contenu sur le port série:
    int ComFromFile (int Port_Number, int File_Handle, int Count, int Termination_Byte); 
    J'espère que ces éléments pourrons vous aider.
    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  

  • Modifier paramètres de communicat​ion port série

    Bonjour a tous,
    Je souhaite réaliser un programme sous Labview pour communiquer avec un système à l'aide d'un port série. Pour cela, j'ai besoin de modifier certains paramètres de connexion cf ci-joint :
    IOCTL_SERIAL_SET_QUEUE_SIZE: Set queue size
      InSize=1024 *******               
      OutSize=1024 *******
    IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
      ReadIntervalTimeout=4294967295
      ReadTotalTimeoutMultiplier=0
      ReadTotalTimeoutConstant=0
      WriteTotalTimeoutMultiplier=0
      WriteTotalTimeoutConstant=65000 *******
    IOCTL_SERIAL_SET_BAUD_RATE: Set baud rate
      Baud Rate=9600
    IOCTL_SERIAL_SET_RTS: Set RTS
    IOCTL_SERIAL_SET_DTR: Set DTR
    IOCTL_SERIAL_SET_LINE_CONTROL: Set line control
      WordLength=7
      StopBits=1 stop bit
      Parity=Even parity
    IOCTL_SERIAL_SET_CHARS: Set special characters
      EofChar=0x0
      ErrorChar=0x0
      BreakChar=0x0
      EventChar=0x0
      XonChar=0x11
      XoffChar=0x13
    IOCTL_SERIAL_SET_HANDFLOW: Set handshake information
      ControlHandShake=1 *******
      FlowReplace=64 *******
      XonLimit=10 *******
      XoffLimit=10 *******
    IOCTL_SERIAL_SET_HANDFLOW: Set handshake information *******
    Les lignes contenant des étoiles correspondent aux paramètres que je n'arrive pas à configurer. Pour les autres, j'utilise les noeuds de propriété. Je suppose qu'il en est de même pour les paramètres manquants mais impossible de trouver. Quelqu'un aurait-il une idée ?
    Merci bien.
    David

    Tu peux utiliser un Noeud de propriété.  Voir les images ci-dessous:
    Attachments:
    serialSettings1.PNG ‏29 KB
    serialSettings2.PNG ‏19 KB

  • Inclure un driver de port série dans un programme d'insal d'une appli Labview

    Dans une application Labview, nous communiquons avec le port série (VISA read/ write). Sur le poste de développement l'application fonctionne correctement mais lorque nous générons un exécutable (création d'un programme d'installation) pour l'insaller sur un autre PC, la ressource VISA Série reste en "grisé". Nous supposons qu'il faut ajouter à notre programme d'installation le driver série. Comment faire et quel driver utiliser?

    Excusez-moi que je ne reponds pas en francais...
    You also need to install the NI-VISA runtime on the target PC. If you don't have this already you can download it from the NI site (search for 'NI-VISA' in drivers & updates). It may be possible to make the installer for your executable run the VISA installer automatically but I'm not familiar with this.

  • Dialoguer avec un instrument sous teststand en utilisant le driver.dll

    Bonjour à tous,
    Alors dans un précédent post j'ai essayé de récupérer le pas IVI SpecAn sous teststand----> Pas possible
    Donc nouvelle solution :
    Je veux dialoguer avec mon analyseur de spectre sous teststand
              - Configuer sous le MAX GPIB0::7::INSTR  OK
              - les commandes sous MAX passe bien et l'analyseur répond aux instruction basiques.
    Je passes sous teststand, utilise le driver aéroflex pour l'IFR2399C et le sélectionne.
    Je lances une commande INIT, visualise via NI spy qu'une commande passe via le port GPIB mais l'appareil ne la prends pas en compte.
    En fait commant Teststand peut il savoir vers quel instrument j'envoi ma commande ? A aucun moment je ne passes le paramétre d'adresse ou autre ??????
    Je penses que mon probléme vient de la mais ne sait pas déterminer comment passer le paramétre d'adresse.
    PS : J'ai mis en PJ une vue du driver sous teststand (Ne pas prendre en compte les paramétres inscrits)
    Merci d'avance pour votre aide
    Pièces jointes :
    Sans titre.JPG ‏115 KB

    Bonjour,
    Pour moi, il faut obtenir un "instrumentHandle" (du même nom que le dernier paramètres) avant de faire votre initialisation.
    En général c'est ce genre de fonction ou on passe l'adresse GPIB de l'instrument.
    Dans votre cas vous pointez vers l'adresse 19200 en mémoire qui doit contenir une certaine valeur qui ne correpond pas à une adresse d'un matériel branché sur le bus GPIB.
    Essayez de voir si une fonction de connection est disponible (Connect(), GetHandle(), etc).
    Cordialement,
    Da Helmut

  • Enregistrer 2 ports série en même temps LV 8.5

    Bonjour à tous,
    j' aimerais enregistrer les données de 2 ports série en même temps en utilisant NI VISA, après des recherches je pense qu'une boucle producteur/consommateur serait le bon choix mais je suis débutant en labview et je ne comprend pas comment marche le système de file d'attente, ni qui doit être producteur (est ce qu'il faut 2 boucles en parallèle qui lisent chacune un port série différent et le consommateur est une boucle qui traite et enregistre le tout ?)
    Quelqu'un pourrait il m'aider à débuter ce programme, merci pour tout.

    Un exemple sur le COM1 (paramètre).
    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
    Pièces jointes :
    VISA Read.vi ‏77 KB

  • [LV 8.5] connaitre l'état de la ligne Rxd d'un port série

    Bonjour à tous,
    j'aimerais pouvoir lire l'état (haut ou bas) de la ligne Rxd d'un port série, il-y-a des exemples pour les les autres lignes (RTS, CTS, DCD, etc...) mais pas pour l'état de la ligne de réception.
    Merci de votre aide.

    Bonjour,
    Après quelques recherches, il me semble que contrairement aux autres lignes vous ne pouvez pas lire l'état de la ligne Rxd. Pouvez-vous me dire pourquoi vous souhaitez lire son état ?
    Cordialement,
    Charlotte F. | CLAD
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> "Du 11 octobre au 17 novembre, 2 sessions en parallèle : bien démarrer - approfondir vos connais...

  • Détection de données sur un port Série

    Bonjour,
    Je voulais savoir si il était possible de détecter l'arrivé de donnée sur un port série afin de pouvoir les lire directement sans continuellement tester le buffer du port, une sorte d'interuption en fait.
    Cordialement
    Nathan
    P.S.: Bonne Année à tous
    Résolu !
    Accéder à la solution.

    Et vu que je viens de poser la question, la réponse m'apparait d'elle même ^^
    Ca peut etre fait grace a la propriété Bytes at Port
    Cordialement
    Nathan

  • Le port série de mon nouveau PC ne marche pas sous labview7

    Je travaille à l'université de POITIERS et touts les ordinnateurs acquis dernierement ont ce problème. J'envisage d'acheté des convertisseur USB->serie mais avant j'aimerait savoir si il n'éxiste pas une solution

    J'ai eu le même problème, et il s'est avéré que c'est le port série était devenu...COM3.
    Donc, vérifier avant tout, de quelle manière sont distribuées les "adresses".
    Je vous conseille un vi (origine NI usa) pour examiner les affectations de vos ports série
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    FindSerial.vi ‏31 KB

  • Things to consider while making a class singleton?

    sometimes i need to share the state of object across application.I get confused should i declare it singleton or declare state vaiables as static.
    As per mythoughts, if intention is just to share the state of object across application i should go for static variables. Is this right?
    My understanding about when we should go about singleton is below
    We should declare the class as singleton when we need only one instance across jvm. But i am not unable to find any practical scenario
    when we where we may need singleton . Any help here will be appreciated. Everywhere on different sites i get to see the example of logger
    class where the reason is generally given as so that single log file is created not multiple log files.
    But again this could have been achieved with declaring the file variable as static in logger file?
    So actual reason is for declaring the logger as singleton is becuase we need the single log file with issues avoiding concurrent writing
    which wont be possible if we make the separate instance of logger for each write..
    Is the above reasoning correct so that i can proceed in right direction?

    How will declaring its state as static accomplish that objective?With declaring variables as class variable instead of instance variables, there will be a single copy of each variable. In each instance (in this case logger if we dont declare it singleton) we can check if file is already created or not. I mean it will be visible across all instances.
    No, because the file name isn't the only state. There is also the output stream/writer, its current position, its charset, the log level, the logger name, its filters, its formatters, ...Agreed. I just wanted to convey the point. As you said there will be other parameters,in that case we can declare all of them as static.
    A configuration file holder is a good example: there is only one configuration file so there should only be one holder instance.Thanks for pointing it out. Configuration file is used mainly to read the properties. we usually dont update the values there.So even if we dont make it singleton it may be correct. The advantage i can think of making it singleton is that if configuration file is used frequently then we dont have create the object again and again.
    So actual reason is for declaring the logger as singleton is becuase we need the single log file with issues avoiding concurrent writing
    No it isn't, and that doesn't follow from anything you said previously so the 'so' part is meaningless.I want to say here is that t to have single log file should not be the only reason behind making the logger file as singleton, other reasons can be handling of concurrent writing too.
    Have a look at the Wikipedia article on the Singleton pattern, or buy the booki have gone through the singleton pattern in headfirst book and some of the articles on net. But they mainly describe how the make the class as singleton and the reason that We should declare the class as singleton when we need only one instance. But looking for actual scenarios where we need singleton. So i took the examplle of logger file which is used in many project and trying to understand it is constructed as singleton so that i can use in my project if required.
    Edited by: JavaFunda on Aug 28, 2011 3:51 AM
    Edited by: JavaFunda on Aug 28, 2011 3:56 AM

  • ABAP class method with dialogue

    Hi all,
    I want to use a ABAP class method within a Workflow definition with user interaction. The SAP help says, that is possible, but I couldn't find a way, to mark the method as "with dialogue".
    For BOR-objects there is a checkbox in the details for the method definition. Can anybody tell me, how it can be done?
    Thanks in advance
    Nick

    Hi Nicolas,
      When you create the Task with the ABAP OO Method, you can select it as "Background Processing" else it will be a "Dialog Process".
    If you notice here, "Background Processing" checkbox will be editable if ABAP OO Method is used, whereas in case of Business Objects it directly comes from method definition.
    Reward points if useful.

Maybe you are looking for

  • Any way to skip file extension dialog in Finder?

    This one drives me crazy. I download a lot of pdf files that do not arrive in my downloads folder as .pdf files, and I need to quickly rename them in the finder (not in batch, but one at a time as they happen) without having to go through the "are yo

  • Is it possible to disable the OAWebBeanConstants.IGNORE_MESSAGES

    greetings all .... is it possible to disable the OAWebBeanConstants.IGNORE_MESSAGES . i have this .................... {                  OAMessageTextInputBean bi = (OAMessageTextInputBean)webBean.findIndexedChildRecursive("BI") ; System.out.println

  • Safari loses start page

    Safari loses internet connection, reboot macbook and it is ok for a short while then loses internet again, Screen just freezes, no beach ball.  Going round in circles, shutting mackbook down or reloading passcode to reload internet. Works for a short

  • About inner join problem

    Hi Friends, I have given the innerjoin between BKPF & BSEG tables, And i am fetching BUKRS, BELNR,GJAHR, BLART,BLDAT,BUDAT  fields from BKPF and BUZEi from BSEG table, but it is showing error as u cannot create inner join for BSEG table, Kindly help

  • Hello - I am new to using Photoshop Elements 11, Can you help me?

    Hello I have got 2 questions for using Photoshop Elements 11 - 1. How can i delete loads of duplicate images that i have imported? 2. What is the difference between albums and folders - I have set them up and basically they are all just the same phot