Did you install the NI-DAQ drivers ? The driver cd-rom is normally delivered
with all NI DAQ products like your DIO-96 Card. After you install the driver
you should find a 'data aquisition' entry in your CVI Library menu. This
menu entry is dimmed as long the driver isn't installed. You should further
check, if the checkmark 'Data Aquisition' in menu Options/LibraryOptions is
activated.
In this library you will find all the functions you are looking for !
Regards,
Manfred
Farside schrieb in im Newsbeitrag:
506500000008000000972A0000-999158726000@exchange.ni.com...
> I am trying to checkout the operation of a DIO-96 Card. When I write
> to a Port on a single 8255 chip, then write to the second Port on the
> same chip (Ports 0 and 1/Ports 6 and 7/Ports 9 and 10), the second
> port receives the desired pattern but the first port gets reset. Why
> is this happening? An article on the NI Tech Support page discusses a
> Dig_Port_Config() command issue and that when the 8255 chip gets
> re-configured, it resets all the other ports on the device. I am only
> using the WriteToDigitalPort command, with the Configure Bit set to
> "Only if Necessary".
>
> I looked for the Dig_Port_Config command in the STLIB manual, but did
> not find it there. Where do I locate this command, and how should it
> be used? I also looked for configuration information that would
> permit me to set the different modes for the 8255 but could not find
> any reference in the NI commands to the Modes that are identified in
> the 8255 specification. Specifically, I am referring to the Modes
> (static/latched/handshake) that the 8255 will perform. The
> configuration in both the WriteToDigitalPort and WriteToDigitalLine do
> not address this subject. Where do I find these commands to control
> the DIO-96 card? In my application, I need 6 8-bit ports that are all
> static Outputs to drive a bank of buffered relays. I do not need to
> reconfigure these ports every time I power-up the computer or DAQ
> card. I also need each output port to stay at the desired setting as
> I write (different patterns) to the other ports. Ports that
> automatically reset are not of much use in my application. What
> commands do I need to review? What documentation will describe these
> commands?
>
> I have also changed the hardware jumper W1 from the HI state to the
> LOW state for the PowerUp default, with no difference visible at the
> ports. The ports continue to initialize in the OFF condition for both
> cases. What is happening here?