Multipexed channels in MODBUS with memory tag?

Hi
I have setup where an analog input module multiplexes it's four channels into one MODBUS address. I do this with the following procedure:
- channel one is written to a certain MODBUS address (e.g. 30016)
- then I write a number (e.g. 12) to an other certain MODBUS address (e.g. 40001)
- channel two is now written to the first (30016) address
- I write a second (e.g. 16) number to 40001 MODBUS address
- channel three is now written to the first (30016) address
- and so on...
I am using LabVIEW DSC an I am wondering if I could solve the problem somehow with a memory tag.
I can do it by hand already (write tag / read tag) but I need to have those four channels seperated in the database
thanks in advance
wolfram

I guess this question got answerd already by the DSC enthusiast
Create four Memory tags, one for each channel. Wire these channels' values to the respective Memory Tags using the Write Tag VI. Also, enable logging on these Tags so you have the data in the database.
Then cycle through these Memory Tags and write them out to your Modbus 30016 Tag.
Hope this helps.
Khalid

Similar Messages

  • I use only two channels, have plenty of memory in my hard disk, and external hard drive, no effects, and still having problems with Garage band. Giving messages as you have too many live channels

    I'm frustrated, I am doing everything you recommend, I use only two channels, have plenty of memory in my hard disk, and external hard drive, no effects, and still having problems with Garage band. Giving messages as you ave too many live channels, the disk is slow prepare...can you help?

    Quote from: Richard on 15-November-07, 20:33:05
    tornado2003,
    What you need to do is boot into Safe Mode. Then delete the VGA Drivers.
    After that boot normally and install the latest nVidia ForceWare Drivers
    Take Care,
    Richard
    i guess you missed that:
    Quote from: tornado2003 on 15-November-07, 17:26:52
    ive tryed booting xp in safe mode but it just freezes after it loads up a couple of needed files .
    ive even formatted my hard drive and tryed installing a fresh xp on it but it just keeps locking up when it gets to the "starting windows setup" .(this is just after it loads all the drivers from the xp cd)

  • ABAP runtime error in sxmb_moni when SOAP message has header with some tags

    Hi!!!
    I have a problem with sxmb_moni transaction.
    If I double-click on a successfully processed
    message, then this monitor can't show me
    the message details but fails with the following error:
    <COPY_AND_PASTE_FROM_SCREEN>
    Runtime errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO                              
    Exception              CX_SY_REF_IS_INITIAL                                        
    Occurred on     02.03.2005 at 16:44:21  
    Access with 'ZERO' object reference not possible.                                                
    What happened?                                                            
    Error in ABAP application program.                                                 
    The current ABAP program "CL_XMS_PROP_STRING============CP " had to be             
    terminated because one of the                                                     
    statements could not be executed.                                                  
    This is probably due to an error in the ABAP program.
    </COPY_AND_PASTE_FROM_SCREEN>
    This situation takes place only when I want
    to look at a SOAP message which was sent to XI
    from .Net platform or was sent to
    .Net platform from XI (via SOAP adapter).
    In all other cases sxmb_moni works fine.
    I know that the problem is connected with some tags from Header record of SOAP message:
          <soap:Header>
             <wsa:Action>http://aaa.bbb.ccc/MessageResponse</wsa:Action>
             <wsa:MessageID>uuid:1838f870-1688-4cfe-8c4f-afe14d98c515</wsa:MessageID>
             <wsa:RelatesTo>uuid:308b950f-8cff-4b63-9861-93b041825f9d</wsa:RelatesTo>
             <wsa:To>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:To>
             <wsse:Security>
                <wsu:Timestamp wsu:Id="Timestamp-389847df-8760-4d57-9777-6ce159d85205">
                   <wsu:Created>2005-03-02T08:54:29Z</wsu:Created>
                   <wsu:Expires>2005-03-02T08:59:29Z</wsu:Expires>
                </wsu:Timestamp>
             </wsse:Security>
          </soap:Header>
    If I take a SOAP message I have problem with, and
    I remove all tags from this Header (or remove
    the whole Header) and send it from any XML editor
    that can send SOAP messages then sxmb_moni hasn't
    any problems with showing me details of a such message.
    Any hints how to force a .Net platform not to send
    a such header or how to force sxmb_moni transaction
    not to fail if a such header occurs?
    Regards,
    Andrzej Filusz

    Hi Santhosh
    1.Check your authorization settings in XI and R/3. Whether the user has sufficient rights to execute the Function Module etc. This is the most common reason for this error.
    2.If the XI system was brought online even before the R/3 system then re-activate the communication channels from the Integration directory.
    Cheers..
    Vasu
    <u><i><b>** Reward Points if found useful **</b></i></u>

  • I have this problem,    Tag 'A2B0': Number of input channels is not correct.     Tag 'A2B0': Number of output channels is not correct.     Tag 'B2A0': Number of input channels is not correct.     Tag 'B2A0': Number of output channels is not correct.

    i have this problem,   
    Tag 'A2B0': Number of input channels is not correct.    
    Tag 'A2B0': Number of output channels is not correct.    
    Tag 'B2A0': Number of input channels is not correct.    
    Tag 'B2A0': Number of output channels is not correct.
    I work with Capture One Pro 7, photo editor
    what can I do to solve this problem?

    You may have better luck asking your question here: Capture One 7.x Software for Mac
    OT

  • PXIe-5122 continuous stream 2 channels to disk with 100MS/s

    Hey,
    I am currently trying to find a way to stream 2 channels to disk with 100MS/s with my PXIe-5122. According to the product specification, the card should be able to do this. 
    Unfortunately, I have'nt seen any programs.
    What I have are two loops, one for the DAQ and one to empty the onboard memory using a queue and writing the fetched waveform data into a tdms file. I keep obtaining the error, that samples in the onboard memory are overwritten... therefore, the VI doesn't empty the onboard memory in sufficient speed.
    Does anybody know how I could solve this problem? Or does anybody have a program?
    Thanks for the help!

    Hi lehrm,
    you are writing about that you didn#t see any application for the 5122. If you mean examples, there are a lot of examples installed on your system when you install the driver sw for the device. eg. there is an example called niScope EX Stream to Disk, that seems to be interesting for your issue
    Examples are available in the Example Finder of LabVIEW, in the folder: "Hardware Input and Output" -> "Modular Instruments" -> NI-SCOPE (High Speed Digitizer)" -> "Continious Acquisition".
    This can give you first ideas! 
    Kind regards
    Tobias S.

  • Dual Channel DDR Vs. DDR Memory, etc.

    So I'm in the process of upgrading again and was hoping to add a little more memory to my system.  With all the different types of memory out there it starts to become a little confusing as to how much bang your going to get for your buck and the pitfalls of marketing  ?( .  Currently i'm looking into Dual Channel DDR since this is the new craze.  I currently have 1 512MB stick of PC3200 DDR memory that I plan on replacing with 1GB (2) sticks of Dual Channel DDR PC3700 or PC4000.  The difference is 60 bucks and I'm wondering...is it worth the extra cash for PC4000?  It's Corsair memory which I currently have never had problems with but it is a little pricier than the generic memory out there.  
    Is it possible that the only reason to do something like this would be overclocking or is my system going to use the full extent I give it (Or am I putting myself in line so that my memory will be able to support future cpu, etc. upgrades).  My specs are below, feel free to ask questions.  I appreciate any replies in advance.  )  
    Thanks again,
    -MaD

    Quote
    Originally posted by Assaf
    With both sticks in the same channel your not using dual channel.
    A bios update could fix the RAM compatability problem.
    So i\'ve been getting alot of crashes since i purchased this board but more so when I installed the new memory.  This last round produced another error message that was logged with microsofts OCR tool.  The debug information was submitted and handed back as a memory problem.  I downloaded their DOS memory tool to test memory and tried the motherboard with a bunch of different configurations.  Here\'s what I found:
    4 different sticks of memory at any configuration produced Failures on WMATS+, WINVC and would eventually lockup the system.
    I went to the processor....
    3 different processors all generated failures with any of the same memory configurations.  
    I tested all memory sticks in a different system with no failure.  It ran 5 passes and even an extended test without failure.
    I disconnected my drives from the MB (currently running disk striping on IDE 3, not sure if that is even effective since they are both on the same ide channel.  What's up with only one?? and 2 for SATA) and ran the same tests with the memory and none have failed.  If i connect the drives and turn of the RAID bios once again all tests + extended pass.
    So leads to my question...How do I fix this?  I was running a Soyo P4X400 before with Disk striping on two seperate channels and I wanted to bring that same performance to this board.  Not sure though if i\'m getting that though...let alone the current problem it has with memory when it\'s enabled.
    Any help is appreciated, I dont mind being the Gunnuie pig if it helps other people in the process.  I\'m just happy i dont have bad RAM, CPU, and possible the board.   )

  • Double timestamps in citadel5 when writing to memory tags

    I am collecting some data and writing to six different memory tags. When I view the history of the individual tags, some of the datapoints and timestamps are listed twice with the same values. My vi is setup with all six write tag vi's in parallel and they could execute at any time. Should I rearrange my structure so that only one write tag vi is active at a time??

    Hi,
    Do you have all the Write Tag VIs in the same loop/structure? This would mean they will all execute together regardless of whether they have new data or not. You can either make the Write-value-on-Change input true, or have these VIs in their own independent loops/structures (like the ones created by the HMI Wizard).
    Hope this helps.
    Regards,
    Khalid

  • Bad bug with ID3 tags of different case for same artist

    My itunes files and music library are on a different drive than my boot drive. It is an internal drive (always on) in my Mac Pro at /Volumes/Media1/iTunes with music library at /Volumes/Media1/iTunes/iTunes Music. iTunes is setup to automatically keep it organized and copy files to the media folder when adding. It has been this way for years, never a problem.
    Just recently, and I think this may have coincided (but I'm not sure) with a 10.6.5 Snow Leopard update, my music started disappearing! The entries were still in the library, but with the missing exclamation mark in itunes with it reporting that it couldn't find the files. But only certain artists. After searching my computer, I found the missing files it at the same path, but on my boot drive, at /Media1/iTunes/iTunes Music/<missing artist>!
    Trying to add these files back to my library would work briefly, but then they would magically disappear out of /Volumes/Media1/iTunes/iTunes Music and go back to /Media1/iTunes/iTunes Music/
    I figured out the one thing the different artists that had this behavior had in common - some of the ID3 tags for the same artist, which are the basis for organization, were in different cases. I think there is a weird case sensitivity bug that is breaking things. When I add back only those songs for an artist with ID3 tags for the artist of the same case, the behaviour stops.
    I'm posting less looking for an answer and more to raise visibility and hope this gets a fix.
    Example entries from my iTunes Library.xml, notice how the 'k' in OutKast is a different case in the entries.
    <key>Artist</key><string>OutKast</string>
    <key>Location</key><string>file://localhost/Volumes/Media1/iTunes/iTunes%20Music/OutKast/Speakerboxxx,%20Th e%20Love%20Below%20(Disc%202)/13%20Pink%20&%20Blue.mp3</string>
    <key>Artist</key><string>Outkast</string>
    <key>Location</key><string>file://localhost/Volumes/Media1/iTunes/iTunes%20Music/Outkast/Aquemini/12%20Spot tieOttieDopaliscious.mp3</string>

    I'd like to note that I'm experiencing the exact same issue. I'd add to this but petegas4life has it spot on. I'm just replying in hopes this thread gets noticed so the engineers at apple can look into this and hopefully fix it in the next release.
    Reproducing the problem is pretty simple too. Just take one song from an album and change the case of the artist name. You'll see the music move to the boot drive and all of the songs from that artist won't work in itunes anymore. And if you're relying on iTunes to edit the tags, fixing the files is a PAIN because they keep disappearing on you.

  • MIXING ORIGINAL APPLE MEMORY WITH MEMORY FROM ANOTHER MANUFACTURER

    Hi everyone,
    I'm about to hop on the mac train and buy a macbook 2.16GHz( the recent previous black model)
    It's coming with 1GB of memory and I wanted to buy 2GB to add to it. I found a good deal for a OWC 2GB DDR2 PC2-5300 667MHz DIMM(it's one stick of 2GB).
    Is it compatible to mix different memory makes and if so, is it also optimal? Would the optimizing power be the same if I used all the memory from one manufacturer or it makes no difference? Thanks.

    bdkjones wrote:
    As long as the memory is by a major manufacturer (Samsung, Hynix, Micron, etc) it should not matter.
    You do get a slight advantage by using 2 of the same capacity RAM modules. (i.e. 2x1GB chips or 2x2GB chips). In practice, however, this performance gain really isn't noticeable. You have to run a memory benchmark test to see the difference.
    I remember there was this supposed IT guy who claimed that different brands of memory "fight it out". Some of the answers were absolutely hilarious. Seriously, there's nothing that consistent about a single brand of memory. There are always variations, but I wouldn't worry about a thing provided the memory actually meets its published specs. You get variation quality with memory modules that aren't fully-branded by one of the major memory IC manufacturers, but there are some reputable brands out there (OCZ, PNY, Patriot, etc).
    I have an iBook G4 1.42. For two+ years I've been running the permanent Samsung memory with a 1 GB Micron PC2700 module. I've never encountered anything that suggests that there is a problem with it.
    I've also read the Intel specs on what the chipset does with memory sized identically. Apparently it can do that very same thing (memory interleaving) even if the sizes aren't matched. However - it'll only do that for up to the size of the smaller module, and the remainder of the larger module isn't interleaved.

  • Question for those with memory issues on k8n neo plat

    I have been having issues with my memory on the k8n neo platinum board since i built the system last month and i just recently discovered a fact I had overlooked.
    I Have discovered that  if i test the system while it is cool (having sat turned off overnight for example), then memtest will pass the ram just fine and the system will be stable for a short period of time, generally longer if no intensive applications are used, ie. doom3 vs. websurfing).
    This system, once it heats up ( seems mostly to be the nvidia 3 nb that needs to be "hot"- that is, a probe placed in contact with the module reaches about 58+ degrees c) then the system becomes unstable and memtest, if used, fails.
    Prime95, if used on it when its cool, will usually take about an hour or so to fail, but if its used on the system when its been running a bit ( temps from nb at 58c+ and memory module hot to the touch) then it fails after about 20-30 seconds.
    I have placed an active hs on the nb in an attempt to correct this, but temps still remain high with failures occuring.
    I have spent the better part of three days testing the sytem this way and the above facts have held true in all these tests.
    I have  tested at stock ratings ( not using "auto" in bios, but using "approved ratings" of 10 x 200 for fsb and timings of 2-3-3-7 for my ram at 1:1 (which is recommended as well) since i am testing for base stability at this point;Voltages have been left at auto settings, however.
    I was wondering if anyone else with memory issues could try this out and post if this seems to be the case for you as well.
    Perhaps the memory issues on these boards are directly related to a problem with the nvidia 3 chipset running too hot?
    Does anyone have a memory issue with these boards who is using water cooling on the NB ?
     Lack of issues from people using 'problem" memory, but having no failures with water cooled nb's would support my assumption.

    Yes i did mean chipset.  
    I am using a stock hs/fan from amd, which seems to run a tad hot but, considering that I wont overclock until I can get board stable, its not an issue. (runs 35-40 idle and up to 72 intensive). I need the warranty more then the extra mhz at present.
    I removed the stock heatsink from the nvidia chipset and bought a generic chipset cooler (green, very little in the way of fins and seems to be aluminum) with a small fan.
     I used a generic silver paste from Compusa to adhere both the cpu hs and the chipset.
    I didnt lap either hs, just installed each as per instructions on artic silvers website (figured it had to go on the same way even generic).
    I also bought a kingwin thermal center which i ran probes from to the cpu, case, and nb chipset.
     I am not using it to adjust fans so those arent connected - its just a reference temp I can see at a glance, esp considering the funky bios reading this boards been known to give.
    I assume from these responces that even a nvidia 3 250 chipset shouldnt get as hot as mine?
    I asked about that from the retailer i bought this from but he seemed to think it was "ok" at 50ish celcius, but then again he didnt look too confident when he said it, lol.
    Idle right now reads on Corecenter at 28 celcius for cpu and 33 celcius for the chipset, although, I have readings of 37 c and 43 c from the kingwin thermal center, which i believe to be more accurate.
    My voltage reads at 11.67 for the 12v line at idle right now.
    The psu i got is stick from the xblade case i bought in store. (http://www.xoxide.com/xblade2.html)
    I have a dvd burner, cd drive, and two maxtor ide hd's attached to the system;The only card is the agp.
    Is there a way to check and see if the cpu ispower starved? software monitor or even an external probe perhaps?
    I havent put a probe on it, but the ram came in its own heatspreader, which gets very hot to the touch as well.
    What temps should I be looking for on these items?

  • Problem with display tags (not accepting inner tags)

    Hi guys ,
    I am using display tags which is fine but i had a problem with anchor tag and the jsp display tag.
    <display:column title="Row_Id" >
    ' target="-blank" onclick=""><c:out value="${row_rowNum}"/>
    </display:column>
    here i got the exception:
    The value of attribute "href" associated with an element type "a" must not contain the '<' character.
    here if jstl is not used then how to put my value in anchor tag
    please help me.

    Can you use EL directly:
    <a href="example.jsp?id=${row.id"/"></a>

  • Error while running JSP with custom tag

    I am trying to run a jsp with a tag and I am getting the following error when I run the jsp:
    "Unable to open taglibrary /WEB-INF/jsp/mytaglib.tld : Parse Error in the tag library descriptor: External parameter entity "%(DOCTYPE);" has characters after markup."
    I have no idea what this is, can anyone help me here?
    tx
    -AB

    Its difficult to tell without looking at your TLD file i.e. mytaglib.tld
    However, a guess is that you may be refering to an invalid or otherwise corrupted DTD from your TLD.
    Check that out.
    The official DTD for TLDs in JSP 1.1 is http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd
    and the official DTD for TLDs in JSP 1.2 is http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd

  • How to deal with empty tags in a SAX Parser

    Hi,
    I hope someone can help me with the problem I am having!
    Basically, I have written an xml-editor application. When an XML file is selected, I parse the file with a SAX parser and save the start and end locations of all the tags and character data. This enables me to display the xml file with the tags all nicely formatted with pretty colours. Truly it is a Joy To Behold. However, I have a problem with tags in this form:
    <package name="boo"/>
    because the SAX parser treats them like this:
    <package name = boo>
    </package>
    for various complex reasons the latter is unaccetable so my question is: Is there some fiendishly clever method to detect tags of this type as they occur, so that I can treat them accordingly?
    Thanks,
    Chris

    I have spent some time on googling for code doing this, but found nothing better, than I had to write in by myself.
    So, it would be something like this. Enjoy :)
    package comd;
    import org.xml.sax.helpers.DefaultHandler;
    import org.xml.sax.SAXException;
    import org.xml.sax.Attributes;
    import java.util.Stack;
    import java.util.Enumeration;
    public class EmptyTagsHandler extends DefaultHandler {
         private StringBuilder xmlBuilder;
         private Stack<XmlElement> elementStack;
         private String processedXml;
         private class XmlElement{
              private String name;
              private boolean isEmpty = true;
              public XmlElement(String name) {
                   this.name = name;
              public void setNotEmpty(){
                   isEmpty = false;
         public EmptyTagsHandler(){
              xmlBuilder = new StringBuilder();
              elementStack = new Stack();
         private String getElementXPath(){
              StringBuilder builder = new StringBuilder();
              for (Enumeration en=elementStack.elements();en.hasMoreElements();){
                   builder.append(en.nextElement());
                   builder.append("/");
              return builder.toString();
         public String getXml(){
              return processedXml;
         public void startDocument() throws SAXException {
              xmlBuilder = new StringBuilder();
              elementStack.clear();
              processedXml = null;
         public void endDocument() throws SAXException {
              processedXml = xmlBuilder.toString();
         public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
              if (!elementStack.empty()) {
                   XmlElement elem = elementStack.peek();
                   elem.setNotEmpty();
              xmlBuilder.append("<");
              xmlBuilder.append(qName);
              for (int i=0; i<attributes.getLength();i++){
                   xmlBuilder.append(" ");
                   xmlBuilder.append(attributes.getQName(i));
                   xmlBuilder.append("=");
                   xmlBuilder.append(attributes.getValue(i));
              xmlBuilder.append(">");
              elementStack.push(new XmlElement(qName));
         public void endElement(String uri, String localName, String qName) throws SAXException {
              XmlElement elem = elementStack.peek();
              if (elem.isEmpty) {
                   xmlBuilder.insert(xmlBuilder.length()-1, "/");
              } else {
                   xmlBuilder.append("</");
                   xmlBuilder.append(qName);
                   xmlBuilder.append(">");
              elementStack.pop();
         public void characters(char ch[], int start, int length) throws SAXException {
              if (!elementStack.empty()) {
                   XmlElement elem = elementStack.peek();
                   elem.setNotEmpty();
              String str = new String(ch, start, length);
              xmlBuilder.append(str);
         public void ignorableWhitespace(char ch[], int start, int length) throws SAXException {
              String str = new String(ch, start, length);
              xmlBuilder.append(str);
    }

  • I have a mac computer 3.2 Ghz intel core i3   with memory 4GB 1333 MHz DDR3,  I have recently purchased an new macbook and have yosemite software and iCloud .  I can no longer us my mac to open up recent numbers documents from my macbook.  I am unabl

    I have a mac computer 3.2 Ghz intel core i3   with memory 4GB 1333 MHz DDR3,  I have recently purchased an new macbook and have yosemite software and iCloud .  I can no longer us my mac to open up recent numbers documents from my macbook.  I am unable to upgrade to allow me to get the current numbers version on my mac. What do I need to do to get all my machines woking in harmony again

    On each machine turn on iCloud and sync all the available apps. Apple explains how to set up iCloud in http://www.apple.com/icloud/setup/
    After doing this run software update on each machine and install all the suggested updates. If you still need help installing the most up-to-date versions of iLife and iWorks open the Mac App Store - click the Purchased tab and update all that need to be updated.

  • What is the best way to deal with memory leak issue in sql server 2008 R2

    What is the best way to deal with memory leak issue in sql server 2008 R2.

    What is the best way to deal with memory leak issue in sql server 2008 R2.
    I have heard of memory leak in OS that too because of some external application or rouge drivers SQL server 2008 R2 if patched to latest SP and CU ( may be if required) does not leaks memory.
    Are you in opinion that since SQL is taking lot of memory and then not releasing it is a memory leak.If so this is not a memory leak but default behavior .You need to set proper value for max server memory in sp_configure to limit buffer pool usage.However
    sql can take more memory from outside buffer pool if linked server ,CLR,extended stored procs XML are heavily utilized
    Any specific issue you are facing
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

Maybe you are looking for

  • Empty Report when field Value is a multiplier of 256

    Good morning from South-Tyrol, Italy! I got a strange behavior of Crystal Reports XI R2 SP5: two tables are combined with an Left Inner Join through an long integer field (the number of the header record of a document and the singles lines of the sam

  • Java.beans.Statement & java.sql.Statement

    My old code from jdk1.3.1 throws the ambiguous class thingie-mo-bob. Why did they implement the new java.beans.Statement, and is there anyway to make it default to the old java.sql.Statement without having to go through all the old code and add impor

  • IPhone 5s and MacBook Pro mid 2012 Bluetooth

    Hi, I was wondering if there is anyone who would offer any help to the issue I'm facing. I'm an owner of the following devices: iPhone 5s running iOS 8.0.2 MacBook Pro mid 2012 running Yosemite I tried connecting/pairing both devices via Bluetooth to

  • MetaTrader 4 does not install on Build 9926

    Hello, MetaTrader 4 does not install on Build 9926 how can I fix it? Best, Max

  • ITunes not finding Apple TV

    Hi, I have a new MacBook Pro, Time Capsule and Apple TV, network is operating fine, Apple TV is on the network (movies, youtube etc all work), however iTunes will not find the Apple TV unit? I have googled many responses on this and reset both the ne