Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ problems on 6025E board

I am using a 6025E board. I need to do simultaneous digital and analog input at around 3KHz. I tried running the "Continuous CDI with AI (E)" example in LabView 6.1. When I run it, I get an "Error -10007 occurred at Digital Group Config.". In fact when I run anything that uses the DIO Config I get it. I know this board contains 8255 elements that control the extra DI ports. Is there some way I can modify this example to work with my board? Or is there another one somewhere that is compatible? Thanks.
0 Kudos
Message 1 of 5
(3,037 Views)
Greetings,

First, I want to point out the fact that the three ports provided by the 8255 PPI are numbers 2,3,4. This board does not have a port number 1 (port 0 is provided by the DAQ-STC). This can cause people problems.

Furthermore, the example you are trying to use is not supported by your board. It was designed for use with the PCI-6115 and 6120. Both of these devices have high-speed digital I/O capabilities. I would suggest that you take a look at the examples located in Hardware Input and Output >> DAQ >> Digital Input and Output >> 8255. Specifically, Dig Buf Handshake In(8255).vi illustrates how you will, most likely, want to implement your digital input code. The documentation for this example explains how you can use this VI to acquire
digital data with a clock as long as the clock is not too fast because, technically, you will be using handshaking. Furthermore, you will need to add your analog input code to the example and use the AI Scan Start signal for your digital input clock.

Good luck with your application.

Spencer S.
Message 2 of 5
(3,037 Views)
A few days after my original post I got LabVIEW 7. So my first question is: How can this be done in LabVIEW 7, preferably using the DAQmx VIs. If this is not possible, then I need some help doing it the old way. I combined 'Dig Buf Handshake In(8255).vi' and 'Acquire N Scans Digital Trig.vi' into the attached file. They work fine until I add the 'Param' block. How can I make this work with the digital in triggering on AI Scan Start.

Thanks,
Michael
0 Kudos
Message 3 of 5
(3,037 Views)

Michael,

To accomplish this task with NI-DAQmx, you should use the examples listed below:

Examples >> Hardware Input and Output >> DAQmx >> Analog Measurements >> Voltage >> Acq&Graph Voltage-Int Clk.vi

Examples >> Hardware Input and Output >> DAQmx >> Digital Handshaking >> Handshaking Input-8255.vi

It is not possible to directly route the analog input scan clock to the appropriate digital input handshaking line. You will first need to route the scan clock to PFI7 using DAQmx Export Signal.vi. Then, you will need to wire PFI7 to the STB line for the digital I/O port you are using. Table 4-4 in the user manual for the NI 6025E contains this information. I have included a link below:

6023E/6024E/6025E User Manual

I hope this helps.

Spencer

0 Kudos
Message 4 of 5
(3,037 Views)
The Export Signal VI takes in:

Signal is the name of the trigger, clock, or event to export.

Under help for the Export Signal VI there is a list of signal numbers, but none of them are AIScanStart. Also of the ones listed the only one that doesn't give me a "not compatible with hardware" error is Sample Clock (12487).

Thanks,
Michael
0 Kudos
Message 5 of 5
(3,037 Views)