Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DAQmx Base Mac OSX problem with NI M 6284 DAQ board

Hi,

I've got a G5 biproc running Mac OS 10.4, a PCI M 6284 and NI-DAQmx Base 1.5 for Mac OSX (downloaded few weeks ago).

When using lsdaq to check recognition of my device, it's ok, it appears : "NI 6284: "Dev1" (PXI6::3::INSTR)".
When using mxbaseconfig to create tasks (using button "create new task"), everything looks good except that I can't press the "OK" button. It's disabled. Many try, resets... nothing works.
Did anybody meet this "OK frustration"...?

Concerning use of static and dynamic example VI's, AI, AO works great. Concerning Digital Input and Output, I can't figure out why DO works with "Device1/Port2" and not with "Device1/Port0" while DI works with both.

I hope somebody could light my candle !

Regards,

Boris Matrot
0 Kudos
Message 1 of 7
(3,922 Views)

Hello,

Do you have any error code ? Are you sure you dont try to configure input and output the first port ?

Regards,

 

Isabelle
Ingénieur d'applications
National Instruments France
0 Kudos
Message 2 of 7
(3,899 Views)
Hi Isabelle,

Thanks for your message.

I use the daqmxbase dynamic example in "applications/NI/Labview7.0/examples/daqmxbase/dynamic/dio/write dig port.vi".

When I put "Dev1/port0" (default value) in the channel parameters, I've got :
"Error -200565 occured at Specified digital channel contains more bits than supported by the 8-bit version of DAQmxBase Port Write that supports wider digital ports.
This Error code is undefined..."

When I put "Dev1/port1" I have no error anymore and I have 5 Volts out of my BNC block, so everything is ok.
It works with "Dev1/port2" too.

Reading digital port is ok (and tested with real signal).

Thanks for your help.


Boris Matrot

PS : another little question, my board is a M6284, and should have 48 digital inputs and outputs. "Dev1/port0","Dev1/port1" and "Dev1/port2" allow me to dialog with 24 channels. What are port names of the 24 others ?
0 Kudos
Message 3 of 7
(3,898 Views)
port0 is a 32-bit port which explains your missing DIO lines and the error you are seeing.  In the example, try to read from port0, but change the the read VI to the U32 personality instead of U8.
Message 4 of 7
(3,894 Views)
Thanks for your reply, Malcolm. Everything is all right now.

Last question, my board should have 32 analog inputs, but there is only 16 ports.
Does it mean that I could record 16 signals only ? (for NI, 1 signal = 2 ports)
Am I right ?

Thanks

Boris Matrot
0 Kudos
Message 5 of 7
(3,889 Views)
Boris:

I didn't see an answer to your question about using mxbaseconfig to create tasks for your M-series board.

I ran into this, too. The answer is that you can't. When they say that NI-DAQmx Base 1.5 supports M-series boards, they mean that it *mostly* supports them, but not completely.
John Weeks

WaveMetrics, Inc.
Phone (503) 620-3001
Fax (503) 620-6754
www.wavemetrics.com
Message 6 of 7
(3,884 Views)
Hi John,

Thanks for your answer.
You're right about mxbaseconfig which doesn't work. However, we can thanks NI for maintaining the suspense until the last click !

Well, it's not a problem for me since I have to implement dynamic tasks, so mxbaseconfig is useless.

Thanks to every answerers.

Boris Matrot
0 Kudos
Message 7 of 7
(3,874 Views)