Dear all,
Being a novice to LabVIEW I could not readily found any nice tutorials for simultaenous operation of PWM output and digital/analog inputs.
I would basically want to update the PWM duty cycles used to control the LED intensities while at the same time reading digital and analog inputs. Additionally I could want to buffer the analog/digital samples during pre-determined sampling periods, i.e. I would like to sample the inputs for a second and determine from those samples whether values were above certain threshold, how many times the digital input was high, the mean of analog input, etc.
I have managed to manage to make the individual tasks work but when trying to put them together the system does not really function as I wish. In the attached example (flickerExample.vi) the LED intensities are nto updated at all whereas the example worked without the input channels, so probably I jam the Arduino in a way that I don't understand.
Could someone have ideas how to make the simultaneous channels work in a DAQ fashion for Arduino?
Best wishes,
P