06-29-2017 10:56 AM
I am trying to create a physical LED array using Arduino + LINX and making a driver program with Labview. This means that I need to multiplex with loop times in the microseconds. I know that Windows cannot generate a reliable time under 1 ms but I am pretty sure the Arduino can since we are able to simply use the command delayMicroseconds(). Is there any way to use LINX to generate a signal that is faster than what Windows is capable of?
Solved! Go to Solution.
06-29-2017 08:05 PM
If the Arduino will run at the speed you need, you should program the function/feature into the Arduino. Then you can try to setup some (slower) communication between LabVIEW/LINX/the host PC and the Arduino for any changes you need - for example, perhaps you can send a LED array pattern (or some suitable input that can be used to determine the pattern) to the Arduino, then run it on the hardware.
You're unlikely to get anything reliable that requires frequent and specifically timed interaction with a non-RT Windows machine.
07-06-2017 07:02 PM
I ended up just making a custom command through LINX containing the Arduino code that I needed. This resource helped.
08-06-2017 05:13 PM
please can you share your file which you made it by this method because i need to work with LINX with more loops fast
05-21-2019 12:37 AM
@johndoe1010 wrote:
I ended up just making a custom command through LINX containing the Arduino code that I needed. This resource helped. .
Did you get your loops running faster than 1ms?
I want my loops closer to 1 microseconds.
08-03-2021 03:54 PM
Hi johndoe1010,
How are you? I was wondering if you were successful to lower the delay/loop time in the arduino code creating custom functions as you mentioned in your post. If you did, could share your solution or give more hints on how to do it?
Thank you in advance.
Best, Massimo