NI Labs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

NI LabVIEW OPC UA APIs Discussion

JimMacD,

Thanks for your interest in OPC UA.  An IO Server supporting OPC UA is on the list of possible things that NI could do in a future release, but it is not currently in development.  For planning purposes, it would be helpful if you could provide some additional insight behind your request.  From your perspective, what advantages do you see in the IO Server approach compared to the VIs provided here?  Is there functionality missing in the VIs you would expect in the IO Server?  Any thoughts you provide are appreciated.

0 Kudos
Message 91 of 150
(5,535 Views)

Kyle,

Thanks for the quick response.

I have not used the OPC UA API yet, just started looking into it. I think the advantages of an I/O server approach is that all the details are done in the background, which allows the developer to focus on making the application, not worrying about correctly setting up the communications protocol.

I use the Modbus IO server a-lot. What I appreciate about it is that I can set a few parameters, and create some Shared Variables to interact with that IO server, and I'm done. LabVIEW set's up the rest in the background, and I can then focus on what I need to do with the application. It is very easy that way. This also seems to be the way NI's OPC server is setup on Window's, where you are creating Tags to bind to diffrent equipment. The OPC Server is going in the background and handles all the details.

Thanks

-Jim

--------------------------------------------------------------------------------------------------

--CLD--
LV 6.1 to 2015 SP1
0 Kudos
Message 92 of 150
(5,535 Views)

Hello,

I started a project using OPC UA in LV 2012. The server in the realtime environment works fine. I have a problem with the test client in windows 7. If I register with the "Add Monitored Nodes VI" a tag that is Byte Array, after the event is reveived, Labview crashes with the following error:LV error.png

There are limists on the type of registered tags? If it is a bug, how can I send a feedback to you?

Thanks in advance.

Sandro

0 Kudos
Message 93 of 150
(5,535 Views)

Hi Tonch,

Can you repost this on the DSC support forums?  I want to make sure an NI Application Engineer is assigned your post.  LabVIEW crashes are something we take very seriously and we'll will want to debug further. 

Thanks,

Mark

Mark
NI App Software R&D
0 Kudos
Message 94 of 150
(5,535 Views)

Hello,

I found the error in my code: mismatch of Byte Array in client and ByteString in server. Anyway there is the problem of robustness, if you are interested.

0 Kudos
Message 95 of 150
(5,535 Views)

Ok, I do. Thanks.

0 Kudos
Message 96 of 150
(5,535 Views)