Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

outputting a digital waveform on PCI-MIO-16E4

I am trying to write a waveform to the 8 bit port of a PCI-MIO-16E4 board using Labview 6.1.  I know that I can write to the port using the write to port vi or by using the test panel in MAX.  When I try writing the waveform, I am using the DIO config and DIO write vi's.  I get an error from the write vi telling me the following: The specified device is not a National Instruments product, the driver does not support the device (for example, the driver was released before the device was supported), or the device has not been configured using the Measurement & Automation Explorer.  I have called support and they have told me that the driver is correct and I have configured the device in MAX.  I assume that I am using the vi's wrong.  I need a really simple example program that writes a waveform to the 8 bit port of this board.  All of the example programs seem a little bit off from what I need and also produce the same error.  Thanks.
 
0 Kudos
Message 1 of 4
(3,355 Views)
Hello pniksch,

What driver and version are you using? I assume you are using the Traditional NI-DAQ (Legacy) driver because it is the only driver that offers support in LabVIEW 6.1. Depending on which version you are using, you should have several examples that write data to a Digital port very simply. The one that I would recommend is called "Write to 1 Dig Port (e).vi". This program is located at C:\Program Files\National Instruments\LabVIEW 6.1\examples\daq\digital\E-series.llb\Write to 1 Dig Port (E).vi.

You also need to be sure that the device is associated with the correct driver if you have more than one installed (Traditional NI-DAQ (Legacy) and NI-DAQmx). You can confirm this by going to Measurement & Automation Explorer (MAX); you can find this program at Start>>All Programs>>National Instruments. You should confirm that the device is listed under "Traditional NI-DAQ (Legacy) Devices" in My System>>Devices and Interfaces, as shown in the image below. If you have been using multiple drivers, you may want to reset the device by right-clicking on Traditional NI-DAQ (Legacy) Devices and selecting Reset Driver for Traditional NI-DAQ.


Message Edited by Matt A on 06-13-2007 07:27 PM


Matt Anderson

Hardware Services Marketing Manager
National Instruments
0 Kudos
Message 2 of 4
(3,330 Views)

Matt,

I am using Traditional NI-DAQ (Legacy) Version 7.4 for Windows 2000/NT/XP.  This was the driver that was recommended to me by customer support.  I have confirmed in Measurement and Automation that the device is configured properly for that driver.  I have used the example program Write to 1 Dig Port (e).vi and it is working just fine. Furthermore, I have a program that outputs just an analog waveform to that card and that program is also working just fine.  The problem only happens when I try to write an array of bytes to the device using the DIO write vi.  I'm trying to do something along the lines of the example program continuous CDO w/ AO (E)...but I don't need the analog output.  When I try running this program, or even a program that I wrote that just has the digital output, then that is when I receive the error that I mentioned in the previous post.  I believe that the device and drivers are all in order but I just can't figure out why the example program isn't working.  Any ideas?

Thanks,

Paul    

0 Kudos
Message 3 of 4
(3,309 Views)
 

Paul,

If you see in the readme.html file for the NI Traditional DAQ driver 7.4.1, it should be used with LabVIEW 7.0 and later and is not supported or tested on LabVIEW 6.1.  The latest version of the NI-DAQ driver is version 7.3 according to its readme file.   I would recommend downloading  version 7.3 for LabVIEW 6.1.

Hope that helps.

Regards,

 
Raajit L
National Instruments
0 Kudos
Message 4 of 4
(3,274 Views)