LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

integrating AgtClient (missing types.h and other files)

hello
i am trying to integrate AgtClient.h to control an Agilent San Tester with LabWindows/CVI 5.5 but it is giving me errors of missing files at compile time, all of these are flagged

 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/time.h>
 #include <netinet/in.h>
 #include <netdb.h>
 #include <fcntl.h>


^ those files are not in my ansi folder, please advise
thanks
0 Kudos
Message 1 of 5
(4,112 Views)
Hi kewlio,
 
Does your project know where to find those header files?
 
Two ways you can do this is to either have the header files in the same directory as the project, or set the directory of the header files as an include path.
 
To add directories to the CVI include paths, click Options»Environment»Include Paths...
Jervin Justin
NI TestStand Product Manager
0 Kudos
Message 2 of 5
(4,087 Views)
hi
i don't think i have those files at all
i am going to look for them more thoroughly

0 Kudos
Message 3 of 5
(4,083 Views)
Hi
I found out the code was written for Unix
does anyone know a good way to start porting unix code to LabWindows? I'm not very familiar with sockets
0 Kudos
Message 4 of 5
(4,002 Views)
Hi daniel kh,
 
This might be a good place to start:
MSDN: Porting from UNIX to Win32
 
Also, a quick google search revealed that there are commercial utilities that may help as well.
<Disclaimer>
I haven't used any of these,  so I don't claim to know how well (or even if) these utilities work and am by no means endorsing any of them.
</Disclaimer>
 


Message Edited by Jervin_J on 06-11-2008 08:47 AM
Jervin Justin
NI TestStand Product Manager
0 Kudos
Message 5 of 5
(3,985 Views)