LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

initialize DIO-96 failure -10007

Hi:

 

A routine to initialize the DIO-96 card is failing and I need some help.  Here are the details:

 

The VI:

======

C:\Program Files\National Instruments\LabVIEW 7.1\vi.lib\daq\zadvd.llb\DIO Port Config.vi
Revision 22
The date on my *.llb files is  3/27/2004


VI Settings:

=======

Device: 1  (Verified through MAX)
Digital channel: 3
Port width: 8
line direction map: -1
wired OR map: 0

The Error:

======

Error -10007 occurred at DIO Port Config

Possible reason(s):

NI-DAQ LV:  A channel, port, or counter is out of range for the device type or device configuration;
 or the combination of channels is not allowed; or the scan order must be reversed (0 last).

NI-DAQmx Devices Installed;

======================
PCI-6229: "Dev3"
PCI-DIO-96: "Dev1"
PCI-6023E: "Dev2"


My PC:

=====

Labview 7.1

Windows XP, Service Pack 2
Pentium 4 CPU, 3GHz

 

Debugging:

=======

The DIO-96's remote panels worked just fine.  All 11 ports were available and configurable.  Almost all of the lines in ports 0 to 4 were

high when configured as inputs.  Two lines were low, but there is a fixture connected.

 

 

 

 

0 Kudos
Message 1 of 14
(4,259 Views)
Message 2 of 14
(4,235 Views)

I've installed DAQmx 8.7.1 to deal with the incompatibility issue, but after installation, the C:\Program Files\National Instruments\LabVIEW 7.1\vi.lib\Daq directory is empty.  This was where my "older" code was looking for the "zadvd.llb\DIO Port Config.vi" vi.   I now have several questions:

 

1. DAQmx 8.7.1 doesn't install the original drivers my code was written with.  How do I install them?

2. MAX only shows “NI_DAQmx Devices”, and no longer shows “Traditional NI-DAQ (Legacy) Devices”. This seems to make sense, but can someone give me confirmation?

3. The installation file for DAQmx was over 800MB.  Is there a smaller file I could have used to deal with this incompatibility issue?

 

 

 

The details (thanks Andy)

A) The legacy incompatibility issue.

Error 10461 / 10008 @ DIO Port Config (Legacy, lvdaq.dll) http://forums.ni.com/ni/board/message?board.id=170&message.id=424836&req
uireLogin=False

 

B) DAQmx Links:

If you have LabVIEW 7.1, you would need DAQmx 8.7.1 http://joule.ni.com/nidu/cds/view/p/id/965/lang/en
If you have LabVIEW 7.1.1, you would need DAQmx 8.7.2 http://joule.ni.com/nidu/cds/view/p/id/1087/lang/en

0 Kudos
Message 3 of 14
(4,213 Views)

Why did you install DAQmx? That is not the required driver and of course it does not install the obsolete driver. Unless you are planning on rewriting the program, you have to install traditional DAQ. If you are not planning to rewrite it, then you could just uninstall DAQmx.

 

p.s. It would really be of benefit to rewrite the program.

0 Kudos
Message 4 of 14
(4,210 Views)
I reinstalled the DAQmx because of the compatibility issue with the traditional drivers that was brought to my attention.  A link to that issue is in my last post.  Are you sure it wasn't necessary?
0 Kudos
Message 5 of 14
(4,201 Views)
As I said, you only need DAQmx if you plan on rewriting the program to use it. And as I said, you should probably plan on rewriting the program to use DAQmx but that is your decision.
0 Kudos
Message 6 of 14
(4,199 Views)
Denis, I can't follow you because your not giving me enough details.
0 Kudos
Message 7 of 14
(4,193 Views)

There's no more details to give. It's very simple. You need the traditional DAQ driver installed to run your old code. Nothing else.

 

Since traditional DAQ is obsolete and no longer supported, that is why I recomend that you rewrite the program at some point to use DAQmx.

0 Kudos
Message 8 of 14
(4,183 Views)

I can't rewrite the code.  Don't have the station equipment with me, the only place it exists is 6000 miles away in China and my boss wants this fixed ASAP.  Are you saying it can't be done, or that you won't help me to solve the problem the way I've chosen?

 

The next thing I could really use your help with is determining what version of VISA driver is compatible with the DAQ instrument drivers 7.4.4 and MAX 8.7.1.  I still haven't fixed my problem, and this is the latest issue I have with getting this going.I've upgraded both and now I have a message that says: "Error -10738... occurred at OLD VISA Open in HP6xxxA Initialize.vi->RT.....Possible reasons: VISA A code library required by VISA could not be located or loaded."

 

 

 

 

0 Kudos
Message 9 of 14
(4,172 Views)

I have no idea what you mean - 'it can't be done'. I've already told you what you need in order to open the old program. Last time - you only need to have traditional DAQ installed. You had it installed at one point and it was your mistaken belief that you had to install DAQmx that messed you up.

 

Load whatever version of NI-VISA that you want. I would recomend the latest. I don't think there is any issue with the version of LabVIEW you are using and there would certainly not be an issue with whatever version of DAQ that you are using.

Message Edited by Dennis Knutson on 12-02-2009 02:33 PM
0 Kudos
Message 10 of 14
(4,168 Views)