Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How to acquire Digital and Analog signals at same rate 10ks/s using 6025 ?

I want to acquire 8 lines of digital and 3 analog signals.
these signals should be writtern to file in spreadsheet
 
I am trying with 6025 card where bothe digital and analog channels are available ,
but on DAQ Asstt. vi when I tried to input the rate for digital inputs , it signals an error number
-2000777  and further says that
"You selected sample clock , You can select on Demand"
 
How to fix this problem?
thanks in advance
Matloob Hussain
 
0 Kudos
Message 1 of 7
(4,589 Views)

I am using

Labview 7

daqMx ,

6025 E card

Matloob Hussain

0 Kudos
Message 2 of 7
(4,589 Views)
Hello,

Your 6025 is part of the MIO E Series family.  E Series cards are only capable static digital input and output.  This means that they do not have a timing engine and cannot generate data on clock edges and you cannot acquire analog and digital data at the exact same time.  There is another discussion forum found here that discusses this.  M Series devices have the ability to perform correlated digital IO, that they can use a clock from another system (i.e. ai sample clock or using a counter to generate a clock) to generate/acquire data on.  You can find more information on the differences between E Series and M Series devices here.

When you configure a digital DAQ Assistant operation you will want to select the 1 Sample (On Demand) option.  This will perform one digital input or output every time the DAQ Assistant executes.  I hope this answers your questions.

Regards,

Jesse O.
Applications Engineering
National Instruments


Jesse O. | National Instruments R&D
Message 3 of 7
(4,575 Views)

 

can we use the clock of 6025 E board for "Digital In"?

if we can then how much fast we can go in Ks/s?

thanks

 

 

 

0 Kudos
Message 4 of 7
(4,555 Views)

Hi Haider,

 

Like Jesse said, the 6025E contains only static digital I/O, so there isn’t a digital input sample clock.  With that product, you will need to use software timing to perform the acquisition. 

 

This is usually done by reading the digital input in a while loop with a delay inside of it.  Each iteration, the device will take a sample, and the timing of the acquisitions will be system dependent – your operating system will determine how often the samples are acquired.  This usually corresponds to an acquisition rate of about 300-500 samples per second, but depending on your PC, you may get more or less.

 

Ed W.

Applications Engineering

National Instruments

Message 5 of 7
(4,535 Views)

ok

then is it possible to go beyond 2k/s of Digital signal acquisition  accurately using software timing?

thanks

Haider

0 Kudos
Message 6 of 7
(4,524 Views)

Hi Haider,

 

You won’t be able to get 2kS/s with software timed acquisition.  Like I said in the last post, you’ll probably only be able to achieve around 300-500S/s for your acquisition rate.

 

Ed W.

Applications Engineer

National Instruments

0 Kudos
Message 7 of 7
(4,509 Views)