LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquire Analog and Digital inputs at the same time with 6025E card

I have 6025E DAQ card, all the analog channels are used
up. There are several digital signals, such as flowmeter. Can I acquire both kinds of data at the same time with my 6025E card? Thanks for your help.
0 Kudos
Message 1 of 5
(2,959 Views)
The user manual for that device

http://www.ni.com/pdf/manuals/322072b.pdf

indicates that it uses programed I/O to interact with the DIO lines. This could be a major complication!

Are you trying to acquire timng info from the digital lines and if so, what kind of precision do you need in your timing?

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 5
(2,959 Views)
No timing information. Software timing will be used,
so not too much precision. I am wondering there is
any such example of doing the analog and digital
input on the same card at the same time.
0 Kudos
Message 3 of 5
(2,959 Views)
I suggest you search the examples that ship with LV

Digital
Find Examples>>>Hardware Input and Output>>>Digital Input and Output>>>8255

for doing each type of I/O seperately.

When you have found two examples. Just try to run the two at the rate use need in your final app.

Post follow-ups Q's here. I am not personally familiar with that deveice so I can not speak from experience.

I would generally expect that if you sample rate is low (i.e. <10Hz) you maybe happy with the results. If you want to run faster or have the PC do something else at the same time, the timing of the signals form the DIO lines may be suspect.

So...
It depends.

Trying to help,

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 5
(2,959 Views)
Ben is on the right track here...

If you open up the following two examples that ship with LabVIEW (use the LabVIEW example finder):
"Cont Acq&Graph (buffered).vi" and "Read from 1 Dig Port (E).vi"
You can run both of these two VIs at the same time. This will be the best you can do for simultaneous DI and AI. The reason is that the Digital Input on the E-series boards is not a "strobed" or hardware-timed operation but the Analog Input is. So there is no way to correlate the data exactly. If this works for you, do as Ben suggested and combine the code from the two VIs into your main application. Good Luck!!!

Sincerely,
Brooks Bailey
Applications Engineer, NI
0 Kudos
Message 5 of 5
(2,959 Views)