12-19-2013 09:04 AM
Hi everyone,
I'm trying to use the LIFA for a project I'm doing now, bur I don't know how to solve a difficulty that I'm facing. I'm acquiring signals with the USB-6009 and at the same time sending either HIGH or LOW values through the pins 8,9 and 10 of the Arduino board to control a digipot. As you can see in the attached image, I can control which value is send to each pin by clicking on a boolean control which operates a select function. Now I'd like to do that automatically for the pin 10, so I could set a HIGH value, wait 100 ms, set a LOW value, wait 1000 ms and repeat the process. I've tried with digital waveforms, but it doesn't work. I would really appreciate any help.
Thank you guys,
Oscar
12-20-2013 07:58 AM
Hi Oscar,
There are some ideal ways to do this but we would need to change your code a lot. So, I was thinking in a way to do it without changing your code to much and I made this, sorry because I don't have the LabVIEW for Arduino so the Arduino VIs are broken, but the logic to generate the signal changes is attached.
Any help you need just tell us.
12-20-2013 09:58 AM
Oscar,
Considering your application, you could also use a waveform generator, but you'll need a point by point wave generator. You can find it in functions, just go to Signal Processing, Point by Point, then Signal Generation and Square Wave, like the attached image.
12-22-2013 10:44 AM
Thiago thanks a lot for your help!
Now I'll try both possible solutions you recommend and see which one suits better for what I need.
Once again, thank you very much for this.
Greetings from Colombia
Oscar