LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read digital line input

Hi all,

 

I have a stream of digital data coming into 1 line in USB-6501. I have configured 1 digital line input using the DAQ express. How do I able to read this stream of data in an array or table with the time interval?

 

Any help is appreciated. Thnaks.

0 Kudos
Message 1 of 7
(2,721 Views)

You can configure your DAQ Assistan to read N samples, where N is the amount of bits that you want to read, and save them into an array of booleans.

 

Regards.

Jaime Peña
National Instruments Mexico
Ingeniería de Aplicaciones
www.ni.com/soporte
0 Kudos
Message 2 of 7
(2,709 Views)

I have configure the DAQ assistant to N samples with the required number of samples and rate. I save them to a boolean array but i have an error. It say the source is 1-D array of digital waveform and the sink is 1-D array of boolean.

0 Kudos
Message 3 of 7
(2,697 Views)

Hi

 

Try the attached VI and let us know if that is what you were looking for

Regards
Freelance_LV
TestAutomation Consultant
0 Kudos
Message 4 of 7
(2,689 Views)

Hi Freelance LV,

 

I am using version 8.5, are u able downconvert it for me?


@Freelance LV wrote:

Hi

 

Try the attached VI and let us know if that is what you were looking for



 

0 Kudos
Message 5 of 7
(2,685 Views)

Hi

 

Attached is a screenshot.

Regards
Freelance_LV
TestAutomation Consultant
0 Kudos
Message 6 of 7
(2,671 Views)

It's irrelevant since you cannot set the 6501 to read N samples at a specific rate. Your only option is to use On Demand timing. Surely your DAQ Assistant is giving you an error.

0 Kudos
Message 7 of 7
(2,662 Views)