10-17-2016 09:15 AM
Hello,
I was wondering if anyone managed to use DataSocket attributes on LabVIEW Real-Time platform. The NI VIs for managing attributes doesn't work due to ActiveX, so do you have other ideas ?
Thank you,
Alex
10-17-2016 09:13 AM
Hello,
I was wondering if anyone managed to use DataSocket attributes on LabVIEW Real-Time platform. The NI VIs for managing attributes doesn't work due to ActiveX, so do you have other ideas ?
Thank you,
Alex
10-18-2016 09:18 AM
I haven't used DataSocket attributes, but if you give more information on what exactly you are trying to do we might be able to suggest some alternatives.
10-18-2016 02:36 PM
Hi Matt,
I have 2 application which communicates through Data Socket. I need to rewrite one of them and in the same time move it on Real-Time target, so I would like to keep the same data exchange format. Unfortunatelly, I couldn't figure out how to use (write / read) attributes on Real-Time LabVIEW, apparently the NI VIs have an ActiveX which is not supported on RT.
Best regards,
Alex
10-19-2016 03:32 PM
Hey Alex,
Are you encountering an error when trying to use them that indicates they're not supported? It seems like you should be able to use them for certain things on LabVIEW RT. See below for information on what DataSocket protocols are supported on in LVRT.
Can I use DataSocket in a LabVIEW Real-Time Application?
http://digital.ni.com/public.nsf/allkb/F2B4B40FA614E99986256A5C0068D11C
10-19-2016 04:12 PM
Hi Eden,
I can use the dstp on a RealTime target to write and read data with a DS server, but I'm not able to write/read the attributes. There are some VIs on dataskt.llb which can manage these attributes but I couldn't make them work in Real-Time target.
Regards,
Alex
10-20-2016 03:20 PM
Hey Alex,
I can't find anything specifically that says whether or not reading and writing attributes is or is not supported. I'll dig a bit more and see if anything comes up. LabVIEW usually won't let you use VIs that aren't compatible. Are you sure that everything is configured correctly? Could you attach a screenshot of your attribute reading/writing code for us to see?
10-21-2016 07:42 AM
Well, once I try to use a VI from Dataskt.llb I get a "Type not supported in the current target" so I think it's pretty clear.
I'm looking for a workarround if exists or not.
Thanks,
Alex
10-24-2016 09:17 AM
Hey Alex,
The "type not supported on current target" usually refers to a data type that isn't compatible with the target. Could you let me know which VI it is that causes you to get that error? And you're running this on the RT side of the system correct?
10-25-2016 02:25 AM