Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

SCXI-1001 and BNC-2090A connected to PCI-6259

SCXI-1001 and BNC-2090A are connected to PCI-6259 through connector 0 and 1 respectively.   The reason we connected SCXI-1001 to connector 0 is because it otherwise was not detected.   When the connectors are switched,only the BNC-2090A is detected on MAX.   Also we lose digital I/O connectivity on BNC-2090A.  Error message says it's reserved.   Is there a way I can use SCXI-1001 and BNC-2090A at the same time and still have all digital I/O working on BNC-2090A?         

Thank you.

0 Kudos
Message 1 of 4
(3,547 Views)

Hi WS17,

 

When SCXI is configured, it reserves DIO lines on connector 0, which are listed in Using the Digital I/O Lines on an E or M Series DAQ Board While Controlling an SCXI Chassis. As long as your DIO tasks do not use P0.<0..2>, P0.4, P1.7, P2.<2..3>, or P2.7, you should not get a reservation error.

 

When configuring a DIO task, specifying Dev1/port0 tells DAQmx to use the entire port, Dev1/port0/line0:31, which includes SCXI reserved lines. To avoid this, specify the actual lines you want to use, such as Dev1/port0/line8:15,Dev1/port0/line24. You can still use the port versions of the DAQmx Read/Write VIs with a subset of the lines; the unused lines are masked out.

 

Also, when the BNC-2090 is connected to connector 1, the channels are mapped to different names than what is printed on the front of the accessory. Mapping an M-Series Device to a BNC-2090 shows that the DIO<0..7> lines on the front of the accessory correspond to P0.<8..15> when it is connected to connector 1.

 

Brad

Message Edited by Brad K on 04-29-2010 10:01 PM
---
Brad Keryan
NI R&D
Message 2 of 4
(3,537 Views)

Brad K,

 

It took us some time to figure out but what you suggested really worked.   Thank you so much.

Now we have some other problems with running multiple VIs and wonder if you can help.    We have two different VIs that use the same SCXI hardware (6259) but different analog inputs.  They both work individually but not simultaneously.   We get error message (#50103) saying that we have a conflict issue.   We tried suggested solution in case#7 on this link http://digital.ni.com/public.nsf/allkb/485201B647950BF886257537006CEB89#case6  but did not work.    Could you give me some other suggestion or some links for examples?    Thank you.

 

WS17 

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

Hi WS17,

 

I am assuming that you are actually refering to Case#6, and not Case#7 on that document. In either case, have you tried to consolidate your two separate VIs into one VI that uses one DAQmx Create Channel VI (Analog Input)?

Best regards,
Rohan B
0 Kudos
Message 4 of 4
(3,411 Views)