From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read multiple Digital samples and plot a chart with time stamps

Hi,

 Could anyone send me a code that:

1. Reads 'multiple samples(lets say 4) from single digital input' 

2. 'plot digital data as a chart with time stamps'

3. Find frequency

4. Log data into file with time stamps

 

I have attached the code which i tried.

 

Thanks,

LK

 

Download All
0 Kudos
Message 1 of 4
(5,293 Views)

Try the Examples or give a search on the forums.

0 Kudos
Message 2 of 4
(5,286 Views)

I have tried all available examples. Iam still looking for a solution. I forgot to mention that iam using NI USB 6009 for data logging. 

 

0 Kudos
Message 3 of 4
(5,272 Views)

Hi,

 Could anyone send me a code that:

1. Reads 'multiple samples(lets say 4) from single digital input' using NI USB 6009 or NI USB 6251.

2. 'plot digital data as a chart with time stamps'

3. Find frequency

4. Log data into file with time stamps

 

I have attached the code which i tried.

 

Thanks,

LK

0 Kudos
Message 4 of 4
(5,224 Views)