Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

port access +VC+++labview

Hi,
I am having a PC-Add-On DAQ card which is hardwired for a particular port address. I was using an apllication written in VC++ to issue commands to the card and get the data. Now I want to use this program in LabVIEW. I am building a .dll file and modifying the program to suit LabVIEW.I want to know what header files I should include in the .c file for port access commands(_inp(),_outp()) and whether LabVIEW can do port access.
0 Kudos
Message 1 of 4
(3,400 Views)
The inp and outp functions are part of the Visual C library. Check the MSDN to see which files are required by this function.

labVIEW also has inp and outp functions as well, so you can do port access from LV directly.
Bilal Durrani
NI
0 Kudos
Message 2 of 4
(3,393 Views)
Hi,
Could you please tell me how to use inp() snd outp() commands directly from LabVIEW. Any example would be of great help.

Thanx & Regards,
Srini.
0 Kudos
Message 3 of 4
(3,379 Views)
You can find more examples of these functions if you use the LabVIEW Example finder. This is under help >> find examples. If you need more help with LabVIEW, you'll have better luck if you post on the LabVIEW forums, since this is primarily for MStudio VC++.

Hope this helps
Bilal Durrani
NI
0 Kudos
Message 4 of 4
(3,365 Views)