Hi @ all!
I am developing a real-time application on a PXI (Labview 8.2, Win 2000) that requires the use of external code. I researched the topic on the NI website and eventually found that it is possible to implement C-code with CINs and dlls.
To start I wanted to program an example that just adds two numbers and gives you the result. I wrote the program in C using the CIN.
I compiled the c-code to a lsb-file using LabWindowsCVI 8.0 as it was described on the NI-website. The did run well on the host machine, but didn't run on the target (real-time) machine. (while deploying it says "The VI is not in memory") Programs without a CIN run on the real time machine
After some reading on the NI-website I discovered a program called "DLL Checker 8.2" which determines if a dll contains any win-api commands that aren't executable on the real-time system. The check said the dll was ok and prepared for real time.
Right now I am stuck and I don't know where to search for errors or I don't know if it is possible make this code work on a real time machine.
Do you have an idea why even such a simple CIN doesn't run on the real-time target?
Do you have a simple C-CIN example (Labview 8.2) that runs on your real-time machine that you could send me just to determine that it is theoretically working ?
I am really looking to your answers.
Best regards,
Mike
PXI 1011, NI8175