11-29-2018 04:55 AM
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
11-29-2018 06:54 AM
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…
11-29-2018 07:54 AM
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.
11-29-2018 07:59 AM
11-29-2018 08:17 AM
because the CompactRIO chassis are too expensive.
11-29-2018 08:49 AM - edited 11-29-2018 08:52 AM
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…)
11-29-2018 09:18 AM - edited 11-29-2018 09:28 AM
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
11-29-2018 09:48 AM
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
11-29-2018 09:59 AM
Hi Jens,
I use cDAQ-9171. I couldn untersand the example (Pipelined Sample Clock) und how to use it with my problem.
11-29-2018 10:52 AM
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