Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Header files or Conversion of C into LabView

We are using NI DAQ board for a system. The code was written for an old board (AT-MIO-16DL-9, the new one is AT-MIO-16DE-10). Therefore the code needs to be modified slightly. Our code was written by someone 5 years ago. The code starts with header files:

extern "C" {
#include "C:\LW\INCLUDE\lwsystem.h"
#include "C:\LW\INCLUDE\utility.h"
#include "C:\LW\INCLUDE\gpib.h"
#include "C:\LW\INCLUDE\gpib4882.h"
#include "C:\LW\INCLUDE\formatio.h"
#include "C:\LW\INCLUDE\userint.h"
#include "C:\LW\INCLUDE\graphics.h"
#include "C:\LW\INCLUDE\analysis.h"
#include "C:\LW\INCLUDE\rs232.h"
#include "C:\LW\INCLUDE\ui_attr.h"
};.

I was wondering where these header files are avaialbe, so I can re-compile the c
ode and use the system. We have MS Visual C++ and LabView. Are there any program which can convert a C program to LabView.
0 Kudos
Message 1 of 4
(4,215 Views)
Those header files are from LabWindows/DOS. A predecessor to our LabWindows/CVI software package. It is a separate development environment from LabVIEW available for C developers. You won't find those headers without getting a copy of LabWindows/CVI or the old LabWindows/DOS.

Best Regards,

Chris Matthews
Measurement Studio Support Manager
0 Kudos
Message 2 of 4
(4,216 Views)
I have LabWindows/CVI CD Full development system.
Still I can't find the file
lwsystem.h

Where can I get it ?

thank you
0 Kudos
Message 3 of 4
(4,167 Views)
Hello Kelmer,

As mentioned in a previous post, those header files are for LabWindows/DOS. If you recently purchased LabWindows/CVI Full Development System you will have different header files. If you use a standard CVI function call in your program, the appropriate header files should be automatically loaded to your source file. All in all, you should not need lwsystem.h, even though you might need a comparable header file that is compatible with your newer version of CVI.

Thanks.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 4 of 4
(4,146 Views)