LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

linux

I’m sure this is a really naive question – but I’ve got to ask…

To run a LabWindows application under Linux, do I need to recompile the code on a Linux machine?  Is there any way that all development can be done under Windows and install on either a Windows or Linux machine?  Is this what the Linux run-time engine is for?

Thanks!

AMM

0 Kudos
Message 1 of 4
(3,433 Views)
Hi AMM,
 
When using the CVI Run-Time Module for Linux, you will follow these steps:
  1. Develop your CVI source code on a Windows OS
  2. Install the CVI Run-Time Module for Linux on a supported Linux platform
  3. Copy over your CVI source code you created on Windows
  4. Then use the CVI compiler on Linux to compile the code
  5. The CVI RTE on Linux will then run this code
I would read through the Introduction to the LabWindows/CVI Run-Time Module for Linux® tutorial as it answers some of these questions.  The FAQ section is really helpful
 
Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 2 of 4
(3,429 Views)

Thanks for the info Johnathan!

The link was very helpful.

One more questions if you don't mind.  My application will basically be acquiring serial data via rs-232, then displaying and outputting via ethernet using the winsock library.  Do you know if the winsock commands will port to linux ok, or is winsock considered a "system-dependent" call?

AMM

0 Kudos
Message 3 of 4
(3,419 Views)
hey AMM,

I don't have any experience with this myself, but I did a quick Google search and it looks like it's feasible.  Here are a few links that I found, but it might be best to parse the Google results yourself to see what is and is not pertinent.

Porting Socket Applications to Winsock (Reverse of what you want to do, but the major concepts are explained).

Using Sockets in Linux

I hope this helps, AMM.
Derrick S.
Product Manager
NI DIAdem
National Instruments
0 Kudos
Message 4 of 4
(3,369 Views)