Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Write in ports PCI-6503

Solved!
Go to solution

Hello to everyone, I'm totally new in this area.

I'm having a problem with a PCI-6503 card, that is running in a PC with W98.

I have instaled the NI-DAQmx7.0 driver and I have developed a very simple application in order to test the sending of any signal by the ports of the board. I've tested the DAQmxCreateDOChan(taskHandle, "Dev1/port0","",DAQmx_Val_ChanForAllLines) function for write in a digital port, but it always returns: "DAQmx Error: Device identifier is invalid (-200220)"

So, I have a few points I'd like to check; in the Measurement & Automation application the PCI-6503 card appears like a traditional device therefore ¿Does it means that I have to use traditional drivers (libraries and functions like DIG_OUT_PRT) that you can found in the: nidaq32.lib library instead of Ni-DAmx libraries?

 

Thanks

Fernando

 

0 Kudos
Message 1 of 3
(7,060 Views)
Solution
Accepted by topic author DudosoVallekano

Hi Fernando

 

the very first thing you have to check is your device name under Measurement & Automation Explorer (MAX) must be the same the one you use on your LabWindows application. On the other hand, I have realized that it maybe a driver issue according to this knowledge base:

 

http://zone.ni.com/devzone/cda/tut/p/id/6910#dio

 

As you see, the supported version of DAQmx driver is 7.1. You can download it here:

 

http://joule.ni.com/nidu/cds/view/p/id/790/lang/es

 

You can find your board on DAQmx 7.1 readme file, but you cannot on 7.0. See this piece of information and look for your board:

 

http://ftp.ni.com/support/softlib/multifunction_daq/nidaqmx/7.1/readme.html

 

http://ftp.ni.com/support/softlib/multifunction_daq/nidaqmx/7.0/ni-daq_7_0_readme.htm

 

Let me know if a driver upgrade fixes your issue. Suerte y un saludo.

 

Jesus.

Message 2 of 3
(7,042 Views)

Thanks a lot!!

Muchas gracias Jesus!! 😉

0 Kudos
Message 3 of 3
(7,005 Views)