URGENT DSC: I can write to the shared variable but can NOT read?

Hi all

I use DSC to communicate with an automaton of DVP28SV DELTA. I managed to write to a coil to turn on a fan, and I have also written in a register.

However, when I tried to read the spool (spool the same I just turned on) or when I tried to read a record that I'm very sure that has values registry where I configure the parameters of modbus, it would return to ZERO, even when I tried to read the registry I just write in the answer was zero (I do not know the entry in the registry was successful because I did the specific value that) I wrote to the registry a condition to turn on a light).

So, anyone know why this might be happening? the registers are read/write. I thought it might be time to scanning in the controller is too short, so I added delays, but everything I read always gives zero return. ideas? can someone help me with this?

Here's the manual for registration of corporations, in the case where it is important: http://www.delta.com.tw/product/em/control/plc/download/manual/DVP-PLC-Program_O_EN_20120416.pdf

In fact I solved this in time ^^ in the case where someone faced the same question and get zeros in the response, which has worked for me exchange of programming (by clicking with the right button on the shared in my VI variable).  Why it works? no idea. but variables starting to give me the correct values.

Tags: NI Software

Similar Questions

  • How can I dynamically select the shared Variable API programming data type?

    I am trying to create a configuration of open connections of variable shared using the programming API. It seems to me that the cleanest way to do would be to put one "open and check" routine in a loop, then call it for each variable in the library.

    The question that I am running is that I have different types of data in my library (to help a server Modbus i/o and data types 'boolean' and 'single' in my library.) How can I dynamically select the data type of the shared variable API?

    See the attached snipit.

    Thank you

    What I ended up doing was doing a Subvi to open, read, write, and close each data type, I use the packaged in 4 polymorphic SubVIs (polymorphic Open, read, etc...)

    Now all I have to do I drop in the polymorphic Subvi and it switches automatically to the appropriate data type

  • Can I send value cluster through the shared variable?

    Hi every1,

    I want to send a cluster through the shared variable. While creating a shared variable, there are options to choose the type of data, but there is no option to Cluster.

    But there is an option of "custom control". How to use it?

    Hi, Germain,.

    Create your control and save it as a file on your disk *.ctl. If you use the "custom control" option, and then select your control. If this does not work for your control, you can use the function 'flatten in string' to send a string.

    Mike

  • my dvd burner can not read the cd/DVD, but it can write the DVD. Any help would be appreciated.

    my dvd burner can not read the cd/DVD drive, even when I put the dvd bootable windows it does not read, but it can write DVD. Any help would be appreciated.

    Hi shaikhsabir,

    Fix It at this link should solve the problem of not being able to read CD/DVD.

    Let us know if that helps.

  • TPC-2012 cannot read the shared variable

    Hello

    I have a TPC-2012 and can not read variables shared with him. I welcomed the shared on a cRio-controller Variable. On another PC, the variable is read correctly, but not on the tpc-2012. What can I do? No error message is displayed on the TPC-2012 (Windows CE 5). The PTC can not write values in a shared Variable.

    Thank you

    Christian

    What LabVEIW Touch Panel version do you use? I don't know why static variables do not work correctly on your device. TPC-2012 comes with support preinstalled for shared variables, and it would be possible that it has been deleted or corrupted. Here are some steps you can follow:

    Install the Support of shared Variables
    How do we install the Support of Variables shared on the TPC-2012?

  • Pass a reference to the shared variable

    I use two shared variables in a loop where I write one and read each other.  I need to repeat this loop 5 times, but each loop uses a different pair of shared variables.  These variables are shared between a vi on the computer and a cRio.

    It would be ideal to incorporate this loop into a Subvi where I can pass a reference to the two shared variables in and then read and write in threw these references.  Then I could just call this Subvi 5 times, instead of copying and pasting the loop 5 times.

    Is it possible that I can accomplish this?  I can't find an example that would achieve this.

    Thank you

    If I understand correctly, you can use the mode programmatic access to shared Variables and it would work.

    http://zone.NI.com/reference/en-XX/help/371361H-01/lvconcepts/sv_usingdynvarapi/

    http://zone.NI.com/reference/en-XX/help/371361G-01/lvconcepts/usingdynvarapi/

  • TB 31.5.0 Win 7 after the TAB key for the automatic update no longer creates new address line "write" (enter the done key) but I want the TAB key! Why this keep happening after

    TB 31.5.0 Win 7 after the TAB key for the automatic update no longer creates new address line "write" (enter the done key) but I want the TAB key! Why is - this seems to happen after each automatic update? Cant we get 'option' to use the TAB key to navigate through the lines of address "write"?

    TAB through the fields that exist. It is the function of the TAB.

    Otherwise you could never use TAB to go out in a field for example: subject. It would create an indefinate number of fields and are unable to function as a TAB key.

    TAB does not back to THE fields,
    New crests to THE fields or donkey typing/selection enter/return address, you can use the selection of mouse click.

  • new variable networked shared in my computer, but not in the shared variable engine list

    I have a Variables.lvlib shared on a cRIO target and test algorithms when I don't have access to material cRIO. Thought I could do a new project, add the library to the windows target (workstation). I need to add a few additional variables, I did in the original (i.e., while the library was the target in real time). Then create a new project and added the lvlib to the project (under my computer), and then wrote a VI to write in these SVs. When I let fall a constant Variable Refnum shared on the block diagram and browse for objects variables under 'Variable' Motors > ni.var.psp > localhost > shared Variables, list of variables shows everything except the 6 new variables. When I switch the view 'Current project', I get the same variables for new list WITH THE 6. However if I select the variables in the list and run the VI I get an error-1950679035 impossible to locate the variable in the shared Variable engine. Of course, I forgot something, anyone out there set me straight?

    Thanks for your time - lmd2

    Hello Lawrence,.

    Looks like you'll have to maybe just to deploy the new variables - refer to this document:

    LabVIEW Help: Making static Variables available on a network

    http://zone.NI.com/reference/en-XX/help/371361K-01/lvconcepts/sv_deploying/

    Hope that helps!

  • Support of the shared Variables in the third part XP embedded based of PTC?

    I sent a request in an embedded XP touch function (third party). The application works very well, but hosted on a RT (sbRIO Board) shared variables are not getting updated in the app on PTC

    1. the PTC is part of the project as a Windows XP Embedded Touch Panel

    2 NI TPC Service has been installed on the PTC and the application can be deployed remotely from the PC development via ethernet. (Where network connections and communications are OK)

    3. using distributed in the development computer systems manager, I can see that the shared variables are getting updates on the network

    I think that the problem can be solved if the following programs are installed on the TPC

    A. Support for variables that are shared for XPembedded

    B. shared Variable engine

    I tried to install the support of variables shared Program Files > National Instruments > Labview 8.6 > PDA > utilities > Variables > x 86 - but I get an installation error "cannot find the application for the Pocket PC applications Manager.

    Shared variable engine was installed from the ve220 folder. The program is installing. But the engine Variable is not start Control Panel > administrative tools > Services, Xpe, the service is stopped and cannot be started. When I try to start the service, I get the following error on PTC

    "Cannot start Service engine of National Instruments Variable on the local computer."

    Error 1053. Service has failed to demand launch or timely control.

    Please suggest solutions to the addresses above or another of the following:

    1. support of variables shared for XP built-in PTC

    2 Installer engine Variable shared.

    Thank you

    Krish

    Problem solved!

    Update for interested people working on XP Embedded PTC

    Just to ensure that shared Variables were indeed accessible to the TPC, I wanted to install Distributed Systems Manager 8.6 on the TPC. However given that the TPC was only 1 GB of DOM (disk on memory) and with all the software that I had tried, there remained only a few megabytes on the system. I had to add an another DOM of 2 GB.

    All products in the Installation went well, with the exception of the Logos NOR (Version 5.0). Logos OR installation has failed repeatedly.  I tried to install NI Logos separately, with the same results. Then I had this intuition that NI Logos had anything to do with the question.

    Then, I downloaded the new version of NI DSM 2009 SP1. Even if it were to settle on any fresh system without Labview, the installation would not proceed beyond the stage of configuration. I tried to install NI Logos of the folder on the download of new products separately and it worked magically!

    Once the new Logos (Ver 5.5) installed, the Shared Variable engine starts automatically and the shared Variables are finally unleashed - free stand up and shine! I thank Almighty God!

    On the lighter side, come to think of it - to run an application about 400 KB, we need NEITHER of Run Time, XP embedded, DSM, Logos...  (around 900 MB). Can make us everything simpler?  Invite your comments...

    Thank you

    Krish

  • What is the blue thing in the shared variable?

    I'm going thorough a code that has the huge set of shared variables and in some nodes, I find a blue color of brand/thing left bottom just worldwide as shown below.  What this indicates?

    Thank you

    Ajay

    I found the answers of my team member.  The blue mark indicates in fact a point and a slash ". ------"which means relative sharing Variable target."  If the shared Variable is absolute, this indication does not appear.  To learn more about the difference between shared variable absolute and Relative target, check it out here.  A Shared variable node can be established between absolute and relative assistance

    Menu popup (right click the node)-> reference mode.

    Thank you

    Ajay.

  • Publish a queue using the shared variable

    I have a 2D table queue and I would like to publish (the reference) in a shared variable, so that I can pay the items in the queue in an another vi. I tried to create a queue control and used the custom of the shared variable control option, but it gives me an error "invalid data type.

    You try to read from the queue to another computer? Passing the reference to the queue on the network to a another computer will not allow the application to read data from the queue. The queue data is stored only locally.

    I honestly don't know why you get an error trying, however. Other options to access a queue in the world on the same machine are to use a Global Variable, rather than a shared Variable, or to get your reference queue by using a well-known name who know the other parties of the request.

  • Can not read the CD on Windows Media Player

    Can not read the CD on W Media Player, recorded on the normal cd/dvd TV player

    Hello

    • What is the format of the file you are trying to play?
    • What happen when you try to play a CD/DVD?
    • You receive an error message?
    • If it works much earlier?
    • What were the changes made before the show?
    • Have you tried to play CD/DVD on another computer?
     
    You can check these links:
     
     
     
    Response with more information.
  • Re: Satellite P500 of USA - can not read the local DVD

    Hello

    Sorry to appear such a luddite acquired but this laptop great USA from eBay.
    User manual appears to indicate that the player is going to adapt to the locality of the drives I want to play.

    Not had any luck with playback at all to this day, the error message 'not compatible' etc., any guy of suggestions?

    See you soon,.
    Michael

    Hi mate

    I think that the portable player s (optical disc) DVD region is set in the United States and therefore you can not read the DVD released for the European market.

    To resolve this problem, you must change the option of DVD region 2 region.

    My computer-> drive CD / DVD-> properties-> Hardware tab-> choose the CD drive / DVD-> properties-> DVD region

    Notes; You can change this settings ONLY 4 times. After that the parameters is no longer editable.

  • I can not read the mail or cannot send mail can help me

    Hello

    I have account hotmail for 12 years, I don't have to face the problem like this. when I connect to my e-mail hotmail id it will open a session and I can not read the mail or I Unable to send mail or I can't delete the mail. pls tell me what to do a possible side help you pls tell me

    Hi romain kumar_803,.

    Thanks for posting your question in the Microsoft answers Forum. Your question it will be better answered in Forum Windows Live Hotmail. Please repost your question here.

  • Computer to read DVD - one message says that I can not read the DVD, except that I have installed a new driver.

    I have a new Toshiba C650 laptop, and he says that I can not read the dvd on it except that I have installed a new driver. Is this true?

    Hi Bill,

    To be honest, this sounds ridiculous but if you get a message, I suppose it could be possible even if I find it incredible.  Do you have it in a (local or online) retail store or Toshiba?  By any chance did you upgrade from the DVD player when buying (where they may have accidentally neglected to update the drivers of the drive that was originally installed)?

    As it is new, Toshiba should help you with this.  Here's the contact page: http://www.csd.toshiba.com/cgi-bin/tais/support/jsp/navShell.jsp?cf=su_contact&pf=true.  Give them everything they need to prove that buy you it and it should be under warranty and then give them the message Word for Word, that you have found.  They should be able to help you.  They can, for some reason I don't know, you don't need to help or guide you through a new driver installation.  I ask for a clear explanation of why this is necessary on a new computer and, if you are not satisfied with the response, ask them to consider that all the faulty computer and replace it.  Even if they won't, he needs the get them less motivated to solve your problem.

    I hope this helps.

    Good luck!

Maybe you are looking for

  • How to attach a FILE to an e-mail.

    I need to send FILES from time to time. Mail clients usually do not support this. Google Drive will be, but they indicate that Firefox requires an application. I get the message using Google Drive to download a FOLDER- "Your browser does not support

  • What is the maximum bookmarks? Some previous ones have disappeared?

    A group of bookmarks, I had some time ago seem to have disappeared.I wonder if there is not a maximum, and also a time limit, that is to say if bookmarks have not served for some time, they are automatically deleted?

  • HP Mini 1101

    Hi, I have a system error with my HP Mini 1101. [number of Series edited by Moderator]

  • 0xc000000f, Windows cannot load the NLS being missing or corrupt data.

    Hello I tried to install a Japanese game on my PC, and I had to change the system locale to Japan (in Japanese). However, after the reboot, I get this error: Windows error recovery Windows could not start. A recent hardware or software change might b

  • PSC 2410 photosmart all-in-one PROBLEM

    Hello, hoping someone can help me with this... I have a problem with my printer (psc 2410 all in one) During a simple formulation document printing, the printer ran out of paper and could not continue printing paper had been completed. I checked for