07-12-2018 09:03 AM
I want to be able to have a NI-PXIe 8135 talk to the NI OPC server so I can in turn have GEs iFIX talk to the NI OPC server and us it as the HMI.
PXIe-8135 <->NI OPC Server <->iFIX
I am running Labview 2017. I bought the HIL and Real-Time Test Software Suite ( http://sine.ni.com/nips/cds/
According to http://zone.ni.com/reference/
I have the LabView Real-Time Module activated.
Do I actually need the Labview OPC UA Toolkit (http://sine.ni.com/nips/cds/
Or is there a simpler way to connect to iFIX to get the data off of the PXIe?
Solved! Go to Solution.
07-13-2018 09:52 AM
Justin,
Short answer: yes.
You have linked to the LabVIEW 2016 Help. From 2013-2016, OPC UA VIs were included in the LabVIEW Real-Time and DSC Modules. in LabVIEW 2017, they were separated into their own OPC UA Toolkit.
OPC with LabVIEW Software Options
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019MwxSAE
07-13-2018 10:55 AM
Thank you for your reply.
If I am reading about DataSocket correctly though, I should be able to communicate using that? By communicate I mean that I could have an HMI (GE's iFIX) read/write data to the PXIe?
Is there a good guide somewhere that explains how to use that functionality?
07-16-2018 10:40 AM
Justin,
Here are a few articles about establishing that connection:
DataSocket Connections for OPC Items
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P7fWSAS
Connecting LabVIEW to an OPC Server Using Front Panel DataSocket
http://www.ni.com/tutorial/3980/en/
08-07-2018 04:50 PM
I bought the OPC Toolkit, dowloaded, installed, and activated.
I would have thought that this meant if I right-clicked on my device, go to NEW>> I/O Server and see OPC Client. All I see is EPICS and Modbus.
If I try to downal the OPC UA Demo project, I get the following error.
Failed to load shared library bi_opcua.*:
niopcua_client)closeClient:C.
Put simply, I want to have my variables in my program read by an OPC Server. Any suggestions on what else I need to do to set it up?
08-08-2018 12:39 PM
Justin,
In the LabVIEW OPC UA Toolkit, this is done programmatically. Look through the tutorial below, which has examples on how to do so:
Tutorial: Creating an OPC UA Server and an OPC UA Client
http://zone.ni.com/reference/en-XX/help/376230A-01/TOC1.htm