10-19-2020 08:49 AM
Hi, I had a quick look at other posts but there was just too much information for me to find what I want.
I am running labview 2020. I want to send a digital output to a stepper motor controller. I tried sending N samples but it won't allow me. It will only allow 1 sample on demand. (I need a frequency of 2kHz, so if I input 1MHz the error in period will only be 2% which will be ok. I am updating the speed every 50 ms approx). I can generate the acceleration curve giving me a Boolean array, but the DAQ assistant will not take N samples.
Any help would be greatly appreciated.
Michael
10-19-2020 09:01 AM
It's a limitation in the hardware. It is a low cost piece of equipment.
Your only option is to do it with software timing which means it may not be reliable enough for you. That means a while loop that runs as close to the rate that you want collecting 1 sample at a time and building that into an array.
That, or buy a piece of hardware that does have digital I/O timing.