Trouble with NI-DAQ OPC Server

Hi everyone !!!
I´m currently facing a problem which I can´t solve ! I´ll describe it so that you people can help me figure out a solution!
What I want to do is to make use of NI-DAQ OPC Server so that my tasks previously configured in NI-MAX can be accessed by a OPC Client. To test the connection I´m using QuickOPCClient from Kepware. The problems are the following :
1 - Although the devices and their tasks can be successfully accessed and tested inside NI-MAX, whenever I try to establish a connection to DaqOpc through NI Server Explorer an error occur and so I can´t communicate with the server.
2- Since it´s a very strange kind of error - I can, for instance access all the other OPC servers currently installed on my machine  using  both QuickOPCClient and NI Server Explorer - I decided to try desperate measurements !  I uninstalled the DAQ drivers - both traditional and mx - currently installed on my machine and installed them again ... to no avail ! The strange error persists !
Can anyone help me with this? As is always the case, any help will certainly be deeply appreciated!
Giovani

Hi Giovani,
When you try to connect to the server do you get any error messages?
Have you tried running through the NI-DAQ OPC Server Troubleshooting Wizard?  If it doesn't solve the issue, it may give you a better idea what the origin of the problem is.
Let me know if anything turns up in your troubleshooting!
Regards,
Micaela N
National Instruments

Similar Messages

  • Is Shared Variable Engine with LV8 an OPC server ?

    Hello
    Is the shared variable engine with LV8 an OPC server ?
    Does any OPC client can acces to Variable Engine OPC server an read shared variable ?
    Can I build an installer and deploy my application with Variable Engine OPC server on other PC without LV8.
    Thank you 

    Hi
    You can communicate between an OPC serveur and LV8 and use shared variable. To deploy an LV8 exe application, you must have the run time engine installed on the PC without installing LV8. You can create a setup with LV 8 in which you can integrate the run time engine.
    Kamal
    NIF

  • Trouble connecting to an OPC server

    Hi guys,
    The problem is connecting to a mass spectrometer, for which I have a dedicated LAN cable connection and an IP address. I can ping the device, and connecting to the OPC server works with the Softing OPC client, by manually entering the IP address of the server. However it does not show up in the remote machines list when I try to connect to it with via new I/O server. Is there a way to connect directly to an OPC server having only it's IP address?

    Our lab was shut down for the holidays period, so I couldn't try anything for a while. Back on it now though.
    Thanks for your suggestions! However, I still can't reach the server. Some more details in this post.
    The server explorer doesn't see the device either. I think both the
    server explorer and LabVIEW actually browse the network looking for
    machines running some kind of Samba (SMB) server? That's at least
    suggested by the characteristic '\\' added to the machine name I put in
    there. I don't think the Mass Spectrometer is running an SMB server. It
    does run http and OPC servers, and I believe that's it. So it's not 'visible' on
    the Windows network. Is that a problem?
    When I enter the IP address of the machine at the new IO server window,
    it automatically adds the '\\' in front and gives the 'No such
    interface supported' error described in the previous post. When I put
    in the IP address of a non-existing machine it gives a different error
    ('The RPC server is unavailable') after a few seconds. So it does seem
    to know there is a machine there, just it can't interface with it.
    Reconfiguring the client side DCOM settings according to recipe above didnt seem to make a difference.
    Anyone?

  • Problem with connecting remote OPC Server

    Today, when I opened my labveiw 8 program which worked properly yesterday, it couldn't connect to the Items on remote OPC server anymore thought I can still browse those items in Server Explorer.  In the NI published variable monitor, quality for those items is "Server failure", Then I added a new variable which bind to a local OPC item, it works properly. What's the difference between labview8 and Server Explorer when they are used to view a OPC Item?
    LabVIEW 8.20程序设计从入门到精通已经出版,敬请关注!
    欢迎访问LabVIEW学习乐园: http://labviewstudy.blog.edu.cn

    I've solved the problem,  the reason is that the NI variable engine log on as the system account, I changed it to the specified user which I used it in DCOM config, then it's ok
    the  method is:   computer management->Services->NI variable Engine->log on->this user...
    LabVIEW 8.20程序设计从入门到精通已经出版,敬请关注!
    欢迎访问LabVIEW学习乐园: http://labviewstudy.blog.edu.cn

  • [Solved] Trouble with virtualbox and xorg-server-1.13

    So I'm trying out Arch through VirtualBox. Everything has been great so far and I've installed dwm and even customized it a bit already. The problem is that I'm stuck in 1024x768... which is brutal on a 16:9 monitor. Ive installed the virtualbox guest additions through pacman and setup the modules in /etc/modules-load.d/virtualbox.conf and now when I reboot into x it fails and im stuck in the normal tty console.
    Heres my xorg.conf.d config which is pretty basic
    Section "Monitor"
    Identifier "Monitor0"
    DisplaySize 409 251
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "vesa"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 16
    SubSection "Display"
    Depth 24
    Modes "1024x768" "1440x900_75.00"
    EndSubSection
    EndSection
    My Xorg.log spits out this when I try to run X no screens found?
    Thanks for any help!
    Last edited by mihok (2012-11-15 13:38:29)

    Antoine wrote:
    I have Arch running in a Virtual Box VM (on a Mac Pro).
    I don't have an xorg.conf (or an xorg.conf.d/20-[driver-name].conf).
    Everything works just fine here -- the display is at 1680x1050
    Edit -- this is a 16/10  Benq 20" monitor. It's a few years old now
    $ xrandr
    Screen 0: minimum 64 x 64, current 1680 x 1050, maximum 32000 x 32000
    VBOX0 connected 1680x1050+0+0 0mm x 0mm
    1680x1050 60.0*+
    1600x1200 60.0
    1440x1050 60.0
    1280x960 60.0
    1024x768 60.0
    800x600 60.0
    640x480 60.0
    My /etc/modules-load.d/virtualbox.conf is just this:
    vboxguest
    vboxsf
    vboxvideo
    Try booting without your xorg.conf. Don't install the Vbox Guest Additons except through pacman. You have done "switch to fullscreen" from the host, right?
    Thanks! This seemed to do the trick!

  • CRIO communicating as PLC with NI-OPC-Server

    Hi there,
    i have the task to implement a communication between multiple cRIO's and the NI-OPC-Server. The NI-OPC-Server has to act as data handler for a complex frontend.
    I tried out the NI-OPC-Server and i was successful in communicating with the NI-OPC-Server as OPC-Client in Windows using an IO-Server and Shared Variables. But the task is to do this on a cRIO. I tried to open a data socket connection from a cRIO to the NI-OPC-Server using a specific URL using "DataSocket Select URL.vi". But as long i do not activate simulation in the NI-OPC-Server i get errors on opening the data socket connection. If i do activate the simulation, which is not the solution, i can write some data without error but the Quick Client of the NI-OPC-Server sees no changes for that data tag.
    I have the feeling i am not at a good way to get this working. Is there anybody having experiences with this? Is data socket a possible way at all? Is it possible at all? Do i need to implement a cRIO-OPC-driver?
    Thank you.
    Solved!
    Go to Solution.

    Hi,
    There's one pretty good tutorials and one webcast. Have you already study them?
    Connect LabVIEW to Any PLC Using OPC (Tutorial)
    http://www.ni.com/white-paper/7450/en
    Connect LabVIEW to Any PLC Using OPC (Webcast)
    http://zone.ni.com/wv/app/doc/p/id/wv-263
    Chers,
    Philip

  • OPC server trouble seeing tags in NI Distributed System Manager

    I have created my own OPC server for simulation purposes.  If I create an I/O server and select my OPC server I can then "create bound variable" in which I can browse my OPC tags which are all in there.  I use another program which makes use of property nodes to acquire a list of paths to these tags.  The list is empty.  I noticed that when I run the "NI Distributed System Manager" I can see the I/O Server but the sub tree doesn't show my tags.  If I got them to show up in "NI DSM" then I could get a list of tag paths.  Does anyone know why my tags would show up in the "created bound variable" window and not the "NI DSM" window?  I have tried deploying the library that the I/O server is in but this doesn't work.
    Thanks
    Matt

    Thanks for the reply Charris,
    I have two OPC servers.  One is the simulator and one that I connect to at a remote location which required some OPC client software (some service in windows registry which I am not familiar with). All I know is that I can browse all tags on the remote OPC server by first creating an I/O server (yes I use OPC client) and selecting "create bound variables".  Before I bind any shared variables to OPC tags I can go into DSM and see all the tags that are not yet shared variables.
    When I try doing this with the simulator, I first create the I/O server before I can browse all the tags in "create bound variables".  But this time when I go to the DSM, they are not listed under the I/O server.  This is just an observation.
    My real problem is that I use this piece of code found on the NI website to get a list of tags (URLs).  This code works with the remote OPC server but not with the simulator.
    I don't really understand the code.  All I know is that if I input the name of the library and the name of the I/O server as well as the path to the PC, it brings back a list of URLs pointing to tags.  Maybe there is something in this VI you can help with.
    Thanks
    Matt
    Attachments:
    Get Tag List.vi ‏38 KB

  • Nidaq OPC server performance issue

    I have an OPC client receiving data from the OPC server that is installed as part of NIDAQ and am finding the performance unacceptable.
    The client is used in another application to receive updates to 256 channels at 70Hz from a non NI OPC server over the network using DCOM and in this case the client shows about 1% processor usage and the server about 3%.
    With the NI OPC server I get about 2% processor on the client and 60% on the server and am limited to about 2Hz update rate with only 6 channels configured.
    I know the client is OK - any ideas how I can get at least 20Hz out of the NI OPC server?
    PS. Is this the correct place to ask this question? - there dosen't seem to be a place for NIDAQ questions.

    Any ideas where I might get an answer to this problem?

  • NI OPC Server与三菱Q00JCPU连接问题

    配置好OPC server后在下方的提示区总是显示端口无响应,启动quick client后,设置为读取的变量的Quality一项显示bad,当然在VI中读取变量也会报错。但是如果用三菱的OPC server(MX OPC)用同样的端口配置创建的变量就能用。请问是因为NI OPC server不支持Q00JCPU还是说在配置NI OPC之前需要启动些什么服务(三菱的OPC Server配置中有一个启动服务按钮,而NI 的OPC中没看到类似的按钮),我的防火墙是关了的。

    The Simulator driver that is included with the NI OPC Server allows you to create user defined tags that can be configured ot change values at specific rates. See the Simulator driver Help file for details.
    Fred Loveless
    Kepware Technologies
    http://www.kepware.com

  • Trouble with DateTime

    Hi experts.
    We are facing a trouble with DateTime in Java Server.
    The OS (windows server) shows the hour 7:30 a.m. (non summer time)
    However, in the graphical mapping, when I use currentDate, i get 8:30 a.m. (summer time)
    All time zones are equals.
    Does anyone have an ideia how we can fix it?

    Hi Diego,
    You might want to check the time settings of the SAP system you are working with. Your basis consultant can help you with this.
    Regards,
    Glenn

  • 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.

  • Trouble reading OPC Server values with Labview

    Hello there,
    I am currently working with Siemens Equipment : a Simatic Microbox with an OPC Server.
    I would like to read some variables' values provided by the OPC server with Labview 2012 (and DSC module), but I'm experiencing some difficulties.
    I have set up my OPC Server as an I/O Server in a Labview projet. Then, I have created some Shared Values to treat them in Labview.
    In the Distributed System Manager, I can read NI OPC Client Status :
    Active -> true
    Connected -> false
    Enable logging diagnostic information -> false
    OPC interface version -> OPC DA-3
    Server ProgID -> OPC.SimaticNet.1
    When I want to check any Shared Value, I have the comment : Server Failure.
    I think DCOM/COM configuration of the client and the server are good (I can correctly read values with Siemens OPC Scout).
    Maybe the issue comes from the connection between the OPC Server and Labview.
    Has anyone had a similar problem ?
    Thanks in advance,
    Jeremy

    You don't specify whether the server and the client are on the same PC or not.
    I recently run in a situation where the Matrikon client was able to read from a remote server while the Labview program (using Datasocket) could not.
    I suggest to try with Datasocket vi's to see what happens.
    Paolo
    LV 7.0, 7.1, 8.0.1, 2011
    Attachments:
    Read OPC variant.vi ‏17 KB

  • OPC Server with LV 8.20

    Hello!
    I have a LV8.20 application that will eventually reside on a PC as an executable. 
    I have a requirement to communicate 3 different pieces of DATA to a plant SCADA system which is running an OPC Client application.  I originally started to investigate the solution to this problem and came across the DSC module, which I figured I would use to put an OPC Server in the middle that I would publish my data to, and then the SCADA system OPC client could pick up the data.
    Someone on the Info-Labview forums told me that the new LV8.20 Shared Variable engine can act as an OPC server 'right out of the box'.  Is this true?
    I have been able on your website to determine that DAQMX can be an OPC server, but I am not using any DAQ hardware. 
    Do I have an OPC server with LV 8.20 somehow, or do I have to buy one so that I can publish my info to an OPC client on the same network?
    Thanks,
    Wes
    Wes Ramm, Cyth UK
    CLD, CPLI

    Wait a minute. Now I'm confused....
    I was trying to use Labview as a OPC Server and then have a Controllogics PLC connect to it. At first the NI phone rep (app engineer) told me that it could be done with the Industrial Automations OPC Server. But then after further investigation (on my part and then by calling NI back) I found out that it's not supported. But if I can create a OPC Server with Shared Variables can't I then connect to that Server with the PLC as well?
    Thanks for the clarification,
    Matt

  • Hi, i am having trouble with my mac mail account, i cannot send or receive any emails because of the server connection problems. Message says it could not be connected to SMTP server. Thanks in advance for your help.

    Hi, i am having trouble with my mac mail account, i cannot send or receive any emails because of the server connection problems. Message says it could not be connected to SMTP server. Thanks in advance for your help.

    Hello Sue,
    I have an iPad 3, iPad Mini and iPhone 5S and they are all sluggish on capitalisation using shift keys. I hope that Apple will solve the problem because it is driving me crazy.
    I find using a Microsoft Surface and Windows 8 phone, which I also have, work as well as all the ios devices before the ios 7 upgrade.
    It has something to do with the length of time that you need to hold the shift key down. The shift key needs to be held longer than the letter key for the capitalisation to work. For some reason, this is a major change in the way we have learnt to touch type on computers. I am having to relearn how to type!
    Michael

  • I am an iPad novice and whilst I have managed to set up my personal email, I have having trouble with my business email in that I can receive emails, but am unable to send and the message says 'this email address has been rejected by server'

    I am an iPad novice and whilst I have managed to set up my hotmail account on the iPad - I ham having trouble with my business email (I can receive emails, but cannot send and it says' email rejected by server'

    That sounds like a settings issue to me. Check with your IT depatment to make sure you have it configured properly.

Maybe you are looking for