06-24-2014 03:47 AM
hi everybody,
first sorry for my english . i want to know that, can i generate square signals with labview and arduino mega 2560. i m new at labview (4-5 months). i want to control a step driver. and i need clock signals. but i must control how many signal (0-5 v) i generate. i did this with flat sequence but it is not as fast as i want.frequency is low. because program is long unnecessay. i attach the part of my program that generates 0-1 ( square signal) .
i tried to use tone.vi but i can not control the number of signals.
again sorry for my english and thans for your help.
06-24-2014 12:41 PM
You could use the Arduino Stepper Motor.VI. It is designed to generate pulses for an Easy Driver. You don't need to use an Easy Driver board. Instead you could use the Arduino Stepper Motor.VI to generate pulses for use with your stepper driver board. The Arduino Stepper Motor.Vi has controls for specifying the step rate, the number of pulses and acceleration.
hrh1818
06-25-2014 03:27 AM
thanks for your help dear hrh 1818
. but i colud not do it.and i think it will slow program. but it will be wrong. as i said i m very new at labview and arduino. can anyone write a simple program that gives me 100 hz signal output from one digital output of arduino and i must control the number of signal that is generated. i will be so glad.
thanks for your help.