LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DSC to Datasocket Conversion

Solved!
Go to solution

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. 

0 Kudos
Message 1 of 5
(138 Views)

Please, any insight would be greatly appreciated.

0 Kudos
Message 2 of 5
(110 Views)
Solution
Accepted by topic author Kalen176

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.

 

12-19 13_23-NI Example Finder.png

 

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.

Message 3 of 5
(69 Views)

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.

 

0 Kudos
Message 4 of 5
(64 Views)

@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).

0 Kudos
Message 5 of 5
(52 Views)