FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Use of third party DLL's in LabVIEW on FP-20xx controllers

Hello all,

I am wondering if it is possible to use third party DLL's on FP-20xx
controllers. Since the OS is ETS from VenturCom. VentureCom states on its
website that the ETS OS is capable of DLL usage.

Now the real question:
Can I use a DLL in a LabVIEW application and compile it for an FP-20xx
controller?
Please also an explaination if it isn't possible.

Thanks,

André Buurman

Software Engineer @ Carya Automatisering
0 Kudos
Message 1 of 3
(3,187 Views)
Hello,
Technically you can use a CIN or DLL in your LabVIEW Real-Time program. However, the RTOS on the real-time processor does not support the entire Windows API (although the most commonly used functions are included). In most cases, if your DLL or CIN works on a Windows machine it will work on the RTOS, but if your C code is making function calls that are not included in the Win32 subset that the RTOS has, then the code will fail. Also LabVIEW RT code targeted to an RT controller does not support ActiveX, therefore any application or VI that was written using ActiveX in any way, will not work on a RT system.

LabWindows/CVI 6.0 makes it possible to create DLLs specifically intended for use in LabVIEW Real-Time. To do this, go to Target Settings. Under Run-Time
Support, there will be a new option for "LabVIEW Real-Time only". What will happen now is that when you build your DLL it will check that you are not using any unsupported functions. You can then take that DLL and call it from LabVIEW Real-Time.

I hope this helps.
Best Regards,
Remzi A.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 3
(3,187 Views)
Thx,

It's very helpfull.

Greetz,

André Buurman

"Remzi" schreef in bericht
news:506500000005000000B97C0100-1079395200000@exchange.ni.com...
> Hello,
> Technically you can use a CIN or DLL in your LabVIEW Real-Time
> program. However, the RTOS on the real-time processor does not support
> the entire Windows API (although the most commonly used functions are
> included). In most cases, if your DLL or CIN works on a Windows
> machine it will work on the RTOS, but if your C code is making
> function calls that are not included in the Win32 subset that the RTOS
> has, then the code will fail. Also LabVIEW RT code targeted to an RT
> controller does not support ActiveX, therefore any application or VI
> that was written using ActiveX in any wa
y, will not work on a RT
> system.
>
> LabWindows/CVI 6.0 makes it possible to create DLLs specifically
> intended for use in LabVIEW Real-Time. To do this, go to Target
> Settings. Under Run-Time Support, there will be a new option for
> "LabVIEW Real-Time only". What will happen now is that when you build
> your DLL it will check that you are not using any unsupported
> functions. You can then take that DLL and call it from LabVIEW
> Real-Time.
>
> I hope this helps.
> Best Regards,
> Remzi A.
> Applications Engineering
> National Instruments
0 Kudos
Message 3 of 3
(3,187 Views)