LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How run the opc server?

Hi all

I installed the LV85 & DSC 85

But I don't see the OPC Server

Why ?

Best regards

Iskander 

0 Kudos
Message 1 of 20
(4,229 Views)

Hi Iskander,

 

Thanks for the post and I hope your well.

 

Firstly, are you trying to setup a server or communication with the server?

 

Communicate to OPC Server with LabVIEW DSC 8.0 and later using Shared Variables
The LabVIEW Shared Variable Engine (SVE) takes care of OPC for you.  To establish communication with an OPC server:

The steps are included in the follow KnowLedgeBase Article, 

How Do I Use OPC in LabVIEW?

http://digital.ni.com/public.nsf/allkb/EA15F53DB6FECCA5862567240064DF09?OpenDocument


If you could explain in a little more detail what your trying to do I will do my best to further support you.

 

Kind Regards,
James.

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 2 of 20
(4,210 Views)

Hi James Hillman

Thanks for the attention

Why  didn't I see in the Tools/DSC/: Server Browser & Configure tags & Lounch Engine & Monitor tags...?

Best regards

Iskander

 

0 Kudos
Message 3 of 20
(4,196 Views)
Isn't there an option somewhere to show shortened version of the menus?? I think somewhere under tools, options.
0 Kudos
Message 4 of 20
(4,194 Views)

Hi Iskander,

 

What you see in your screenshot is what you should see with DSC.  What OPC server are you trying to access?  Are you trying to access LabVIEW Shared Variables via OPC, or do you have another OPC server such as NI-OPC, Kepware, etc?  The links from James should show you how to connect to any OPC server from LabVIEW with DSC.  Otherwise, we need to be able to identify what OPC server you are looking for.

 

Regards, 

Brian A.
National Instruments
Applications Engineer
0 Kudos
Message 5 of 20
(4,181 Views)

Hi Iskander,

 

Thanks for the update and the input from Brian and UncleB.

 

We really need to know more about your application to help you any further. Please update us when you can.

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 6 of 20
(4,169 Views)

Hi all

Excuse me for the silens.

Thanks very much for the attension and help.

Now I am learning the OPC server and DSC module

while I havn't a question

Best regards

Iskander

0 Kudos
Message 7 of 20
(4,130 Views)

Hi all

I have the question

I have the OPC server: NAPOPC

It is working

LV is working with NAPOPC via Data binding /DataSocket/DSTP Server.

But LV isn't working with NAPOPC via DSC module.  the ERROR I havn't got.

 I have the help "Connect LABVIEW to Any PLC". And I did all according to this Help.

Where is my errors?
Best regards
Iskander

 

 

 

0 Kudos
Message 8 of 20
(4,092 Views)

Hi iskander,

 

I am afraid I need for information on what aspect of the setup isn't working - could you maybe pin-point the step in the guide that isnt working?

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 9 of 20
(4,064 Views)

Hi James Hillman

Thanks

1. I launch the OPC Server NAPOPC and found there Ch02 and Ch03 (Boolean). I can control this variables on the .

2. In the LV I did File/New Project/My Computer/New /I/O Server. OPC Client. Choose NAPOPC Server. Ok. File/Save all.

3. Then : New/Library/Create Bound Variables and select from NAPOPC the  Ch02 and Ch03. Add. Done.

4. Save as. Deploy all.

5. But I don’t found Tools/Distributed System Manager.

6.  I created the VI: New/VI. And drag the Ch02 and Ch03.

After  I run this VI. The Error didn’t appear.

But the Ch02 and Ch03 didn’t change.

If I connected toggle switch  via Data Binding/DataSocket/DstpServer – all are working.

I don’t know where is my error?

Best regards

Iskander

Message Edited by Iskander on 12-08-2008 04:18 PM
0 Kudos
Message 10 of 20
(4,047 Views)