Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Create POC server in LabView

How can I create an OPC Server with LabView,
so that when I make the exe for the customer, it will work on that PC also
Using LabVIEW 8.0, 8.0.1, 8.2
0 Kudos
Message 1 of 8
(7,488 Views)

Have you seen the LabVIEW DSC Module?  You can use this as an OPC server.  Check it out.

 
TheDillo
Message 2 of 8
(7,474 Views)

sorry

i didnt get you

can you send me a simple example

thanks

Using LabVIEW 8.0, 8.0.1, 8.2
0 Kudos
Message 3 of 8
(7,332 Views)
 

Tom:

I hope all is well. I think that there may be a little bit of confusion here.

- Are you trying to create an executable for your customer so that he can run it on his pc without needing the LabVIEW Development Environment? If yes, all you need is the LabVIEW Run-Time Engine (RTE) for the LabVIEW version used to create the executable. You could also build an installer that includes the RTE within.

- Or, are you trying to access an OPC server using LabVIEW? If that's so, you will need the LabVIEW DSC Module to connect to the OPC server.

I hope this helps and please clarify what you are trying to achieve so that I can help you better.
Best Regards,

Rudi N.

0 Kudos
Message 4 of 8
(7,307 Views)

I'm trying to access OPC server in LabVIEW. I do have DSC Module with me but as I'm am new I dont know how to use this.

It will be more helpful to me if anyone can send me an example demonstrating this.

Thanks

Using LabVIEW 8.0, 8.0.1, 8.2
0 Kudos
Message 5 of 8
(7,296 Views)
I'm a little unclear here as to what you're trying to do. 

If you'd simply like some examples of creating a LabVIEW program to interact with an OPC server, simply look in the example finder.  You can find these examples by going to the Help menu, and selecting Find Examples.  Then select the Search tab on the top, type in "OPC" and select Search.  You will find several examples of connecting to OPC Servers, and viewing OPC data items.

Is this the information you were looking for?


TheDillo
Message 6 of 8
(7,280 Views)

I've seen LabVIEW examples but if we want buid a database file we should manually create it first, i think.

If thats the case how can i do that in the customer's PC, since I'll be providing them with an .exe only.

Using LabVIEW 8.0, 8.0.1, 8.2
0 Kudos
Message 7 of 8
(7,128 Views)

Hello,

 

With the DSC module you dont need to explicitly create a Database. Once you create a shared variable and then enable logging on it, then the shared variable engine starts logging data into a default citadel database on your local computer.

 

Now since you are compiling an exe with the DSC functionality then you would need the DSC runtime along with the LabVIEW Runtime engine installed on that computer.

 

Hope this helps,

 

Chetan K 

 

Message 8 of 8
(7,104 Views)