Dsc opc problem

Hi!
Im trying to connect Labview to Siemens S7-200 with PC-Access OPC server. I tried to use IO Serer and connect it to PCAccess, to PLC. Then I tried to connect it with datasocket to PC Access, and both times i had the same problem. Communication was too slow. For example, when i changed some value in labview, opc server reached that value in 5 seconds. How can i solve this problem?
Thanks

This problem could be because either the scan rate from the PC-access OPC server is too slow, the client program is reading data too slow, or both.
Are you using Shared Variables or Datasocket?
Have you checked the Tag properties on the OPC server? There should be a scan rate from the PC-access OPC server and you can set that rate.
Also, you can check in the tag or variable manager how fast the data is updating.
Regards,
Juan Galindo
Applications Engineer
National Instruments

Similar Messages

  • How to use DSC & OPC with mitsubishi PLC FX2N

    Hi I have  PLC of Mitsubishi FX2N /FX3U
    Communication board is FX 232 BD.
    Data register in PLC  D8120  For serial communication.I want to use this type of PLC with DSC & OPC 8.5 version but, I am not able to communicate this PLC with DSC as I want to use this to control hydraulic test stands.Also guide how I can use DSC for data acquisitions.Support india is trying this from last 2-3 weeks still they are not able to slove the problem so kindly help asap.
    Regards
    Nitin Badgujar.

    Labview application to Mitsubishi PLC communications, No Mitsubishi PLC OPC Server to communications.all the labview vi write....
    We are finish it
    see at
    http://www.abb-furnace.com/scada-system/labview-mitsubishi-fx2n-plc.html
    [email protected]
    [email protected]
    ==============================================
    Labview Applications Engineering
    Labview SCADA/HMI Systems
    Labview AB Rockwell PLC, Omron PLC,Mitsubishi PLC,Siemens PLC,Fatek PLC,Delta PLC
    Labview Vision, Vision Builder
    Labview Profibus,EtherNet/IP,EtherCAT,DeviceNet,Canopen
    http://www.abb-furnace.com/scada-system/scada-system.html
    ==============================================

  • Probleme LabVIEW - module DSC / OPC

    Bonjour,
    j'utilise LabVIEW 2010 avec son module DSC.
    Et je souhaite accéder à des variables OPC en Lecture et Ecriture depuis une application labVIEW.
    Le serveur OPC que j'utilise fonctionne correctement (j'ai également fait le test avec le serveur de NI, mais le resultat est identique). Je peux lire et ecrire des variables avec 'OPC Quick Client'
    J'ai configuré la connexion DCOM avec une "identité" : 'Utilisateur interactif'
    Cependant depuis le projet LabVIEW, la creation des variables partagees ne fonctionne pas (Create Bound Variables) (cf. piece jointe)
    J'ai suivi la note : Connect to Any PLC using OPC (lien : http://zone.ni.com/devzone/cda/tut/p/id/7450)
    ? Est-ce que quelqu'un a deja rencontré ce probleme et surtout trouvé une solution ?!?!?!???
    Dans l'attente et en vous remerciant d'avance pour votre aide
    <Nicolas>
    Attachments:
    CreateBoundVariables.JPG ‏40 KB

    Hello,
    J’ai trouvé une solution mais est-ce la bonne ?!? en tout cas, elle fonctionne.
    J’ai préalablement ‘configuré’ le gestionnaire de système distribué (accessible à partir du menu : Tools \ Distributed System Manager) :
    - Je crée/J'ajoute un nouveau Processus à "Mes systèmes \ local Host \" , nommé OPC (avec les paramètres par défaut)
    - J’ajoute à ce processus un serveur d’E/S
    - Je configure ce serveur pour qu’il accède à mon serveur OPC avec les paramètres qui vont bien.
    - Et j’accède aux Items …
    ( Ce processus apparaît également sur les éléments du réseau )
    - J’enregistre tout ça... je ferme ... et je reviens au projet
    Donc ensuite, depuis le projet, je suis la procédure Connect to Any PLC using OPC
    (lien : http://zone.ni.com/devzone/cda/tut/p/id/7450
    Il faut alors juste préciser dans la fenêtre de configuration "Create Bound Variables" :
              Browse source = Network Items
    Et ensuite je peux sélectionner des variables partagées, (des items de mon serveur OPC) en naviguant dans son arborescence.
    La note de Thomas B. décrite ci dessus fonctionne très bien, mais nécessite également (dans mon cas) la configuration du gestionnaire de système distribué.
    <NBA>

  • LabView DSC + OPC Servers + Windows 2003 server

    I just want to suggest this guide from Matrikon to the ones that are going to deal with DSC labview modules, OPC servers and windows 2003 server (Win 2003 is not officially supported by NI).
    Appling this configurations I solved some problems I was having with my application.
    gianpiero

    Here are the updated links:
    pdf MatrikonOPC: DCOM for Windows 2000 and NT
    pdf MatrikonOPC: DCOM for Windows XP SP1 and 2003 (base)
    pdf MatrikonOPC: DCOM for Windows XP SP2 and 2003 SP1
    Misha

  • Dsc opc shared variables yields Server Failure

    I've been struggling with the transition from DSC 7.1 to 8+ ever since the release of version 8. I use the Allen Bradley OPC server supplied with the DSC module (Industrial Automation OPC Servers v 5.1) to communicate with a PLC 5/30 via Ethernet, or at least I did when I was using 7.1.
    Prior to today I always failed to get the shared variables that were bound to addresses in the OPC server to deploy, usually getting an error number that started with -19. However today I finally got it to deploy by keeping the I/O server and the shared variables in separate libraries within my project. Now that they deploy I find that I am unable to monitor them. I keep getting a Server Failure. I have browsed the forums here heavily, and the documentation all relates to remote OPC, which is not what I'm doing here (OPC client and server are on the same machine). I tried changing the login account for the Variable Engine service anyway, but that doesn't help, so I put it back.
    I have had some luck simply binding my front panel objects to the OPC server addresses using Datasockets, so it appears that my OPC server is working. However, Datasockets is not a viable option for me because there are times when my project needs to write to a large number of addresses in the PLC sequentially, which never works over datasockets (in my experience).
    We have continued to work in version 7.1 because of the challenges of moving to 8+, but since we can no longer purchase DSC runtime licenses for version 7.1 in order to deploy, it seems that we MUST move forward to 8+ or abandon LabVIEW altogether (which is certainly an option).
    For clarification, I am now working with version 8.2 (but I've been fighting with it since 8.0 without much success). If anybody out there can think of a critical step that I might have missed that might cause this, or if there is a known solution, I could really use (and would greatly appreciate) the help. Thanks!

    Nobody out there seems to have any answers for this, so I kept pounding on it (and pulling my hair out). In the end I finally succeeded in getting one of my old 7.1 DSC projects to run on 8.2. Here's what I did:
    1. I begin with a fresh installation of Windows. I tested it with both 2000 and XP Pro. Vista RC1 will absolutely NOT work!
    2. Install LabVIEW 8.2, DSC 8.2, and just the OPC server that I need from the IA OPC CD (in my case the Allen Bradley server)
    3. Open the IA OPC server editor, and create a new file with an object in it for my PLC (PLC 5/30, Ethernet in my case)
    4. Save, set it as the startup file
    5. Run LabVIEW, create an empty project
    6. Add an IO server
    7. Launch Multi Variable Editor, load project file created in step 6, and bind one variable to PLC address
    8. Save all. Uncheck auto deploy for the library, and deploy all.
    9. Launch variable monitor, browse to new variable, double click to monitor.
    10. This will ALWAYS fail with "server failure". Don't worry, just exit completely out of LabVIEW.
    11. Stop the Variable Engine service.
    12. Run OPC server editor again, and load up the lpd file from your old project. Modify if needed, save, and set as startup
    13. Start the Variable Engine service again.
    14. Launch LabVIEW
    15. Create a new empty project (I created mine in the same directory as my old 7.1 project resided)
    16. Add an IO server, and uncheck auto deploy for its library
    17. Save all
    18. Run Tools->DSC->Migrate->import scf
    19. Convert your old SCF file
    20. Add the new library to your project (it will be named LabVIEW)
    21. Uncheck auto deploy for the "LabVIEW" library you just added
    22. Right click on the "LabVIEW" library and do deploy all
    23. Save, and open the variable monitor
    24. Browse to a tag in the LabVIEW library, and double click
    25. This time it will actually monitor the variable, with a status of "Good"
    26. Now you can add your main front panel VI to your project, open it and run it
    27. Version 8.2 will select the proper legacy tag read/write VI's, whereas 8.0 does not. The writes however do not work. Replace them with shared variable writes. The reads work fine.
    28. The empty project that you created in step 5 is a throw away. It will never work anyway.
    29. So far the only variables that I can get to work at all are the ones that I import from an scf file, which is a pain, but if I must create all my tags in 7.1 and import them into 8.2 I will (for now). I may try exporting to Excel and copying variables that work in order to get functional new variables, since binding them in the editor does not work.
    I hope this helps anybody else out there struggling with moving to 8+ DSC. I saw a few posts with similar issues, but without ANY answers at all. It's a convoluted solution that doesn't make a lot of sense, but for me it is repeatable.

  • DSC - OPC Connection - Can't read or write to tags

    I am working on controlling some motors over an OPC server.
    The PLC is an M258, and the OPC server is CoDeSyS OPC DA.
    When I use MatrikonExplorer, I can read the value of tags, and change their values as needed.
    Using an evaluation version of NI OPC client, I could see the tags, but their value was marked as "unknown" with bad quality. In their properties, the value of the tags is given as "BAD VARTYPE".
    I used DSC to add the codesys server to a library and imported all the relevant variables. When I try to read them in a VI, they give me error code: -1950679034, so that they have no value. And when I try to change a value, I can see that the value never changes.
    I would greatly appreciate any help you can provide.

    http://www.ni.com/white-paper/6417/en/
    Codesys isn't listed as a supported OPC Server.

  • Lookout opc problems

    I am using Lookout 6.0.2 on a new Win XP desktop.  The Lookout OPC client object is used for communications via Rockwell Software RSLinx's (Professional Rev 2.43.01.23) OPC server to ControlLogix PLC's over ethernet.  In other words, the Lookout communicates with RSLinx by OPC, and the RSLinx communicates with PLC's by ControlNet.
    We have 3 Lookout processes, one which is the "server" process, and contains the OPC Client object. The other 2 process files are "client" processes, and reference the OPC Client object  by symbolic link.
    We have many Lookout switches in the "client" processes, that are remoted to a tag in the ControlLogix PLC using symbolic link. A typical link for a remoted switch is:
    ..\..\[Link_to_Drivers]\OPCclient1.PLC_12.Online.SWITCH_TAGNAME
    OR   IF USING ABSOLUTE REFERENCE:   \\ComputerName\ProcessName\[Link_to_Drivers]\OPCclient1.PLC_12.Online.SWITCH_TAGNAME
    In this  way, the Lookout switch object has a read/write link. 
    The problem is this:  Periodically the write link will stop working.  When this happens, all the Lookout switches and even the Lookout pots will lose ability to write to PLC, but the read links are still working. We can read the data and the switch positions, but the changing setpoints with the pots and operating equipment with the switches is then impossible.  This "lock up" can be fixed by closing down all the Lookout processes (but not Lookout), and then restarting the Lookout processes. 
    This problem is intermittant and not repeatable.  Does anyone have idea how to troubleshoot this problem, or have an way to isolate and fix this problem?

    doug:
    You may want to repost in the Lookout board:
    http://forums.ni.com/ni/board?board.id=190
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Datasocket - OPC Problem

    Hello
    I have a problem with Datasocket, when I try to read from the "NI OPC Servers", I can't. But, if I execute the program with the option "Highlight Execution", there are not problems. I've already tried to put a "Wait" between readings, but the problem doesn't disappear.
    Thanks for your comments
    Solved!
    Go to Solution.

    Thanks NitinD and billko for your answers.
    I've already solve the problem, i'll try to explain it (excuse my English please).
    Before, I put "DataSocket Open", "DataSocket Read" and "DataSocket Close" in the same loop iteration, without time between open the connection and read from the OPC Server. This made than the result of the reading was '0' all the time. Here we can see a screenshot:
    To solve this, I've separated the "DataSocket Open", the "DataSocket Read" and the "DataSocket Close" in three diferents loops, and I've added a wait in the first loop:
    No problems now, I think there wasn't enough time between open the connection and read from the OPC Server. 
    Regards

  • DSC Pull Problem

    I have setup a DSC Pull server and a few client to connect.  The problem is on the clients the config does not pull down and I get the following in the event viewer on all the clients.  If I manually copy the config to a client everything works
    fine until I update the config on the Pull server then the errors start again.  Am I missing some permissions somewhere?
    4110 - Successfully got the action GetConfiguration from pull server using Download Manager WebDownloadManager.
    4194 - Failed to delete the current configuration file
    4105 - Attempting to get the configuration from pull server using Download Manager WebDownloadManager.Configuration Id is e785307e-61a2-419b-8e07-2178295326d9.
    4210 - Attempting to get the configuration e785307e-61a2-419b-8e07-2178295326d9 from pull server with Server Url http://SERVER:8080/PSDSCPullServer.svc using Web Download Manager.
    4226 - WebDownloadManager for configuration e785307e-61a2-419b-8e07-2178295326d9 Get-DscDocument command, GET Url: PSDSCPullServer.svc/Action(ConfigurationId='e785307e-61a2-419b-8e07-2178295326d9')/ConfigurationContent
    4104 - This event indicates that failure happens when LCM is trying to get the configuration from pull server using download manager WebDownloadManager. ErrorId is 0x1. ErrorDetail is A generic exception occured during the invocation of the Get-DSCDocument
    cmdlet by Download Manager WebDownloadManager.
    PS C :\WINDOWS\systen32> Get-DscLocalConfigurationManager
    AllowModuleOverwrite : True
    CertificatelD :
    ConfigurationID : e785 307e-61a2-419b-8e07--2178295 326d9
    ConfigurationMode : ApplyAndAutoCorrect
    ConfigurationModeFrequencyMins : 30
    Credential :
    DownloadManagerCustonData : {MSFT_KeyValuePair (key = “ServerUrl”), MSFL.KeyValuePair (key =
    “AllowUnsecureConnection”) }
    DownloadManagerName : WebDownloadManager
    RebootNodelfNeeded : False
    RefreshFrequencyMins : 30
    RefreshMode : Pull
    Thanks for any assistance.

    More log:
    #Software: Microsoft Internet Information Services 8.5
    #Version: 1.0
    #Date: 2015-05-01 10:37:55
    #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
    2015-05-01 10:37:55 fe80::4c44:15cc:9bc6:1455%12 POST /PSDSCPullServer.svc/Action(ConfigurationId='4a90d746-d78e-45e0-9d5d-ca6cac7c0e9b')/GetAction - 8080 PSDSCUser fe80::4c44:15cc:9bc6:1455%12 - - 200 0 0 15
    2015-05-01 10:39:10 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='e785307e-61a2-419b-8e07-2178295326d9')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
    2015-05-01 10:40:59 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='7b8d8905-ee40-440c-b20f-4036fcf073a5')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 78
    2015-05-01 10:40:59 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='7b8d8905-ee40-440c-b20f-4036fcf073a5')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 93
    2015-05-01 10:44:45 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='67da0c37-24fc-4c3f-bc25-ee81aba879e5')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 15
    2015-05-01 10:44:45 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='67da0c37-24fc-4c3f-bc25-ee81aba879e5')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
    2015-05-01 10:49:38 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='c8cd8e64-9d55-43a2-9d32-948be8a99003')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
    2015-05-01 10:49:38 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='c8cd8e64-9d55-43a2-9d32-948be8a99003')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 15
    2015-05-01 10:51:32 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='1d66b01b-0768-4cd0-a639-92c386bc86af')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
    2015-05-01 10:51:32 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='1d66b01b-0768-4cd0-a639-92c386bc86af')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 31
    #Software: Microsoft Internet Information Services 8.5
    #Version: 1.0
    #Date: 2015-05-01 11:10:14
    #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
    2015-05-01 11:10:14 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='e785307e-61a2-419b-8e07-2178295326d9')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 15
    2015-05-01 11:11:54 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='7b8d8905-ee40-440c-b20f-4036fcf073a5')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 93
    2015-05-01 11:11:54 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='7b8d8905-ee40-440c-b20f-4036fcf073a5')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 31
    2015-05-01 11:19:34 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='c8cd8e64-9d55-43a2-9d32-948be8a99003')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 15
    2015-05-01 11:19:34 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='c8cd8e64-9d55-43a2-9d32-948be8a99003')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
    2015-05-01 11:21:34 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='1d66b01b-0768-4cd0-a639-92c386bc86af')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
    2015-05-01 11:21:34 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='1d66b01b-0768-4cd0-a639-92c386bc86af')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
    #Software: Microsoft Internet Information Services 8.5
    #Version: 1.0
    #Date: 2015-05-01 11:41:21
    #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
    2015-05-01 11:41:21 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='7b8d8905-ee40-440c-b20f-4036fcf073a5')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 78
    2015-05-01 11:41:21 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='7b8d8905-ee40-440c-b20f-4036fcf073a5')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 93
    2015-05-01 11:44:18 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='67da0c37-24fc-4c3f-bc25-ee81aba879e5')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 15
    2015-05-01 11:44:18 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='67da0c37-24fc-4c3f-bc25-ee81aba879e5')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
    2015-05-01 11:47:48 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='c8cd8e64-9d55-43a2-9d32-948be8a99003')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 15
    2015-05-01 11:47:48 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='c8cd8e64-9d55-43a2-9d32-948be8a99003')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 15
    2015-05-01 11:50:15 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='1d66b01b-0768-4cd0-a639-92c386bc86af')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
    2015-05-01 11:50:15 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='1d66b01b-0768-4cd0-a639-92c386bc86af')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 31

  • LabVIEW DSC installation problems

    Hello,
    I'm trying to install LabVIEW DSC 6.1 but when I launch setup.exe file this message pops up:
    "Unable to load ini file. Windows Error 1157"
    I have Labview 6.1 installed and my OS is Windows 2000 with Service Pack 4.
    Any feedback will be wellcome.
    Thanks in advance.
    Jose.

    Hello Jose,
    I haven't ran into that issue and I'm not sure about its cause and solution, but here are some ideas on what you could try/check (they are separate ideas, not a sequence of steps):
    -Login as administrator to install the software
    -Make sure your PC has enough memory and free space on the HD
    -Copy the content of the CD to the HD, and run the installer from there
    -Modern installers have setup.exe and setup.msi launchers, try to execute the .msi instead of the .exe
    -Reinstall LabVIEW 6.1 and then DSC (before that, make a backup of any custom vi's/files that may be overwritten/removed, and then uninstall LabVIEW from Control Panel->Add/Remove Programs ..Agregar y quitar programas))
    If none of these helps, let me know.
    Regards,
    JorgeM.

  • Nipalsm ans OPC problems

    I have just taken delivery of a cFP-180 network interface and after installing the software, the PC reports an NIPALSM.EXE application error on start up. Also, when I try to run the National Inst Server Explorer it too crashes. I can however read from the cFP-180 using MAX.
    I have uninstalled and re-installed the software and it is the same.
    nipalsm.exe is Ver 1.15.39.3.0
    nipximu.dll is Ver 1.0.0.49153
    I am using Windows XP
    Any ideas what could be wrong?

    Thanks for your reply (and your patience), it is much appreciated. The Keithley driver is available from:
    http://www.keithley.com/support/data?asset=50494
    The release notes for the above (http://www.keithley.com/support/data?asset=50493)  say that the Keithley drivers actually use the NI-VISA runtime so I would be very interested in discovering what is involved in using this directly, rather than using Keithley's IVI. I will check this out.
    The notes also refer to know issues with NIPALSM but I dont know if this is relavent.
    I am not able to access the equipment today but I will find out the software info you have requested tomorrow.
    Thanks again
    Message Edited by Tony Dean on 05-23-2007 09:15 AM

  • LabVIEW DSC 2011 / OPC Client IO Server / Can I write to the OPC Server using OPC Groups?

    Hi
    I am using LabVIEW DSC module as a OPC client. My Shared Variables are binded to automation system OPC Server via "OPC Client IO Server".
    On the OPC Server side it seems that the every write commands comes like one item at time, not like grouped.
    Now I have tested this with the NI OPC Server as server and KepServer and LabVIEW DSC IO Server as OPC Clients.
    When I use the NI OPC Server : OPC Diagnostics there are different events messages when the update request comes from KepServer or LabVIEW DSC.
    There are log files on attachements for both write events.
    Attachments:
    Data from the KepServer.txt ‏6 KB
    Data from the LabVIEW DSC OPC Client.txt ‏18 KB

    Hello Pentsi,
    I have received confirmation (from the PSE in the US) that DSC doesn't support group writes
    There however work-arounds that might provide a solution:
    - The first solution I had in mind was like this. Update the 50 OPC items as fast as possible.
    Then use a 51st item as synchronization OPC item to check/indicate if new data has arrived/has been set/is available.
    So LabVIEW sets 50 OPC values as fast as possible. The 51st value becomes goes from false to true when the first 50 values are written.
    When this (51st) value is true on the OPC server you can read out the first 50 values (from the non-LabVIEW side). When you've read out these values, then you can set the 51st value back to false (from the non-LabVIEW side).
    In the meanwhile at the LabVIEW side you wait until the 51st value goes back from true to false.
    When it becomes false, then you write again those 50 values and afterwards set the 51st synchronization value from false to true.
    And this keeps on going...
    Note: Keep in mind that you only have to monitor one event at the side of the Automation System OPC Server in this case (the 51st) and based on an event occuring over there you can just do a group read of the 50 others. Also keep in mind that the maximum rate (6500 updates per second) from inside LabVIEW with the DSC Module OPC client I/O server was also mentioned in this document (http://digital.ni.com/public.nsf/allkb/63C043359F1​E12538625726E005BCD0C?OpenDocument).
    Could this be a possible solution for your problem?
    If you're using one of the OPC servers in this list (http://zone.ni.com/devzone/cda/tut/p/id/6417#toc19), then you can also use NI OPC Servers to update tags instead, which supports a faster update rate.
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • LabVIEW DSC 2011 / OPC Client IO Server / Write by OPC Group...

    Hi
    I am using LabVIEW DSC module as a OPC client. My Shared Variables are binded to automation system OPC Server via "OPC Client IO Server".
    On the OPC Server side it seems that the every write commands comes like one item at time, not like grouped.
    Now I have tested this with the NI OPC Server as server and KepServer and LabVIEW DSC IO Server as OPC Clients.
    When I use the NI OPC Server : OPC Diagnostics there are different events messages when the update request comes from KepServer or LabVIEW DSC.
    There are log files on attachements for both write events.
    Attachments:
    Data from the KepServer.txt ‏6 KB
    Data from the LabVIEW DSC OPC Client.txt ‏18 KB

    Hello Pentsi,
    I have received confirmation (from the PSE in the US) that DSC doesn't support group writes
    There however work-arounds that might provide a solution:
    - The first solution I had in mind was like this. Update the 50 OPC items as fast as possible.
    Then use a 51st item as synchronization OPC item to check/indicate if new data has arrived/has been set/is available.
    So LabVIEW sets 50 OPC values as fast as possible. The 51st value becomes goes from false to true when the first 50 values are written.
    When this (51st) value is true on the OPC server you can read out the first 50 values (from the non-LabVIEW side). When you've read out these values, then you can set the 51st value back to false (from the non-LabVIEW side).
    In the meanwhile at the LabVIEW side you wait until the 51st value goes back from true to false.
    When it becomes false, then you write again those 50 values and afterwards set the 51st synchronization value from false to true.
    And this keeps on going...
    Note: Keep in mind that you only have to monitor one event at the side of the Automation System OPC Server in this case (the 51st) and based on an event occuring over there you can just do a group read of the 50 others. Also keep in mind that the maximum rate (6500 updates per second) from inside LabVIEW with the DSC Module OPC client I/O server was also mentioned in this document (http://digital.ni.com/public.nsf/allkb/63C043359F1​E12538625726E005BCD0C?OpenDocument).
    Could this be a possible solution for your problem?
    If you're using one of the OPC servers in this list (http://zone.ni.com/devzone/cda/tut/p/id/6417#toc19), then you can also use NI OPC Servers to update tags instead, which supports a faster update rate.
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • Can I import items from the CAENHVOPCS​erver2.2 to DSC ?

    I'm just starting to test DSC. I see I can import channels defined on NI DAQ (PCI) into the configuration file of the tag engine just using the configuration Wizard. On the other hand, I've installed on the same PC the CAEN HVOPCserver2.2 whose items are visible through the configuration wizard, but Labview (6.i) get stack when tryint to add channel dependent items to the conf. file.
    I've also updated NI Logos to ver. 4.4 but this doesn't help.
    Did anyone experienced (or solved) these problems ?
    Thanks.

    Hi Stefania,
    Did you try to connect from another OPC Client to the CEAN HVOPCserver?
    A good link is our troubleshooting page for OPC and DSC: Tools for Troubleshooting OPC Interface Problems
    If LV DSC isn't the only OPC client to have trouble, than we would know that there is something wrong in the OPC Server implementation. I suspect that other OPC clients will as well, since LV DSC OPC client works with other OPC servers.
    When the TCE uses the server, it creates a group and adds items to it, and validates the items. It never activates the items. Then, we remove the items and remove the group. Some time right after we release the group, th
    e server could cause a crash in our code. Possibly it's calling into our group after it's been deleted? Or something similar?
    Given that our OPC client works with dozens of other OPC servers without exhibiting such behavior, it is maybe a server bug.
    We have seen similar behaviors with other various OPC servers.
    E.g. The server is deliting an object that provides the interface "IEnumOPCItemAttributes" when we still have a reference to it. This violates the IUnknown interface contract.
    We can avoid their bug by releasing our interface prior to informing the server that we're done with the group.
    This change is encountered in the LabVIEW DSC 6.1 Release.
    A patch that avoids this bug in the Servers is attached for LV DSC 6.0.2.
    Could you try the attached DLL with your OPC server? If this does not help you might contact the OPC server company for the latest version or/and you contact National Instruments support directly, thus the Applications Engineer can reproduce the beha
    vior.
    Hope this helps
    Roland
    National Instruments
    PS: the file belongs to \vi.lib\system"
    Attachments:
    LVOPCClient.dll ‏293 KB

  • OPC - packages to buy

    Hello.
    So far I have been using RS232 to talk with PLC like siemens. It works good bot takes too much time to develop. OPC seems to be easier because I don't care about communication.
    So If I want to use OPC from NI what do I need to buy? I was reading descriptions but that's not clear for me.
    So far I need:
    1. NI OPC SERVERS
    http://sine.ni.com/nips/cds/view/p/lang/pl/nid/209059
    This will take care of communication with any kind of PLC listed here: http://www.ni.com/white-paper/6417/en/#toc41 ?
    What it means that I can have , 1 Simultaneous Driver Usage or Unilimted?
    2.Dataloging and Supervisory Control Module - this allows labview to talk and exchange data with OPC ?
    http://sine.ni.com/nips/cds/view/p/lang/pl/nid/1010
    3. DSC Run-Time system
    LabVIEW DSC Module Run-Time System for Windows - what is that for??
    Having all of that can I compile and deploy exe that will talk with plc via opc??

    Datasocket works but has the drawback that is operates synchronously. If your OPC server is slow or doesn't react for some time then this datasocket read will block that part of your diagram completely. Not a problem if you only communicate with a few OPC items but definitely not scalable to larger systems. The DSC OPC client interface uses OPC advise to read values where the OPC servers push item values to the DSC engine whenever they have a new value to report. An OPC server being slow or not reacting won't delay the update of other OPC server items.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

Maybe you are looking for