Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get started

how to get started with developing driver for PCI-DIO-96?????
------------------------------------------------------------
the MH DDK readme says that i need to install:
------------------------------------------------------------

LabView Express (i have LabView 7.1)

VISA 3.0 (i have this one!)

and copy the \vi.lib\addon folder to Labview and the DLLs to \windows\system32 folder respectively

(thats all the help readme gave me... too bad)
------------------------------------------------------------
now,,

i have downloaded also Example codes in .zip format (for DIO96)
i extracted them then i get the following folders:

'ChipObjects' and 'Examples'

there in the Chipobjects folder are the #include files for the exampes codes 'digex1.cpp' to 'digex5.cpp'


-----


i read the "Register Level Programming Architecture" article, there says that ChipObjects is the 'simplest' method to access hardware in Register LEvel programming, so i want to use this method.

another one, the article includes:

The RLP architecture consists of three main layers, the RLP examples, the ChipObject and the osiBus.


is that RLP is the 'Examples' i got (that is the c++ written example codes)?
is that ChipObjects just the 'tDIO96.h' , 'tDIO96.cpp' , 't8255.h' , and 't8255.cpp' ???
is osiBus the VISA??? hehe, i dont really know what i'm talking about...
------------------------------------------------------------

hmm , pls tell me how to get started....



thank you in advance.;


-student engineer-
a journey of a thousand miles is started by taking the first step.
- chinese proverb
0 Kudos
Message 1 of 5
(8,580 Views)

Hello,

If you are using LabVIEW and the PCI-DIO-96, you should be using the NI-DAQ driver for the board, rather than developing your own driver. Is there a reason that you are trying to use the MH DDK for this board? In Linux or Mac OS X, you should use the DAQmx Base driver with this board.

authored by
Christian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX


  
0 Kudos
Message 2 of 5
(8,569 Views)
hi,

i take your advice.

-----------------------------------------------------------------------------------------
yeah i changed my mind already, i'll use LabView but there's another problem

how tos use 'DAQ Assistant' component in LabView to communicate with DIO96 in a way
that i can toggle a switch component to on/off a specific pin.


there's 96 pins in total but i need only one to toggle on and off...

actually it's PPIA Port B Line 0


anyway, all the information i need is how to use 'DAQ Assistant' so that i can toggle output to 0V to 3V
a journey of a thousand miles is started by taking the first step.
- chinese proverb
0 Kudos
Message 3 of 5
(8,567 Views)
by the way i use WinXP as my OS.
a journey of a thousand miles is started by taking the first step.
- chinese proverb
0 Kudos
Message 4 of 5
(8,567 Views)
Hi student_zero,

The PC-DIO-96 device supports TTL/CMOS logic, so you won't be able to output 3V. However, you can consider using a zener diode to obtain that voltage output. You can also consider the PCI 6552 boards, which has programmable voltage levels.

In terms of using the DAQ Assistant, you can set it up to toggle one digital task by following the wizard and setting up the task for output on a single digital line. Once you've placed the DAQ Assistant onto your block diagram, choose "Digital I/O" >> Line Output, then choose the desired digital line. Once the DAQ Assistant has been set up, you can wire an input control by right clicking on "Data" and choosing Create >> Control.

Alternatively, you can consider using one of the LabVIEW shipping examples, "Write Dig Chan" (Help >> Find Examples).

I hope this helps.

Thanks,
Lesley Y.
0 Kudos
Message 5 of 5
(8,556 Views)