Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Using CWDIO object in a nonvisual application

I am writing an SNMP agent DLL in Visual C++ 6.0 that needs to get data from a PCI-DIO-96 board. I have CW DAQ 3.0.1.

The problem is that the CWDIO object is not available after #import'ing the typelib into by project. All the other objects (e.g. CWDIOLine) are available.

The application does not have a GUI, so I cannot place the DIO control on a form. It must be dynamically created.

How can this be solved?
0 Kudos
Message 1 of 2
(3,134 Views)
Greetings,

There are a number of Component Works examples for the older version of software you are running located at the following FTP address. Please extract the contents of this ZIP file and you will find a number of DIO examples.

ftp://ftp.ni.com/support/compworks/samples/CW3VC.zip

ComponentWorks 3 is a rather old software packages and I believe you would benefit from the significant improvements made over the past few years. Check out what's new in Measurement Studio 6.0 at the following web address.

NI Measurement Studio
http://sine.ni.com/apps/we/nioc.vp?cid=3769〈=US
0 Kudos
Message 2 of 2
(3,134 Views)