Legacy Hardware and Apps
OPC documentation

Hello,

Is there any documentation anywhere on the operation and functionality of the OPC server? My OPC client (LabView) crashes whenever I try to browse the items published by the server.

Also, what is the maximum update rate possible. If I set a group rate at <1000msec, I get the message that the sever has forced this to 1000msec.

Thanks,
Cuan

Hello, Is there any documentation anywhere on the operation and functionality of the OPC server? My OPC client (LabView) crashes whenever I try to browse the items published by the server. Also, what is the maximum update rate possible. If I set a group rate at &lt;1000msec, I get the message that the sever has forced this to 1000msec. Thanks, Cuan

Hi Cuan,

I have been testing the DeLogger Pro OPC server, with LabVIEW, and it was working well.

Firstly, make sure you have the DeLogger OPC server running, by following the instructions in the help file, or in the DeLogger manual, under Advanced Topics, DeLogger OPC Server. Follow the instructions to register the OPC server, and configure the computer to enable distributed COM on the computer.

To test the DeLogger OPC server, you can use the National Instruments software, Server Explorer, which connects and reads from most OPC servers. For information on this, browse to the following links on the NI website: www.ni.com

NI Home > NI Developer Zone > Development Library > Measurement and Automation Software > LabVIEW > Datalogging and Supervisory Control Module > Communication
Then click on the topic "Tools for Troubleshooting OPC Interface Problems"

You can also use the datasocket examples in LabVIEW, in the library opc.llb in labview\examples\comm. When you are browsing for the OPC items, make sure you have real-time data coming into DeLogger.

While testing, it seems that you only have a 1000msec update rate. You can also use the LabVIEW drivers if you wish.

Cheers,
Anthony Ulrich

Hi Cuan, I have been testing the DeLogger Pro OPC server, with LabVIEW, and it was working well. Firstly, make sure you have the DeLogger OPC server running, by following the instructions in the help file, or in the DeLogger manual, under Advanced Topics, DeLogger OPC Server. Follow the instructions to register the OPC server, and configure the computer to enable distributed COM on the computer. To test the DeLogger OPC server, you can use the National Instruments software, Server Explorer, which connects and reads from most OPC servers. For information on this, browse to the following links on the NI website: www.ni.com NI Home &gt; NI Developer Zone &gt; Development Library &gt; Measurement and Automation Software &gt; LabVIEW &gt; Datalogging and Supervisory Control Module &gt; Communication Then click on the topic &quot;Tools for Troubleshooting OPC Interface Problems&quot; You can also use the datasocket examples in LabVIEW, in the library opc.llb in labview\examples\comm. When you are browsing for the OPC items, make sure you have real-time data coming into DeLogger. While testing, it seems that you only have a 1000msec update rate. You can also use the LabVIEW drivers if you wish. Cheers, Anthony Ulrich

Hi Anthony

I have installed as per the Advanced Topic.

I'm running LV7.1. SE crashes when you try and open the listed schedule A (for my test job). Tag Configuration Editor crashes when you try and and add an item. Matrikon OPC Explorer doesn't see the DeLogger server at all. Other clients I've tried crash as well. The data socket vi's crash as soon as you try and open the item A.

Is there any plan to upgrade to a newer OPC standard?

Cuan

Hi Anthony I have installed as per the Advanced Topic. I&#039;m running LV7.1. SE crashes when you try and open the listed schedule A (for my test job). Tag Configuration Editor crashes when you try and and add an item. Matrikon OPC Explorer doesn&#039;t see the DeLogger server at all. Other clients I&#039;ve tried crash as well. The data socket vi&#039;s crash as soon as you try and open the item A. Is there any plan to upgrade to a newer OPC standard? Cuan

Hi Cuan,

Could you please try using the NI OPC Demo server in server explorer, and use one of the SINE function itmes of the NI OPC Demo Server. Then use the example Multiple OPC Items Monitor.vi, in the opc.llb example library.

If you are successfully reading in the sine wave on this example, then you have everything configured correctly with the datasockets of LabVIEW, and the OPC. Then reinstall the DeLogger dll's.

To set up the DeLogger OPC Server on a Win2000 workstation:

  1. Run the program executable OPC_DA20_Components.exe located in the /DeLogger/opc server folder.

  2. Ensure the Automation Interface is registered with the system by typing regsvr32.exe OPCProxy.dll from a command window.

  3. Ensure the DeLogger OPC server DLL is registered with the system by typing regsvr32.exe deLoggerOPCServer.dll from a command window.

    NOTE : The command for the latest version of DeLogger is regsvr32.exe "C:\Program Files\dataTaker\DeLogger\opc server\deLoggerOPCServer.dll"

  4. Run dcomcnfg.exe from Start menu > Run and do the following:
    a) Ensure Enable Distributed COM on this computer is checked or selected.
    b) Select deLogger OPC Server and check that the default properties conform to your company's security measures.
    c) Close dcomcnfg.exe.

  5. Run the client application and check that DeLogger OPC Server is accessible.
    NOTE : Test the Server Explorer on the same PC, to see if you can connect to the OPC items

Cheers,
Anthony

Hi Cuan, Could you please try using the NI OPC Demo server in server explorer, and use one of the SINE function itmes of the NI OPC Demo Server. Then use the example Multiple OPC Items Monitor.vi, in the opc.llb example library. If you are successfully reading in the sine wave on this example, then you have everything configured correctly with the datasockets of LabVIEW, and the OPC. Then reinstall the DeLogger dll&#039;s. To set up the DeLogger OPC Server on a Win2000 workstation: 1. Run the program executable OPC_DA20_Components.exe located in the /DeLogger/opc server folder. 2. Ensure the Automation Interface is registered with the system by typing regsvr32.exe OPCProxy.dll from a command window. 3. Ensure the DeLogger OPC server DLL is registered with the system by typing regsvr32.exe deLoggerOPCServer.dll from a command window. NOTE : The command for the latest version of DeLogger is regsvr32.exe &quot;C:\Program Files\dataTaker\DeLogger\opc server\deLoggerOPCServer.dll&quot; 4. Run dcomcnfg.exe from Start menu &gt; Run and do the following: a) Ensure Enable Distributed COM on this computer is checked or selected. b) Select deLogger OPC Server and check that the default properties conform to your company&#039;s security measures. c) Close dcomcnfg.exe. 5. Run the client application and check that DeLogger OPC Server is accessible. NOTE : Test the Server Explorer on the same PC, to see if you can connect to the OPC items Cheers, Anthony
33
3
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft