Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How to send buffered Digital output to DAQ6025e via PCI-1200

I want to use buffered method to send digital signal to DAQ. Since the PCI-1200 has no connection with DIO<0..7>, I have to use PA<0..7>.
However, I cannot pass all the examples with this configuration. Do you know is this possible to use this method with this kinds of configuration? If not, which kind of hardware I should use? thanks a lot.
0 Kudos
Message 1 of 6
(3,729 Views)
 

Hi,

Both the PCI-6025E and the PCI-1200 support handshaking. You can use this method to send digital data from one card to the other.  There is a buffered digital output example on the web that should help you get started with your application.

I want to point out that the PCI-1200 is a Legacy device which can only use the Traditional NI-DAQ (Legacy) driver. I recommend upgrading to a newer card, possibly the PCI-6534, that can use the NI-DAQmx driver.

Regards,
Hal L.

 
0 Kudos
Message 2 of 6
(3,721 Views)
Hi, Hal:

Thank you for your response. I tried to run the example, digital_buffered_handshaking.vi, and it shows me an Error: 10403. I set the port list to be "2" (channel 2) and set the group direction to be "output". This code generated a warning 10403 at "DIO_config" block and cannot go through DIO-start. Do you know how to configure this problem? Thank you.
0 Kudos
Message 3 of 6
(3,704 Views)
Hi NN Q,
There are two more examples that I would like for you to look at.  In LabVIEW, go to the Example Finder >> Hardware Input and Output >> Traditional DAQ >> Digital Input and Output >> 8255.  From there, look at the Digital Buffered Handshake In (8255) and Digital Buffered Handshake Out (8255).  Both of these examples have thorough instructions for their configuration.  If you configure these examples and receive another error, could you please include more information on your setup of the program, particularly about the handshaking source?
 
Regards,
Hal L.
0 Kudos
Message 4 of 6
(3,687 Views)
Hi, Hal:

I tested the example, Dig Buf Handshake out(8255).vi. The DIO-CONFIG block gave me a new Error: 10490 message. Here are my settings for DIO-CONFIG:

Device =1;
Port list array = 2 (since I want to output patterned signals to PA0..7)
Group = 0 (if I choose 2, the Error is 10480);

Now, I am using PCI-6025e card and 1200 Adapter.

I even tried to manually set the signal mode to be "8255", it still showed me 10490 error.

I used "Measurement & Automation" to test the signal. It works fine to output immediate signals to each line of port 2 ( I can detect the voltage). Is this possible to test the buffer operation via the test pannel?

Thank you for your effort

Regards


0 Kudos
Message 5 of 6
(3,675 Views)
 

Hi NN Q,

I am currently looking into this configuration and I will post another reply when I have more information. In the meantime, I found a couple of knowledgebases that discuss the different pinouts with the adapter and some differences caused by the adapter.  Please take a look at these and keep playing with the examples.

Changing from PCI-1200 to PCI-6025E with PCI-1200 Adapter Leads to Application Errors 
Pinout Mapping for a PCI-1200 to PCI-6025E Adapter  

Regards,

Hal L.

 
0 Kudos
Message 6 of 6
(3,651 Views)