11-24-2014 07:13 AM - modifié 11-24-2014 07:14 AM
Bonjour,
Comment faire pour ajouter le repertoire modbus dans labview???
Merci davance,
le 11-24-2014 08:27 AM
Salut
Pour installer MODBUS Library for LabVIEW il faut suivre la procédure dans le fichier Read me:
Installing NI-MODBUS Library In order to use the Library in LabVIEW, please follow these steps: Close LabVIEW. If you have version NI-MODBUS Library 1.1 on your system, it is recommended to uninstall it by going to Control Panel -> Add Remove Programs -> National Instruments Software and select NI Modbus 1.1 from the list. Copy NI Modbus.llb from the ##\vi.lib folder to the LabVIEW_ROOT\vi.lib directory where ## is your LabVIEW version (example 86 for 8.6) and is the root folder where you installed LabVIEW. Copy lvmodbus.chm and lvmodbus.txt from ##\help to the LabVIEW_ROOT\help directory. Copy nimodbus.mnu from ##\user.lib to the LabVIEW_ROOT\user.lib directory. Restart LabVIEW. You should see the NI Modbus palette in the User Libraries palette. To Uninstall the Library, remove all the files copied from the previous steps.
le 11-25-2014 04:33 AM
Mercii,
cdlt,
le 11-27-2014 12:48 AM
Si vous partez de rien, je vous recommande d'utiliser la nouvelle librairie Modbus de NI. Elle n'est pas (encore) supportée officiellement. Mais l'ancienne ne l'est plus non plus.
Voir cette proposition et les échanges qu'elle a suscité pour plus de détails.
le 11-27-2014 02:07 AM
Bonjour,
Je vous remercie de votre réponse, Et jaimerais savoir comment intégrer cette nouvelle bibliothèque que je viens de télècharger???
Cordialement,
le 11-27-2014 04:37 AM
Intégrer ou rendre disponible pour l'utilisation dans LV?
Using the Library This library is distributed as a VI package, meaning that it requires JKI's VI Package Manager for installation. Once installed, the Modbus API will be available on the Data Communication function palette and the Add-ons Palette. Each palette (master and slave) contains a basic example of the functionality of the API. The master example demonstrates basic connection and error handling, as well as the ability to set and get certain data items from the slave. The slave example demonstrates setting and getting data, as well as the retrieval of properties related to the background connection handler including the status of the handler, and the number and status of all current connections.
A+