Comment créer une communicat​ion entre labview et "usb-1208l​s"

Je viens d'installer le logiciel de "USB-1208LS" sur mon ordinateur mais j'ai envie et j'airéussi à voir des signaux mais seulement j'ai envie de communiquer entre mon logiciel et labview en gros j'ai envie de récupérer ses données sur labview je ne sais pas comment procédé mais je sais quand même qu il est compatible avec labview. Merci!

Hello,
You're in the english part of the forum, next time make sure your posting on the french forum.
To acquire Data from your USB-1208LS device with LabVIEW, you'll need to install the driver API for LabVIEW here:
ULx for NI LabVIEW
http://www.mccdaq.com/daq-software/universal-libra​ry-extensions-lv.aspx
And there a link to learn how to use it with LabVIEW :
DAQ-Software-Quick-Start
http://www.mccdaq.com/PDFs/Manuals/DAQ-Software-Qu​ick-Start.pdf (refer to p29)
And another documentation to implement different functionnality and programming in LabVIEW
Getting Started with NI LabVIEW Student Training
http://zone.ni.com/devzone/cda/tut/p/id/7466
Hope you'll find every information you need
Best regards
Victor F. | Application Engineer
Certified LabVIEW Developer | Certified TestStand Architect
National Instruments France

Similar Messages

  • PLC Communicat​ions with Labview

    How do I view and record data from my plc to labview, currently we are using autmation directs DL205 with the 260 processor

    If the DL 205 communicates through the Modbus protocol, you could use the Modbus library. This library consists of a bunch of VIs which can be used for Modbus communication. Think of them as advanced Serial read/write VIs. However, if you are looking into monitoring, datalogging and controlling the registers, then I would recommend the LabVIEW Datalogging and Supervisory Control Module. Using shared variables, you can then easily bind, control and talk to the registers and most of the work is taken away from you.
    If the DL 205 doesn't communicate throught the Modbus protocol, then you would need an OPC server (like the NI Industrial Automation OPC Servers) and the LabVIEW DSC Module. You can then communicate from the LabVIEW DSC Module with the OPC server.
    Message Edited by Adnan Z on 03-15-2007 10:27 AM
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Problème communicat​ion interface-​Labview 2012 après mise à jour

    Bonjour,
    Lors de l'installation d'une nouvelle version Labview (2012) sur un PC, la communication entre ce dernier et le logiciel a lieu mais l'interface n'est pas adapté à la nouvelle version. Par conséquent, il est impossible d'enregistrer des valeurs et d'acquérir des données pendant les essais sur l'équipement en question.
    Que dois-je faire  ?
    Pièces jointes :
    Doc1.doc ‏206 KB

    Bonjour Vergini,
    Qu'entendez-vous par l'interface n'est pas adaptée à la nouvelle version ?
    Avez-vous bien réinstallé les drivers/toolkits après avoir installer LabVIEW 2012 ?
    Dans l'attente de votre retour.
    Valentin
    Certified TestStand Architect
    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;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • Using existing c code for usb-hid communicat​ion in labview

    Hello,
    I want to write a simple temperatrue logger using labview and a external hardware which communicates over usb-hid. The external hardware uses an ATMEL 90USB162 µC and DS18B20 sensors.
    Link to the hardware:
    http://www.diamex.de/dxshop/USB-Temperatur-Sensor-​Tester-fuer-DS18B20
    The source of a a simple command line tool is available (see attachement), which reads out the temperature value of the connected sensors.
    Is it possible to include this c-code in the labview application to simplify the communication?
    Thanks a lot and best regards,
    Michael
    Solved!
    Go to Solution.
    Attachments:
    CMDLINE.zip ‏17 KB

    I'm not that experienced at this personally (in terms of compiling C code into DLLs), but I believe the process you need to go down to call your C code in LabVIEW is to compile the C code into a DLL which you can then call from LabVIEW using a Call Library Function node (or you can try to use the "Import Shared Library" wizard to automatically generate SubVIs).
    There's more information here:
    http://digital.ni.com/public.nsf/allkb/DCB90714981​A1F148625731E00797C33
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Interproce​ss Communicat​ion C++ - LabView

    Hi,
    I have a C++ *.exe file wich is grabbing images with a Matrox framegrabber. This program ist startet via "system exec" from LabView. I want to do a kind of time measurement with this program so i need the exact time when the grabbing of frame starts. At the moment I dont know how long the *.exe file needs to initialize the framegrabber (something about 500-1000ms).
    My idea is to start a continous grabbing but start saving the images when another command via LabView will be send to the C++ application. But I don't know how to send this command! It should be a kind of a "wait until key pressed" controlled by LabView. Maybe a global bolean or something like that.
    I hope somebody can help me!
    (programming with LabView 7.0 and Visual C++ 2003.NET)

    Hi,
    What
    you are looking for is called an “inter-application communication”.
    There
    are several options to realize it. LabVIEW supports TCP/IP, ActiveX or UDP to
    communicate with another application.  So
    it’s not as simple as using a “global Boolean”
    as you mentioned.
    I advise you, to use the LabVIEW
    examples which shipped with the NI example finder to get some programs as
    reference. Search for keywords like TCP/IP, ActiveX and UDP.
    Attached
    you’ll find a link to a knowledgebase.
    Hope this helps.
    How Do I Use LabVIEW to Communicate with Other
    Applications?
    http://digital.ni.com/public.nsf/allkb/B3959ED76D5​5A9E586256965004D8092?OpenDocument
    Regards,
    Ulrich
    AE NICER

  • USB RAW Control Communicat​ion in LabVIEW

    Iam trying to open the zipped file by NI "USB RAW Control Communication in LabVIEW".The VI is attached below.It recognized my raw device in VISA Resource Name.Iam using a pendrive.But while running it shows an error 'VISA:  (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.'I learned this problem from some discussion forums in labview,but can't find a solution.Plz help.Post your valuable suggestions........Also in that example how we will give the request,request type,value,index etc:-.What does it indicates?
    Thanks as kudos only
    Attachments:
    USBRawControl.vi ‏152 KB

    STOP creating multiple posts for your question!
    http://forums.ni.com/t5/LabVIEW/Requirements-to-re​ad-from-a-USB-port/td-p/1959445

  • How do I establish serial communicat​ion using LabView to two stepper motors using a motor controller​?

    I currently use an off the shelf motor controller to run my two stepper motors. It already has integrated a firmware software that sends commands to operate each motor. I would like to create an interface where I can send these commands using LabView. If someone can point me in the right direction I would appreciate it.

    Look at the examples for the serial VISA vi.  Something like Basic serial write and read.vi is a good starting point.
    Have you searched for a LabVIEW driver  at the NI LV driver network?   Asked the vendor?
    If you write your own driver with the serial VISA vis remember to open and configure the port only once at the beginning and close it at the end of your program. 
    Message Edited by Henrik Volkers on 07-13-2009 04:21 PM
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • I am new to the ethernet communicat​ion using labview. I do not have any hardware. I have two laptop i need to send and recieve the data via these 2 laptop using labview. Kindly help me on this.

    i am new to the ethernet communication using labview. I do not have any hardware. I have two laptop i need to send and recieve the data via these 2 laptop using labview. Kindly help me on this.
    Solved!
    Go to Solution.

    Hi thanks for the help.
    Actually i am trying to send 10 sine signals from server pc to client pc. So i will bundle 10 signals in server pc and send it and in client pc i am unbundling it and need to save in TDMS format.
    Till unbundling i was able to do. TDMS format it is saving only last value. I need to save all the values. Kindly help me on same. I am attaching both the VI.
    Attachments:
    Client.vi ‏62 KB
    Server.vi ‏252 KB

  • Enable the Bluetooth stack in vista for communicat​ion in LabVIEW

    hi
    i am finding problems in the detection of the Bluetooth by the LabVIEW. i have searches on it and i need to enable the bluetooth stack.
    how can i enable the bluetooth stack in Vista?
    Somil Gautam
    Think Weird

    hi
    My labVIEW version is 8.6.
    The bluetooth drivers i am using are the ones which i got along with my Bluetooth Dongle. 
    Somil Gautam
    Think Weird

  • Comment créer une dll sous labview avec plusieurs fonctions venant du même VI et possédant un tabcontrol ?

    Comment créer une dll sous labview avec plusieurs fonctions venant du même VI et possédant un tabcontrol ?

    Bonjour,
    L’utilisation d’une « commande d’onglet », ou « tabcontrol », ne pose pas de problème pour la définition d’une DLL à partir d’un VI.
    Selon la version de LabVIEW que vous utilisez, le processus de création de DLL sera différent.
    Si vous utilisez une version antérieure à la v8, vous pouvez vous reporter à ce lien : Construire une DLL avec LabVIEW 7.0.
    Sinon, vous devez enregistrer votre VI dans un projet, puis définir le connecteur de votre VI avec les paramètres d’entrées/sorties (cette opération est indépendante des différentes « commandes d’onglet » que vous avez pu implémenter).
    Sélectionnez, dans le projet les « spécifications de construction » dans le projet (via un click droit), pour créer une DLL. Dans la boite de dialogue qui s’ouvre alors, à l’onglet « fichiers source », vous pouvez ajouter votre VI parmi les « VIs exportés » et configurer, en fonction des E/S câblées sur le connecteur de votre VI, les fonctions contenues dans la DLL.
    J’espère que ces quelques éléments auront pu vous éclairer.
    Cordialement,
    Guillaume H.
    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;}
    >> NIDays 2011, le mardi 8 février au CNIT de Paris La Défense

  • Comment crée une boucle qui ce répète le même nombre de fois que le nombre d'impultions que reçoit l'entrée compteur de ma carte NI USB-6009 ?

    Bonjour à tous,
    Je cherche à relever la tension aux bornes d'un capteur en fonction de la position de celui-ci donc en fonction du nombre de pas du moteur qui le déplace.
    Pour celà je cherche comment créer une boucle qui ce répète le même nombre de fois que le nombre d'impultions que reçoit l'entrée compteur de ma carte NI USB-6009.
    Le problème c'est que lorsque j'utilise pour cela une boucle while, la mesure ce fait en continue même si je n'ai aucune impulsion sur mon compteur (que le moteur ne tourne pas).
    Alors que je voudrais que la mesure ne se fasse que quand me moteur tourne et s'arrete lorsque qu'il s'arrete.
    Je suis vraiment débutant avec LabView j'ai donc beaucoup de peine malgré plusieurs heures d'essai infructueux.
    Ci-joint le .VI actuel.
    Merci d'avance à tous pour votre temps et votre aide.
    Cordialement,
    Alpine13
    Attachments:
    Presque.vi ‏166 KB

    Bonjour Alpine 13,
    Pour créer une boucle qui ce répète le même nombre de fois que le nombre d'impultions de compteur, il faut utiliser le boucle "for" qui prend les impulsion de votre compteur comme l'entrée.Je vous suggère de commencer avec un simple exemple. Regardez l'exemple suivant:
    LabVIEW >> Help >> Find Examples >> Hardware Input and Output >> DAQmx >> Counter Measurements >> Count Digital Events >> Count Digital Events.vi
    Vous pouvez modifier cet exemple, de façon suivant. Mettez un boucle "for" dans le boucle "while" et branchez le sortie "Data" dans le nombre d'itérations de votre boucle "for", de cette façon votre boucle "for" va executer  le même nombre de fois que le nombre d'impultions de votre compteur. Aussi pour devenir plus à l'aise avec la programmation LabVIEW,  je vous recommande les articles suivants:
    Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications
    Getting Started with NI-DAQmx: Main Page
    Synchronize Encoder Counter Input and Analog Input
    Mikhail
    RF Toolkits, Product Support Engineer
    National Instruments

  • Comment savoir si une fenetre Labview est au premier plan

    Comment savoir si une fenetre est Labview au premier plan ?
    Sans passer par l'API WIN32 (GetWindowInfo et WINDOWINFO)
    Sinon comment on fait pour recuperer la structure WINDOWINFO
    Merci

    Bonjour Lunik,
    Merci d'avoir posté sur le forum National Instruments.
    Il est possible d'utiliser le noeud de propriété VI>>Feneêtre face-avant>>au premier plan afin de savoir si la fenêtre LabVIEW du VI en question se situe au premier plan des fenêtres LabVIEW. Par contre pour savoir si la fenêtre est au premier plan par rapport à toutes les fenêtre Windows tu dois utiliser la fonction GetForegroundWindow (SetForegroundWindow pour la mettre au premier plan) de la DLL User32.dll.
    Voici un VI qui te montre comment utiliser ces différents éléments. Pour faire un test rapide ouvre le VI et click sur exécuter depuis la face-avant puis click sur exécuter depuis le diagramme. Le nom renvoyé change en fonction de la fenêtre qui est au premier plan.
    Benjamin R.
    R&D Software Development Manager
    http://www.fluigent.com/
    Pièces jointes :
    GetForeground.vi ‏10 KB

  • Comment créer une variable globale

    Bonjour,
    Ca fait maintenant un moment que j'utilise Labview (1ans), et pour la première fois je pense avoir besoin d'une variable globale, mais je n'arrive pas a la maitre en oeuvre.
    Mon problème est le suivant. Je voudrais qu'en cliquant sur un bouton STOP de la face avant d'un de mes VI, sela est l'accion d'apuiller aussi sur le bouton stop d'un autre VI (sous-sous-vi). Je pensais donc mettre une variable global qui surveil à quel état est le bouton stop de mon VI, et faire surveiller cette variable globalle par mon sous-sous-vi pour l'aréter quand on apuis sur stop.
    J'ai donc ajouter une variable globale à mon VI, mais je n'arrive pas à la relier à mon bouton STOP. (jobtien un fil de liaison brisé).
    N'ayant jamais mis de variables globale en place, je ne comprend pas pourquoi, et ne trouve pas de solutions.
    Si quelqu'un pouvais m'expliquer pas a pas comment écrir dans une variable globale, puis comment lire une variable globale, cela m'aiderais grandement. ( je n'ai pas non plus compris pourquoi les variables globales ont une face avant???)
    Merci pour votre aide.
    Nico

    Bonjour,
    Il semblerait que vous ayez créé votre Variable Global en laissant le type par défaut. Du coup vous essayez d’écrire un booléen dans une variable de type Double.
    Je vous conseil de lire ce lien pour tout ce qui est utilisation de variable partagée.  
    Message Edité par BenjaminR le 05-26-2008 04:51 AM
    Benjamin R.
    R&D Software Development Manager
    http://www.fluigent.com/
    Pièces jointes :
    VarGlob_Revolution.png ‏151 KB

  • Comment créer une source de cadencement à 1MHz dans une boucle cadencée?

    Comment créer une source de cadencement à 1MHz dans une boucle cadencée?

    Bonjour Julie,
    Je ne comprends pas très bien votre question.
    Tout d'abord, à l'avenir, préférez recréer votre propre post sur le forum, celui-ci datant de 2006, vous pouvez être quasiment sûr que les gens qui y ont participé ne sont plus aussi disponible pour vous répondre.
    D'autre part, le module 8451, qui gère la communication SPI peut gérer des horloges jusqu'à 12MHz, je ne vois pas où est votre problème d'horloge à 1MHz.
    Le problème qui se posait dans le poste d'origine était d'avoir une boucle logicielle qui allait à plus d'1MHz, ce qui est très dur et qui demande du matériel particulier. C'est déjà une limite quasiment inatteignable avec un environnement RT, et il faudra plutot se tourner vers de la technologie FPGA.
    En revanche, si votre besoin est de gérer une comm SPI à 1MHz, vous pouvez très bien avoir le module 8451 qui fait le codage et décodage SPI, et votre programme qui lui tourne à quelques ms pour récupérer ou envoyer de nouvelles données sur le bus!
    J'espère vous avoir éclairé!
    Cordialement,
    Olivier L. | Certified LabVIEW Developer

  • Configurat​ion entrée microphone en pseudodiff​érentiel

    Bonjour à tous !
    En ce moment je travaille sur une carte NI9234 (51200Hz) avec des microphones, et j'ai vu qu'automatiquemement sous MAX les entrées microphones se mettaient en pseudodifférentiel, sans pouvoir y changer.
    Alors j'aimerais savoir qu'est-ce que le mode pseudodifférentiel et pourquoi il s'applique à cette carte et/ou les microphones.
    j'ai chercher sur NI : http://www.ni.com/white-paper/6962/en et dans les aides LabVIEW, je suis tombé sur ceci :
    "Système de mesure pseudodifférentiel
    Un système de mesure pseudodifférentiel associe certaines caractéristiques d'une voie d'entrée différentielle et d'une voie d'entrée RSE (asymétrique référencée). Tout comme une voie d'entrée différentielle, un système de mesure pseudodifférentiel expose à la fois les côtés positifs et négatifs de la voie. Connectez les entrées positives et négatives à leurs sorties respectives dans le dispositif testé. L'entrée négative est liée à la masse du système par le biais d'une impédance relativement basse (désignée par Z1 dans le diagramme ci-dessous). L'impédance entre l'entrée négative et la masse peut inclure à la fois des composants résistifs et capacitifs. Les côtés positifs et négatifs de la voie d'entrée sont séparés par une impédance plus haute (désignée par Zin).
    Les configurations d'entrées pseudodifférentielles sont courantes dans l'échantillonnage simultané et l'acquisition de signaux dynamiques (DSA) qui n'utilisent pas d'architecture de signaux multiplexée. Un système pseudodifférentiel est particulièrement adapté pour mesurer la sortie de périphériques isolés ou flottants en cours de test comme les instruments fonctionnant avec des piles ou la plupart des accéléromètres. La configuration pseudodifférentielle peut aussi être utilisée pour mesurer des signaux référencés si le potentiel de référence du signal ne diffère pas considérablement du potentiel de la masse du périphérique de mesure. Toutefois, les boucles de mise à la masse posent problème si le potentiel de la partie négative du signal diffère considérablement de la masse du châssis. En général, une entrée différentielle offre un meilleur rapport de réjection en mode commun (CMRR) qu'une entrée pseudodifférentielle."
    ... mais perso j'y comprend rien...
    Quelqu'un pourrait m'expliquer ça plus clairement ?
    Merci, cordialement
    Geoffrey, LabVIEW Associate Developer

    Je ne comprends pas trop quel est ton problème... est ce que tu arrives à faire les mesures que tu souhaites ou pas?
    Lire les docs c'est bien, mais il faut aussi faire des essais... je te propose de regarder l'exemple : C:\Program Files\National Instruments\LabVIEW 2010\examples\DAQmx\Analog In\Measure Sound Pressure.llb\Cont Acq Snd Pressure Samples-Int Clk.vi
    Rien ne t'empèche de tester différents mode pour voir ce que tu obtiens.
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

Maybe you are looking for

  • Application Fussion 7.9

    Hi, I'm trying to run the exception reports in DAC and I have the following error: "The task 'Load into ListOfValues Dimension:SIL_ListOfValuesDimension_Full' has failed, and so the other tasks for this step will not be executed" Here's the error at

  • Printing FAX in smartform

    Hi, We have a smartform, which has the ouput as 4 pages. In all the 4 pages data is same but the background layout is different. When we take the FAX copy then there is the only 1 page which is the first page is being printed , not all 4. Is the SAP

  • Replace all footage with different format

    Hi All, So I am aware about like changing some files by like renamming or moving the folder and opening the project and then pointing it to the new directory/whatever and that works great. I am helping out a friend who does sound who's client is a me

  • Blogging on iWeb

    iWeb lets me post multiple blogs on my site. Is there a way to make excerpts from more than one blog show up on a combined "blog main page"?

  • RIGHTS TO PACKAGES

    We have a user who cannot view some packages. we cannot grant alter any package to him. is there a grant we could use. He can see all package but the one own by the application....which is ver strange!!! He is not logging in as the package owner...