LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Comments on using CIN and DLLs with real-time on PXI?

Hello,
I've seen some old posts about trouble debugging real-time code that uses CIN and shared library calls.

I'm developing a time critical application where it would be advantageous to use pre-written C code.

Could someone with experience comment on the advantages and pitfalls of using either CIN or shared libraries in LabView real-time for PXI? How are the debugging tools for the most recent NI software?

Thanks in advance,
Frenk
0 Kudos
Message 1 of 3
(2,677 Views)
Frenk,

the following links might be useful:

Programming for the LabVIEW Real-Time Module Using LabWindows/CVI
http://zone.ni.com/devzone/conceptd.nsf/webmain/619C8925F531EE7986256B110078E678?opendocument

Performance Issues with DLLs in LabVIEW RT
http://digital.ni.com/public.nsf/websearch/10BC32F28B9D440686256BB30069AB48?OpenDocument

Regards
0 Kudos
Message 2 of 3
(2,677 Views)
Hello Frenk,

CIN's and DLL's can be called from LabVIEW Real-Time. However, the LabVIEW Real-Time Operating System only supports a subset of the Win32 API. We do not offer LabVIEW RT support for applications that call external code. If you build the DLL from LabWindows/CVI for Real-Time, it will ensure all of the calls will be supported.

Debugging tools for DLL's in LabVIEW Real-Time are still limited. The following KnowledgeBase discusses some ways to debug: How Can I Debug a DLL in LabVIEW RT.

If you have any further questions, please post a reply.

Regards,

Kristi H
Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(2,677 Views)