Vi labview12/28/2022 ![]() Use the device datasheet (and/or Modbus Map) to determine what registers you need to write and read and the plug those register names into "Read Write Loop with Config.vi". Included here is the very useful "Read Write Loop with Config.vi" example which forms the basis for most customer applications. The \Examples\Basics folder contains core examples that demonstrate the basics of interfacing LabVIEW with our LJM library. These are used by other VIs from the \Functions\ and \Examples\ folders to handle things unique to LabVIEW. The \LVUtilities folder contains VIs that encapsulate some useful functions. Most of these need a valid Handle input so are intended to be sub-VIs not standalone top level VIs. The \Functions folder contains simple VIs that do little more than call functions from LJM. If you download new VIs from, delete and replace the entire LabVIEW_LJM folder. If you want to make your own variation of one of the examples, make a copy in a different location and modify that. We recommend not having more than one copy of the VIs, and not changing these VIs. In that case you can put the LabVIEW_LJM folder wherever you want. Many people, including us, do not use the palette icons but rather just copy paste from examples and use the "Select a VI." balloon from the function palette. If you just see question marks, see this forum topic. Be sure the folder containing our LabVIEW functions is named "LabVIEW_LJM" when added to the LabVIEW addons folder or else the icons may not load properly. The folder can be stored anywhere, but if you want icons to show up on the LabVIEW function palette (after restarting LabVIEW), place this folder under .\national instruments\labview #\vi.lib\addons\ (create the addons folder if it does not exist). The downloadable zip file "LabVIEW_LJM.zip" extracts to a single folder called "LabVIEW_LJM" which contains a few subfolders. Stream mode and other operations that don't fit in "Write Read Loop with Config" will usually have specific examples, and if something seems to be missing let us know. Or just use "Write Read Loop with Config", which provides the basic structure used by many user applications.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |