Using NI MODBUS - reading of several distinct registers

I'm using LabVIEW 8.6, with the NI MODBUS 1.2 VI library. I have a device which serves up to 50 records, all keeping the same format. I want to read about 20 of them, however they are not consecutive.  (40010, 40015, 40017, etc.)  Read Holding Registers VI gives me the opportunity to read consecutive registers beginning at a given address.   On the other hand, writing several registers VI seems to me to write in an array of distinct registers. Is it possible to do it for the reading of records?

AZZOAutomation wrote:

I'm using LabVIEW 8.6, with the NI MODBUS 1.2 VI library. I have a device which serves up to 50 records, all keeping the same format. I want to read about 20 of them, however they are not consecutive.  (40010, 40015, 40017, etc.)  Read Holding Registers VI gives me the opportunity to read consecutive registers beginning at a given address.   On the other hand, writing several registers VI seems to me to write in an array of distinct registers. Is it possible to do it for the reading of records?

Tags: NI Software

Similar Questions

  • Configuration required to use the fingerprint reader

    I have a dv6tQE delivered later this week and I'm looking into how to configure the fingerprint reader.  I'm interested the FR for projecting my fingerprint with the plethora of passwords that I now keep in a Word document hyperlink.  Too much memorize.  I'm not interested in the security feature that requires a logon or a fingerprint whenever I start my computer.  I usually push on the button and then perform several tasks to something else and come back to the computer, wait until it is ready to roll without the need for an additional activity on my part.

    The User Guide PDF downloaded States in part:

    "In order to use the fingerprint reader, you must configure a user account with a password on the computer. This account allows you to log on to your computer with a simple touch of the designated finger. Alternatively, you can use the fingerprint reader to fill in the password on Web sites and other programs that require a login. See using the fingerprint software for instructions. After you have created your identity from fingerprints, you can configure single sign-on... »

    It will be necessary for me to set up a user account for my login or can I skip that part and use the NOF for passwords only?  In addition, there is a link to the FR software guide?

    ---

  • I use the MODBUS library and can receive data, but I can send it very well?

    Hello

    I use the Modbus Library to communicate with a VFD to control a fan. I use the master write and read vi. I can write data to the drive mechanism and get the fan to do what I want. The VFD is supposed to send a package of confirmation after I told him to do something and I can also read its records. When debugging the VI it shows that the problem is that the buffer always reads zero and the VI timesout. If I look at the USB adapter lights to RS 485, I use to interface with the drive mechanism, I see that the flashes of light RX immediately after I send a message. So I should have something in the buffer. Does anyone have any suggestions?

    Aaron

    OK, here's what has happened to those who have this problem. In the series Receive.vi MB The bytes to the Port of property node has been reading 0 even if there was something in the buffer. Executing the program was then stuck in a loop until it expired and never went to read anything of serial port buffer. I didn't spend too much time wondering why that VI has not worked and created my own. Within a period appropriate after writing to the serial port, I used the same bytes to the Port property node and was able to get the exact number of bytes to the stream and then VISA vi the number of bytes to read. I received the message of the right answer and everything seemed good. But of course that NO! Then I experimented with different speeds of writing to the drive mechanism to get the fan to operate at different speeds. I found a small range of speeds where I get no response to the VFD, either in operation or by sending me a response packet. After a while, I found that there is a mistake in the LRC-8 code in the MODBUS library OR. It does not prescribe that the LRC will be a two-character value. So if your LRC is proving to be a single character such as F value (which should be 0F) you get an incomplete MODBUS message. This has been easily corrected in the vi LRC8 saying "number in hexadecimal string" vi to produce output with a minimum width of two. Then everything worked fine. Moral of the story, it's the MODBUS library is awkward.

  • I downloaded and used a test of Lightroom, several days ago.  I've used and have a library, but now, when I try to use it today, my pictures seem to be there in the library but when I try to start working on a new picture, I get a "file not found messages

    I downloaded and used a test of Lightroom, several days ago.  I've used and have a library, but now, when I try to use it today, my pictures seem to be there in the library but when I try to start working on a new picture, I get a ' file not found message.»  How can I go back in my files?

    There are a number of options available when you choose to import files to your catalog in Lightroom (library)

    1 copy / copy as DNG, this option allows you to copy files of origin from their existing location, for example a folder on an existing, promenade, internal, external, a reader of card or a camera SD card connected to the computer via a USB port, to a location of your choice, in a folder of a HARD internal, external HARD disk drive or a network drive on your choice.

    2. move. This option allows you to move files of origin of their location, for example a folder on an existing drive, internal or external to a new location of your choice, in a folder of a drive HARD internal, external HARD disk or a network drive on your choice. (the Move option you cannot move files from a card or your camera.)

    3. ADD., this option allows you to add image files to the catalog of their location, for example a folder on an existing drive, internal, external or network drive and the original images remain in their current location.

    The original image file will be located at the location of your choice.

    There are no image files in your catalog (or library) file the original files are in the location you choose.

    If you choose to add files to your catalog from an external drive, then unplug the player from your computer, then Lightroom which will show the 'file not found '.

  • Sequential read of several record stores

    I'm a newbie using OEID 3.0 and crawled of CloverETL to store some data (using IAS) in the field of data. I am analyzes each Web site in a separate record store, and I encountered this problem in CloverETL I can't solve:

    So I have several record stores (rs1, rs2,..., rs1000), and what I have to do is run a graph (the same graph) sequentially to all those record stores, by means of changing the name of component record store 'Record store Reader. " The chart simply stores RS data in a data field. Could you help me how to do this? Basically, I need a loop to re-run the graph each time by changing the 'Instance of record bank' property on each iteration.

    Thank you!

    I noticed that you said you were doing with IAS Web site analysis (as opposed to the CMS analysis or file system).  In the analysis of Web site, personally, always out of analysis of XML instead of a recordstore.  As the webcrawls have not any mechanism of CDC (change data capture) you find yourself really lead the entire analysis whenever there is no way to detect the page website for only analyze this change that changed incrementally.  For the analysis of file system and the CMS analysis, recordstores are very discount to accomplish and follow the gradual change.

    So, if you decide, like me, to the output in XML format to the analysis of your Web site, you can waive the reading of the RS and simply use an XML reader to retrieve several XML files.

    HTH,

    Dan

    http://branchbird.com

  • Satellite C660: the system stops when I use internet or read a file

    for 2 days the laptop (I have win7 Home premium) hang up when I use internet, play a game, use a program, read a document.

    I'm not be able to move the mouse pointer and also pressing CTRL-ALT - ANNU system stops too.

    The only way to turn off the laptop is to push the botton to power or raise electricity
    What appen?

    What will happen? Well I would be to know this too ;)
    Have you noticed a higher temperature while working on this laptop?

    High temperature can be one of the many reasons why the laptop does not work correctly. You can check this by using like Everest Home Edition and similar diagnostic tools

    Corrupt system is the main reason why something is not working
    Have you tried to clean the BONES and the registry using CCLeaner?
    Try this.

    What about viruses? Scan you the system for malware?

    Last but not least, it could be a malfunction of the equipment. RAM, HARD drive, or even motherboard could cause this

  • Start your computer by using the fingerprint reader is not working - T450s

    It did not help:
    -From the bios feature works...
    -Ability to select in the application "" connection of fingerprints digital use instead of power ".
    -Update the BIOS
    -Updated FingerPrint Manager Pro
    -The placement of the bios 'Legacy First' or 'Legacy' only

    I am grateful for the support.

    You cannot use the fingerprint reader as a replacement for the power button more.

    The former supplier the Authentec fingerprint readers, was bought by Apple some time ago. As a result, Apple holds the respective patents.

  • I need to download a document, but I haven't used software adobe reader. Now that I have adobe, he still goes to MS Word.

    Original title: I need to download a document, but I haven't used software adobe reader, I clicked on the Word windows and no is not to help me, please help me

    I need to download a document, but I have not used the adobe reader software, because I didn't have him, so I clicked on the Word windows and does not work. I want to go back to my email document and adobe reader interpret for me.  How can I go back and tell the pc to not use windows Word.

    Hello

    See this link:

    http://Windows.Microsoft.com/en-us/Windows7/change-which-programs-Windows-uses-by-default

    http://Windows.Microsoft.com/en-us/Windows7/change-the-program-that-opens-a-type-of-file

    Let us know.

  • read an AVI using "Binary file reading" vi

    My question is to know how to read an avi file using vi «The binary read»

    My goal is to create a series of small avi files using IMAQ AVI write framework with the mpeg-4 codec to long 2 seconds (up to 40 images in each file with 20 frames per second) and then send them one by one in order to create a video stream. The image has entered USB camera. If I read these frameworks using IMAQ AVI read framework then compression advantage would be lost if I want to read the entire file itself.

    I've read the avi file using "Binary file reading" with 8 bit unsigned data format and then sent to the remote end and save it and then post it, but it did not work. Later, I found that if I read an image using "Binary file reading" file with 8 bit unsigned data format and save it to local computer itself, the format should be changed and it would be unrecognizable. I'm doing wrong by reading the file format of number integer 8 bit unsined or should I have used other types of data.

    I'm using Labview 8.5 and Labview vision development module and module vision 8.5 acquisition

    Your help would be very appreciated.

    Thank you.

    Hello

    Discover the help (complete) message to "write in binary.

    "Precede the size of array or string" entry by default true, so in your example the data written to the file will be added at the beginning information on the size of the table and your output file will be (four bytes) longer than your input file. Wire a constant False "to precede the array or string of size" to avoid this problem.

    Rod.

  • How to use my fingerprint reader embedded on my HP 2710p?

    There is not much to ask, I have no idea of how to use my fingerprint reader embedded on my 2710p. I am running Vista Business 32-bit.

    Thank you

    I have on my "HP ProtectTools Security Manager"

    HP ProtectTools Security Manager Suite
    http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=321957&prodSeriesId=3355644&prodNameId=3355645&swEnvOID=2096&swLang=13&mode=2&taskId=135&swItem=ob-77198-1

  • How to use the fingerprint reader in windows 8

    I am currently using HP ProBook s 4230. It had windows 7 installed and then I upgraded to windows 8. How do I use the fingerprint reader, I could use it earlier, but now I don't have a possibility to use as a security tool. any suggestions?

    Hello

    Please go through the article helps HP at the following address and check.

    Troubleshooting a (Windows 7, Vista, XP) fingerprint reader

    http://h10025.www1.HP.com/ewfrf/wc/document?cc=us&LC=en&docName=c02519007#N742

    Note: Even if the article is for the Windows 7 operating system, the suggestions are applicable to your scenario.

    As well as the suggestions above, to update the Chipset drivers and check if the function keys work fine.

    Please post here with the State of the question and we will be happy to help you further.

  • Cannot print using Adobe Acrobat Reader - MacBook Pro - Wireless environment

    I have a Macbook Pro with OS 10.6.4

    My printer is the HP Photosmart C5180 all-in-One

    It is connected via ethernet cable to my router (Netgear Wireless-N Router) via 10.0.0.1 wireless setting.

    I am able to print everything with all programs, except Adobe Acrobat.

    When I have all the files sent to the printer, I get the following error:

    Error: pstopdffilter/pstocupsraster failed with error n ° 13

    I uninstalled the driver, installed (since the driver the latest HP Web site), I am able to do the printer to work on everything, I am able to print a test page, but... I can't print anything with Adobe Acrobat...

    Any suggestions?  Many use Adobe Acrobat Reader

    Duuuuh!  You are right!  I completely forgot preview! MUCH better than Adobe, so to speak (well, at this rate). Thanks a lot for your help and trying to find the best solution for my problem, and you!  Gracias!

  • Impression of the objects when you use Adobe Acrobat Reader DC?

    Using Adobe Acrobat Reader DC and objects (like an arrow and a cloud) that I added in his comments do not print. Is there a setting somewhere that I have to change?  I tried to change my printer settings to include "print image", but it does not work.

    Hi rick5317,

    Please provide the exact point of the software & OS installed on your system. Also check if it is there any update available for the software after crossing "" help > check updates "»

    Follow this thread to reset the Acrobat preferences:- How to reset preference settings in format Acrobat.

    Please choose the option for "Documents & annotations" under comments & forms in the print menu.

    Also refer to this article:- https://helpx.adobe.com/acrobat/kb/troubleshoot-pdf-printing-acrobat-reader.html

    Kind regards

    Christian

  • Is there a better way to remove the toolbar "Frequently used tools" (which I've never used!) to open whenever I open Acrobat reader. rather than uninstall Acrobat and use another PDF reader?

    Is there a better way to eliminate the "frequently used tools.
    toolbar (which I've never used!) to open whenever I open Acrobat
    drive. rather than uninstall Acrobat and use another PDF reader?

    Hi jg49392310,

    You can disable the tool pane with Adobe Acrobat Reader DC was last updated, see this note cover hide the tools Panel in Acrobat and Acrobat Reader DC at all times.

    Kind regards

    Nicos

  • Can I use Art boards to create several ebook page?

    Can I use Art boards to create several page for digital download ebook without the need to use Indesign?

    I don't have access to or want Indesign or Illustrator this is because im a very light user.

    Thanks Daryl

    That is not a good idea, plans to work in Photoshop are not appropriate pages.

Maybe you are looking for