LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared variable access on RT system from another programming language

Hi,  I have a LabVIEW RT system (Compact Fieldpoint 2120) that monitors and controls some devices in a Class I Div 1 environment.  I communicate with it using Shared Variables from a LabVIEW application that basically logs the readings and sometime changes a few settings.  My customer wants to be able to also access the shared variables from a 4GL programming language (OpenRoad).  I can provide them with a DLL with routines to read or write the values but they are not keen on using DLLs as the programming API makes that painful.  They have used COM objects and that works well for them.  My question is whether there is a path I can take that will work easily for them.  Does DSC provide this connectivity.  I know that there is a run-time cost for this but this may be in the long run less expensive than developing a Active X wrapper for the DLL that allows them access.

0 Kudos
Message 1 of 3
(2,249 Views)

You can write the code in LV and build a DLL or a .net assembly. If you need COM functionality wrap the .net assembly. Then your customer needs a LV runtime on the PC to use.

 

Best regards Christian

0 Kudos
Message 2 of 3
(2,236 Views)

Hello,

 

If I understand your application correctly, yes the DSC Module can do all of this for you, including monitoring, logging, and modifying the variables. To get a better idea of what the DSC Module is capable of, feel free to view this 10 lesson tutorial that covers the capabilities of the DSC Module: http://zone.ni.com/devzone/cda/tut/p/id/10000

 

I hope this helps.

 

Regards,

Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(2,227 Views)