LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use ADSOCX to read Data from TwinCat-PLC using Labview

I use TwinCat (Software PLC) to control a vacuum chamber. I hava the ADSOCX-driver and the documentation how to use it with Visual Basic.
I have problems to understand how to use the methods to read data or how to translate or convert the examples into a Labview-VI.
0 Kudos
Message 1 of 3
(5,779 Views)
Michael,
LabVIEW can communicate with external functions such as DLL, since you can use the drive within Visual Basic, I would suggest you to try to convert this drive into a DLL file within Visual Basic, then call this DLL in LabVIEW using Call Library Function.vi.
If you are not very experienced with LabVIEW, such as calling DLL within LabVIEW, you are welcomed to contact us for technical support. You can generate a service request on the web at www.ni.com/ask, fill out the information on your problem and get a 800 number to call technical support at NI.
Hope this helps,

XD Gao
Application Engineer,
National Instruments
0 Kudos
Message 2 of 3
(5,779 Views)
FYI, calling a DLL in LabVIEW is described in detail in Chapter 2 of the Using External Code in LabVIEW manual.
Kelly H
LabVIEW Documentation
National Instruments
0 Kudos
Message 3 of 3
(5,779 Views)