From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I embed .lsb or .dll files from Visual C++ on a cFP-2020

I have my LabView program running with the compact fieldpoint and Windows fine, but I am using a CIN code resource (.lsb) file for complex control. I have not attempted to embed my program on the fieldpoint yet but  I am wondering if it will be possible to embed this to the cFP-2020. If not, can I use integrated dll's?

Cory

0 Kudos
Message 1 of 2
(2,750 Views)

Hi Cory-

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.

CVI has the option to create .dlls for use with LabVIEW Real-Time that will notify if any functions are not supported.  This setting can be found in the Target Options as the "LabVIEW Real-Time only" option when building your .dll.  For other ADEs the best suggestion would be to simply try using your library with LabVIEW Real-Time to see if all the internal function calls are supported.  If not, you will receive the aforementioned errors as expected.

Hope this helps-

Tom W
National Instruments
Message 2 of 2
(2,734 Views)