From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI OPC-Servers with NI hardware

Solved!
Go to solution

Hi all,

 

we want to use the latest version of NI OPC servers (v. 4.27403.1-U) for collecting data from different sources of NI hardware (cDAQ, WSN). Did anyone have experience, how it works? NI hardware is NOT mentioned in the NI OPC servers driver list!

 

Thanks for your support!

 

Frank 

0 Kudos
Message 1 of 3
(2,354 Views)
Solution
Accepted by topic author FrankyBoy

 

Frank,

you can set up a Virtual Global DAQmx Channel for every single cDAQ data source, and you can use LabVIEW to write an application that runs on the programmable WSN gateway to publish the received data in network-shared variables. Both these data sources can then be imported into the NI OPC Server.


To read the DAQmx Virtual Channels, create a new data channel in NI-OPC, configure it to use the "OPC DA Client Driver", and select the "National Instruments.Variable Engine.1" on the local machine as the OPC server.

Then add a new Device for each of your DAQmx channels (leave most of the clickable options default for now), and when asked to select the items to import, find and select the desired global virtual DAQmx channel in the category "National Instruments.Variable Engine.1\System\DAQmx\" and click "Add items >>".
.

Best regards,
Sebastian


PS: the newest NI OPC version is NI OPC Servers 2010, internally coded V4.500.462.0 🙂

0 Kudos
Message 2 of 3
(2,305 Views)

Sebastian,

fhanks for your support!

 

Frank

0 Kudos
Message 3 of 3
(2,287 Views)