Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Searching for a C/C++ program for 6503 ...

I'm searching for a basic C/C++ program to light LED with digital signal.
The program present as exemples in the CD seems not to work with my card.
Thanks by advance.
Nrv 🙂
0 Kudos
Message 1 of 3
(2,870 Views)
Hello;

The examples DIoneLine and DIonePort at C:\Program Files\National Instruments\NI-DAQ\exmaples\Visual C\DI\ should work with your hardware. You are probably using the other ones that implement handshaking and pattern I/O, and aren't support by your board.

That board of yours only supports static operations.

Hope this helps.
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,870 Views)
I thought DIonePort was a program for reading an imput ?!
Anyway, I've been trying DIonePort (wich doesn't work), DIoneLine & DOoneLine ("DO" for "Digital Outpout" isn't it ?), because I just want to light one LED, and no one is running with my card : I always got an "10613 error", it is to say "my device do not understand the command, whereas the driver do".
How can I do, wich fonction to use for a derect command of one line, on one port ?
I need help ...
Nrv 🙂
0 Kudos
Message 3 of 3
(2,870 Views)