10-23-2005 02:18 PM
10-24-2005 11:13 AM
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-