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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LEDs control with 74hc595 and Daqmx

Hey everyone, 

 

right now Im doinig my Bachelor Thesis and I realy need help. I`d like to control many LEDs  with NI-9403 und using 4 shift register. I`ve created this Subvi but I had the problem that the programm needs long time to control the LEDs. 

Could you please help me. Thans in advance 

0 Kudos
Message 1 of 12
(3,259 Views)

Hi Baron,

 

why don't you take none of the suggestions you got in your German LabVIEWForum thread?

Still all those sequences and unneeded FOR loops, apart from funny array handling.

 

Unfortunately you didn't say which DAQ hardware you use - in the last 2 month…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 12
(3,223 Views)

I think I can´t use  hardware timing with NI 9403. It can be used only as a static (software-timed) digital I/O module.  

0 Kudos
Message 3 of 12
(3,203 Views)

Hi Baron,

 

then why do you ask for speed improvements when your hardware doesn't support them?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 12
(3,198 Views)

because the CompactRIO chassis are too expensive. Smiley Frustrated

 

0 Kudos
Message 5 of 12
(3,193 Views)

Hi Baron,

 

you don't need a cRIO. You need something being able to output digital waveforms!

 

Btw. "being expensive" is no LabVIEW problem. It's an accounting problem of your company…

(You are working on this for two month now. This would be much more than 10000€ for my company, if I would spend time on this problem…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 12
(3,182 Views)

Do you Know what exactly I need?  And Could you please make me an easy example with how to genrate two digital signals for two channels as waveform and tansmit it to the NI-Modul. 

I´m realy thankful for any help. 

 

Best regards,

Baron

0 Kudos
Message 7 of 12
(3,171 Views)

What chassis do you use? Even a single slot chassis 9171 provides the functionality to use digital waveforms on a 9403 module. Have a look at the examples in the NI example finder - there should be something suitable.

 

Jens

Kudos are welcome...
Message 8 of 12
(3,157 Views)

Hi Jens, 

I use cDAQ-9171. I couldn untersand the example (Pipelined Sample Clock) und how to use it with my problem. 

0 Kudos
Message 9 of 12
(3,154 Views)

I'm not sure if that example is applicable for a 9403 in a cDAQ chassis, but the Finite Output example should work with this module - at least it does when I simulate that hardware.

 

Now you "just" have to create digital patterns for all the lines that you need to output in parallel, put that together and send it to your 9403.

 

Jens

Kudos are welcome...
0 Kudos
Message 10 of 12
(3,136 Views)