Accéder au DataSocket Server via un programme en C

Bonjour à tous,
Après de longues recherches je viens sur ce forum pour essayer de trouver chaussure à mon pied.
Contexte :
Dans le cadre d'un échange de données entre Labview et ControlBuild (Dassault), je chercher à utiliser le "DataSocket Server" intégré à Labview.
L'idée principal du projet est de contrôler Labview grâce à ControlBuid (qui contient toute la programmation). Labview sera lui-même relié à des cartes NI qui permettront de contrôler des équipements.
Pour l'utilisation du DSS entre deux applications Labview, il n'y a aucun problème.
Cependant, savez-vous comment accéder au DSS grâce à un programme en C (que j'intégrerai à ControlBuild) ?
Objectif simple pour l'instant :
Code bloc dans ControlBuild : AA & 1 = BB
Il faudrait que je :
- Lise la valeur AA envoyée par Labview;
- Envoie la valeur BB à Labview.
Merci à tous ceux qui auront les connaissances suffisantes pour me donner un coup main,
Cordialement,
Thibaut.

Bonjour,
Voulez-vous absolument communiquer via les datasocket ?
Car il existe seulement l’api Datasocket API pour LabVIEW, LabWindows/CVI, and Measurement Studio.
http://digital.ni.com/public.nsf/allkb/6E63180C1C3​48A7D862567240061AFC7?OpenDocument
Vous pouvez communiquer directement via TCP sinon il existe des bibliothèques comme STM qui peuvent vous aider.
http://www.ni.com/white-paper/4095/en/
Cordialement
Samuel G. | Application Engineer Team Leader
Certified LabVIEW Developer
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;}
Été de LabVIEW 2014
12 présentations en ligne, du 30 juin au 18 juillet

Similar Messages

  • How to read enumerated values from an OPC server via Datasocket

    Hi Labviewers,
    I am using LV8.2 and I am trying to find if it is possible to read enumerations from an OPC server via Datasocket, not just the values.
    I can successfully read a value for an OPC server via Datasocket and I get a value for example 3, is it possible to get the enumeration/string that corresponds to this value i.e. "Open".
    Many thanks in advance
    Dimitris

    Hi Sarah,
    With the input type as variant I get the following response:
    1                                     <-This is the current numeric value of the parameter
    4 Attribute(s):
       'Quality' -> 192
       'TimeHigh' -> 29861723
       'TimeLow' -> -665408304
       'Timestamp' -> 39.238E+3
    With the Input set to         Enum constant I get no values or strings coming back. With the Input set to                Ring constant I just get the numeric value   
    Dimitris   

  • Le programme d'installation n'a pas pu accéder à un fichier/répertoire critique. Veuillez retenter l'installation. Code d'erreur : 49

    Malgrès plusieurs tentatives j'ai toujours le message :
    Le programme d’installation n’a pas pu accéder à un fichier/répertoire critique. Veuillez retenter l’installation. Code d’erreur : 49
    Merci pour votre aide

    if win os, right click the installation file and click 'run as administrator'.

  • Le programme d'installation n'a pas pu accéder à un fichier ou un répertoire essentiel. Veuillez relancer l'installation.(Code d'erreur : 43)

    got this today when trying to update my Adobe Creative Cloud... Le programme d’installation n’a pas pu accéder à un fichier ou un répertoire essentiel. Veuillez relancer l’installation.(Code d’erreur : 43) Contacter le service clientèle
    Any idea... ?
    JF

    Thanks Jeff,  but no success with this
    It's Adobe CC which is hanging, not one of the application that seems all well installed. I've checked Premiere pro CC log.gz, and there's no "error" or "fatal"
    06/23/14 18:00:56:823 | [INFO] |  | OOBE | DE |  |  |  | 29986 | :: END TIMER :: [Payload Operation :{007C1806-2DF8-4E28-ADC0-DA19ED537050}] took 1113 milliseconds (1.113 seconds) DTR = 60463.6 KBPS (59.0465 MBPS)
    06/23/14 18:00:56:893 | [INFO] |  | OOBE | DE |  |  |  | 29986 | User specified overrideFile:
    06/23/14 18:00:56:907 | [INFO] |  | OOBE | DE |  |  |  | 29986 | Successfully updated the csu inventory for Adobe Premiere Pro CC 2014_AdobePremierePro8en_USLanguagePack 8.0.0.0 {007C1806-2DF8-4E28-ADC0-DA19ED537050} return values 0:0
    06/23/14 18:00:56:907 | [INFO] |  | OOBE | DE |  |  |  | 29986 | Calling the custom action code for post-install for payload Adobe Premiere Pro CC 2014_AdobePremierePro8en_USLanguagePack 8.0.0.0 {007C1806-2DF8-4E28-ADC0-DA19ED537050}
    06/23/14 18:00:57:129 | [INFO] |  | OOBE | DE |  |  |  | 29986 | No operation.  We're done:
    06/23/14 18:00:57:130 | [INFO] |  | OOBE | DE |  |  |  | 29986 | Updating driver data - Action: Remove driver entry
    06/23/14 18:00:57:132 | [INFO] |  | OOBE | DE |  |  |  | 29986 | Updating driver data successful. Driver entry was added. ARP estimated size 1878306KB
    06/23/14 18:00:59:136 | [INFO] |  | OOBE | DE |  |  |  | 29986 | Successfully installed 2 components:
    06/23/14 18:00:59:136 | [INFO] |  | OOBE | DE |  |  |  | 29986 |  - Adobe Premiere Pro CC 2014_AdobePremierePro8en_USLanguagePack
    06/23/14 18:00:59:136 | [INFO] |  | OOBE | DE |  |  |  | 29986 |  - Adobe Premiere Pro CC 2014
    06/23/14 18:00:59:136 | [INFO] |  | OOBE | DE |  |  |  | 29986 | Successfully repaired 2 components:
    06/23/14 18:00:59:136 | [INFO] |  | OOBE | DE |  |  |  | 29986 |  - Adobe Player for Embedding 3.4
    06/23/14 18:00:59:136 | [INFO] |  | OOBE | DE |  |  |  | 29986 |  - AmericanEnglishSpeechAnalysisModels
    06/23/14 18:00:59:136 | [INFO] |  | OOBE | DE |  |  |  | 29986 | Total components removed: 0
    06/23/14 18:00:59:136 | [INFO] |  | OOBE | DE |  |  |  | 29986 | Call PostSession Custom Hook
    06/23/14 18:00:59:136 | [INFO] |  | OOBE | DE |  |  |  | 29986 | :: END TIMER :: [Total Timer] took 35378 milliseconds (35.378 seconds) DTR = 55226.2 KBPS (53.9318 MBPS)
    06/23/14 18:01:00:139 | [INFO] |  | OOBE | DE |  |  |  | 29986 | Exit Code: 0 - No error.
    06/23/14 18:01:00:139 | [INFO] |  | OOBE | DE |  |  |  | 29986 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    06/23/14 18:01:00:139 | [INFO] |  | OOBE | DE |  |  |  | 29986 | END - Installer Session
    06/23/14 18:01:00:139 | [INFO] |  | OOBE | DE |  |  |  | 29986 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*

  • Datasocket server seems to fail after continuous use.

    The Datasocket server seems to fail after continuous use.  (Labview 7.1 on XP)
    I have a data acquistion system that collects data and presents it to the operator.  Then I have from 1-3 remote units that can connect via DS to the acquistion unit to view the data.  As a general rule things work dandy!  I have the data published from the front panel of one VI and subscribed to by the remote VI(s).  However it seems that after some indeterminent time the DS just stops publishing data and my remote units go into alarm indicating that they can no longer get data.  If I shutdown and then restart the DS server then things seem to clear up and work again.
    Anyone seen this type of problem?  Unfortunately my app is pretty large and it acquires data from 26 field units so its not real practical to post the code!
    I wonder if using the DS VI's would change performance as opposed to the front panel publishing/subscribing that I currently do?  Or can DS just not handle the load, should I change to a TCP/IP handshaking?
    Thanks!
    ~Gold

    Here's the basic piece of code. The outer case structure was used because that program already had some DS related stuff and I wanted to wait before I start checking to avoid disturbing it. I added the array at the bottom for some logging so I could check when it happened, but I haven't been called for it since, so that array has proved unnecessary.
    Try to take over the world!
    Attachments:
    DSerror.JPG ‏56 KB

  • Impossible d'accéder à la boite de dialogue rendu video

    Bonjour, il m'est impossible d'accéder à la boite de dialogue rendu video dans Photoshop CC. Le message suivant s'affiche : "Impossible d'effectuer cette opération en raison d'une erreur programme."
    Ma configuration :
    Mac OS X (10.9)
    Processeur 2,5 GHz Intel Core i5
    Mémoire 4 Go 1600 MHz DDR3
    Graphisme Intel HD Graphics 4000 1024 Mo
    Logiciel OS X 10.9.1 (13B42)

    http://pondini.org/TM/C17.html

  • Connexion au réseau Wi-Fi, mais impossible d'accéder à Internet

    Bonjour,
    Depuis hier je suis connectée au réseau Wi-Fi, mais impossible d’accéder à Internet, il n'y a que le jeu les sims gratuit auquel je peux acceder pour y jouer (celui-ci requiert le wifi) mais quand je veux surfer sur le net (you tube, safari, me connecter sur origin via sims) je n'y arrive pas.
    Je n'ai pas trouvé de sollution sur le site, alors je vous prie de bien vouloir m'aider.
    Si votre réponse sera envoyée par mail, merci de me contacter plutôt sur [email protected]
    Cordialement

    Ca aurait été bien de t'en inquiéter un petit peu avant la fin des 30 jours de la période d'essai…
    Surtout sachant que les serveurs d'activation ne sont pas les mêmes selon les continents, et qu'ils ne sont pas compatibles (c'est voulu) : impossible d'activer une licence achetée en Europe depuis l'Amérique, et vice-versa.

  • I  received this email :   Formulaire N° 1-BKDI-149  Cher(e) Client(e), Votre identifiant Apple a été utilisé pour ouvrir une session iCloud à partir d'un ordinateur non autorisé. Votre compte iTunes est maintenant bloqué, veuillez accéder à votre compte

    I  received this email :
    Formulaire N° 1-BKDI-149
    Cher(e) Client(e),
    Votre identifiant Apple a été utilisé pour ouvrir une session iCloud à partir d'un ordinateur non autorisé.
    Votre compte iTunes est maintenant bloqué, veuillez accéder à votre compte afin de vérifier vos informations.
    Verifiez Maintenant
    Engagement de confidentialité
    Copyright 2013 . 1 Infinite Loop, Cupertino CA 95014 - Tous droits réservés.
    When i click on thelink i have this page 
    http://www.varunee-raikhing.com/confirmation/f88ef5e388dab9138f6d9235b7b4c1ee/it unes/
    Asking me password, credit card number too....is it apple ?or a spam? Please let me know

    Of course it's spam. Delete it.
    Best of luck.

  • Impossible de démarrer Adobe InDesign, car vous n'avez pas les droits nécessaires pour accéder aux dossiers de préférences. Assurez-vous d'avoir les droits appropriés, puis redémarrez Adobe InDesign.

    A l'ouverture d'InDesign CC, j'ai ce message qui s'affiche : Impossible de démarrer Adobe InDesign, car vous n'avez pas les droits nécessaires pour accéder aux dossiers de préférences. Assurez-vous d'avoir les droits appropriés, puis redémarrez Adobe InDesign.
    Impossible de trouver une solution pour demarrer le programme.
    Merci pour vos réponses

    Cant launch new inDesign CC | Adobe Community
    If you have CC 2014, the version number will be 10.0, not 9.0.

  • Je ne peux pas accéder à mon compte

    Bonjour  Je ai un problème à mon compte Paypal a essayé plusieurs fois, mais chaque fois que je changer mon mot de passe et celui-ci ne me permet pas d'accéder à mon compte Paypal est-il de toute façon ? 

    Re Bonjour
    vous devrez recevoir normalement un email d'Apple qui vous signale que votre identifiant est entrain d'utilisé par un autre dans ce cas ( vous même) et il va vous donnez l'emplacement
    essayé de ce connecté via iCloud sur web et configurer votre identifiant Apple

  • FP-2000 and Datasocket Server

    Hi all,
    I'm attempting to use an FP-2000 to publish data via datasockets within it's
    own server. At the moment I can get the FP-2000 to publish to a datasocket
    server based on the client PC, however this is not a satisfactory situation.
    Is it possible to publish to an internal datasocket and have the remote
    software connect to this datasocket connection? If so, how do I go about
    doing that. I don't want to use the Publish Data style of communications as
    I would like to transfer clusters and the like.
    Thanks in advance.
    Regards,
    Shane Broadbent

    Hi Aaron,
    Thanks for your answer. It was the expected answer, but not exactly what I'm
    after. Oh well I'll see if I can modify the Datasocket routines so that
    there isn't a reliance on the PC or network being up for the code to
    continue.
    Regards,
    Shane Broadbent
    "Aaron G" wrote in message
    news:[email protected]..
    > Shane,
    >
    > The FP-20xx's do not have datasocket servers on them. The only server
    > is the NI Ethernet protocol server which you access via the Data
    > Publish.vi. The Data Publish.vi supports four base types of data;
    > boolean, integer, float and string. You can use the Flatten To String
    > or Typecast functions to convert the cluster data to string and then
    > use the Data Publish.vi
    to publish the string. The host side can then
    > unflatten the string data.
    >
    > Regards,
    > Aaron

  • Should i run Datasocket server on Labview realtime OS if am using datasocket write operation in a vi which run in LabviewRT

    Hai
    Am new to LabVIEW, I need to develop a VI that aquires data and transfer it via datasocket, this has to be achived in realtime environment(LabVIEW RT). I wanted to know if i need to run datasocket server on labVIEW RT, if i need to publish and subscribe in the VI runing on realtime.
    Thank you in advance for any help
    Arun

    Sorry if this is a duplicate post (my browser is acting up).
    You cannot run the datasocket server on the RT system, but you can run the datasocket VIs/functions. To use datasocket in RT, run the server on a Windows host and use the correct URL in the datasocket functions running on RT (i.e. dstp:///mydata)

  • Accéder/déployer des applications sur des cRIO-9074 aux travers d'un VPN

    Bonjour,
    Je suis basé en France est je voudrais accéder à des cRIO-9074 situés en Chine (Shanghai) via notre VPN d'entreprise.
    Via notre VPN d'entreprise les cRIO sont dans le même réseaux, je "ping" les cRIO Chinois depuis la  France.
    Impossible des les voir dans NI-MAX, donc impossible de déployer mes applications sur ces équipements.
    Ma question : y-a-t-il des ports informatiques spéciaux à ouvrir sur nos passerelles et routeurs pour pouvoir communiquer avec les cRIO ?
    Merci d'avance pour votre support.
    Stephane M. 

    Bonjour,
    Normalement, il est possible de communiquer entre un pc et un cRIO à distance via un réseau VPN.
    Attention quand même au Firewall qui peut cependant bloquer certaines connexions.
    Voici une liste de ports qui doivent être ouvert:
    3079 
    3537 
    3580* 
    44525 
    44516* 
    44517 
    Les ports 3580 et 44516 sont les plus importants.
    Attention ceci n'est pas une liste officielle mais il est propbable que l'ouverture de ces ports corrige votre problème.
    Cordialement.
    Aurélien Corbin
    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;}
    Cahiers de vacances de NI
    Présentations en ligne : 12 fondamentaux à réviser, du 9 juillet au 29 aoû...

  • Error when adding an Object to the server via CMS

    I am trying to upload a new report to the server via CMS.
    I click on Objects > Browse for the report > Click Submit
    After a few seconds, I get the following error:
    There was an error while writing data back to the server: File Repository Server error : File system operation for frs://Input.reportingdb/a_068/047/000/12100/172659d5862b3e2.rpt on File Repository Server failed. If the problem persists, please contact your system administrator for event log information.
    I can see that the Input.reportingdb server is running
    I have tried restarting the physical server that CRE XI R2 is running on.
    I have restarted the Tomcat as well as all of the report servers via ccm.sh and enabled all of the report servers via ccm.sh

    Yes, the installation directory is:
    /opt/crystal/bobje
    The directory where the repository is located:
    data
    Here are the permissions:
    drwxr-xr-x  14 oracle oinstall    4096 Mar 24 16:10 data
    Here are the permissions of the subdirectory:
    drwxrwxrwx    2 oracle oinstall  4096 Jul 22  2008 Auditing
    drwxrwxrwx    2 oracle oinstall  4096 Jul 22  2008 cacheserver
    drwxrwxrwx   11 oracle oinstall  4096 Mar 26 09:50 frsinput
    drwxrwxrwx   60 oracle oinstall  4096 Mar 24 16:11 frsinput_bak
    drwxrwxrwx  259 oracle oinstall 12288 Mar 24 09:54 frsoutput
    drwxrwxrwx    2 oracle oinstall  4096 Jul 22  2008 pageserver
    drwxrwxrwx    6 oracle oinstall  4096 Mar 24 09:54 procSched
    drwxrwxrwx    2 oracle oinstall  4096 Mar 24 12:07 reportingdb.cacheserver
    drwxrwxrwx    3 oracle oinstall  4096 Mar 24 12:07 reportingdb.pageserver
    drwxrwxrwx    2 oracle oinstall  4096 Jul 22  2008 reportserver
    drwxrwxrwx    2 oracle oinstall  4096 Jul 22  2008 wcs
    I have tried multiple times to re-start and re-enable the File Repository and get the error.
    Is there a way to reinstall ONLY the File Repository server?

  • Can no longer connect to remote server via VPN

    I recently installed OS 10.5.8, and have found that I can no longer connect to my server at work. The VPN itself (via PPTP) works fine, it's just that when I try to connect to the remote server (via Connect to Server) I get a dialogue saying 'A volume failed to mount.' A further dialogue says 'Sorry, the operation could not be completed because an unexpected error occurred. (Error code -6602)'
    Has anyone found a way around this, please? I'm disabled and I need to be able to work from home – without the connection I'm stuffed! Obviously I've tried rebooting the machine etc, but nothing seems to help.
    Thank you for any assistance you can give.
    Kitty.

    For some random reason this connection has begun working again – please ignore the question!

Maybe you are looking for

  • The adobe acrobat reader that is running can not be used to view pdf files in a web browser

    I have found a few postings related to this error, mostly centered around repairing the installation and checking the HKEY_Classes_Root/software/adobe/exe location. I have repaired and verified this and the problem remains. My environment is a termin

  • Import PO - Currency Issue

    Hi Friends, my business process like one of my vendor . i need few materials like MAT1,MAT2,MAT3. but each item different currency like MAT1 - EUR, MAT2- USD, MAT3 - GBP. But final payment in INR. i want to creat Single purchase order for this 3 mate

  • Can't boot after upgrading 3.0.3

    Hi, After processing a yum upgrade of my Oracle VM Server 3.02 -> 3.0.3.My OVM Server hangs and reboot at this step [    0.893453] pci 0000:08:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force' [    0.900517] pci 00

  • Can users access iPlanet Calendar Server 2.0 (iCS 2.0) from anywhere?

    Can users access iPlanet Calendar Server 2.0 (iCS 2.x) from anywhere? <P> Regardless of whether you are a remote user, mobile user, or in the office every day, you need access to your calendaring information anytime from anywhere. iCS 2.x provides a

  • Postscript fonts not recognized in Snow Leopard

    a problem that I have since installing Snow Leopard is that certain fonts are not showing as fonts and font book can't load them. True Type and Open Type fonts are fine the problem is with postscript, has anyone else had this happen or know of a work