Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DIO-24 Writing Digital Output

I am trying to use the DOoneport.c code in the National Instruments
examples. The program will not compile in Visual C++ 6.0. Does anyone
have the code in c that compiles and writes simple data to the ports?
The data being written to the ports are simple key strokes like 0-9 and
A-F.
0 Kudos
Message 1 of 3
(1,052 Views)
Check out this NI Knowledgebase entry for help with compiling and running
NI-DAQ examples in VC++:

http://digital.ni.com/public.nsf/websearch/C8CC0C1EA6229B09862565E90044DDF3

Erin Bray
Letsrockk wrote:
>I am trying to use the DOoneport.c code in the National Instruments>examples.
The program will not compile in Visual C++ 6.0. Does anyone>have the code
in c that compiles and writes simple data to the ports?>The data being written
to the ports are simple key strokes like 0-9 and>A-F.>
0 Kudos
Message 2 of 3
(1,052 Views)
you will probably find that even a DOS (excuse me, a "windows console
application") app developed in Visual C++ 6.0 will not let you access the
ports - they are, after all, hardware and the Windows GUI garbage is there
to protect you from having to deal with hardware because it's too difficult
......... Seriously - the hardware is hidden from you and you may have to
develop a device driver monster to let windows expose it to you.
(Yes I hate windows - It's ruined the PC for tight, fast real time (sub 1
second) operations on PC's.)

Matt Smith.
masmith089@qnet.com


"Letsrockk" wrote in message
news:3A48F154.CB1028B2@quickturn.com...
> I am trying to use the DOoneport.c code in the National Instruments
> examples. The program will not compile i
n Visual C++ 6.0. Does anyone
> have the code in c that compiles and writes simple data to the ports?
> The data being written to the ports are simple key strokes like 0-9 and
> A-F.
>
0 Kudos
Message 3 of 3
(1,052 Views)