FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
01-23-2023 03:03 PM
Is there a way to enable data exchange between LabVIEW and Data Layer? (MLPI-Replacement for ctrlX)
Solved! Go to Solution.
01-24-2023 08:02 AM - edited 01-26-2023 08:30 AM
Instead of a proprietary protocol the standard way of communicating to the data layer is REST. So you can use a standard http based request (including a valid web token) to read/write the values and execute functions.
03-24-2023 02:19 PM
Do you have an example of how to set up an http request properly in LabView for reading a CtrlX Datalayer Node?
03-24-2023 02:54 PM
Indeed there are many ways we can exchange data between LabVIEW and ctrlX CORE data layer.
1. Using rest API as mentioned in the previous answer but it is MLPI and with high computational power, it would be faster.
2. Using TCP IP connection
3. Implementation of comm_datalayer.dll functionalities Inside Labview. this way we can use already implemented functions to connect and react with the data layer of ctrlX Core.
currently, I am testing functionality 3 but it should work. cause labview has a 'call library function node'. using this node we could interact. and the first two are tested and work well. With REST call reacting time is at every 16ms but it could be faster depending on pc.
03-27-2023 08:36 AM
@Luschuerz it is a standard REST call. Please have a look to this how to.
05-16-2024 11:42 AM
this how to created to make TCP/IP communication between LabVIEW and DataLayer