06-23-2013 07:31 PM
Can someone help me out with this. A clock to trun on and off a pump with the arduino. When i run the program on the computer its not working im not sure what I am doing wrong,
06-24-2013 01:27 PM
Hey Kollin,
Can you provide some more details on what exactly you want to do? For example do you want to turn on a pump for 1 minute every 5 minutes? On one second, off one second, etc? Does you want relative or absolute times, etc. The more info you can provide the more we can help.
Thanks!
-Sam K
LIFA Developer
06-24-2013 01:39 PM
06-24-2013 01:52 PM
Here is a really simple example that might be what you are looking for. A good first step is to prototype without the Arduino hardware as you did:
Then you can add in the Arduino VIs like the following:
I didn't test this on the hardware but the code is attached.
-Sam K
LIFA Developer
06-24-2013 07:31 PM
Thank you all for the help. This is my little girls project for the summer. She is working on a Data Acquisition Seystem for her Hydrophincs seystem that she bult. We found out last night.That when you hit run or play and moving over the wire you can see the out put of the code, Then we saw the format form the Numeric String and the Match Pattern Function was not the some format. After knowing that it work. If any one know books or video to help her learn Labview that will help. Her plans or to read Temp, Ph, PPG/EC/TDS, Timers, open and close valves, graphs and I am sure she will come up with more. Once again thank you all for the help.
Sammy_K the code you sent is look easier and we going run it tonight.
06-25-2013 11:14 AM
Hey Kollin,
The LabVIEW in 3 Hours material is a good place to start if you're new to LabVIEW (and it's free!). It talks about myDAQ a bit but it maily covers LabVIEW basics.
Feel free to post back with additional questoins as you guys learn and continue your project.
-Sam K
LIFA Developer
06-25-2013 04:41 PM
Here is some more LabVIEW getting started material:
http://www.ni.com/academic/students/learn-labview/
-Sam K
LIFA Developer