12-19-2024 07:17 AM - edited 12-19-2024 07:46 AM
I am currently doing an engineering internship where I have taken it upon myself the task of updating the antiquated labview 7.1 programs to labview 2016. The issue is that the programs use DSC and OPC servers and we don't have the DSC module for the 2016 version. I have looked into converting the program to using Datasocket but am not currently knowledgeable enough about labview(I've only been working with it for about 2 weeks) to know where to start or the ins and outs of doing so. Are there any resources available that do a decent job of explaining how to accomplish this or could give me some background information to help understand the whole process? Thank you in advance.
Also if I'm not making any sense, please let me know. I'm learning so I may have things backward. If there is an easier way, then I would love to know about it.
Solved! Go to Solution.
12-19-2024 08:38 AM
Please, any insight would be greatly appreciated.
12-19-2024 12:39 PM
What part of this process are you stuck on right now? To start out there is an example (Help > Find Examples) that shows how to read OPC DA tags using datasockets.
Do you know how many tags that you're reading/writing and the rate you'll be reading/writing? From what I remember, datasockets aren't super performant if you have a ton of tags.
12-19-2024 12:50 PM
Wow I had no clue that was there. I believe there are around 10-20 tags the program will be reading from the plc. I've honestly haven't got much done. I've been trying to figure this out from scraps I find on the forums and have been kinda going in circles.
12-19-2024 02:41 PM
@Kalen176 wrote:
I believe there are around 10-20 tags the program will be reading from the plc.
That's not a lot of tags so I wouldn't suspect performance differences between DSC and datasockets to be very noticeable.
I also assumed this was OPC DA because I don't believe datasockets can read OPC UA nodes (it's been a while since I've done anything OPC UA so maybe it does work).