08-19-2013 09:01 AM
All,
I'm currently trying to communicate between the ColorPal sensor (http://www.parallax.com/Portals/0/Downloads/docs/prod/sens/28380ColorPAL.pdf) and DaNI robot (to establish a line-following robot based on DaNI). So in LabVIEW I've made the reset application to enter in Direct mode (see bottom of page 5 in the pdf above), the VI ''ColorPal Reset'' in a FPGA Target that you can see in attachments. The problem is, when I run this VI, the second and the third boolean are staying false. Thus I have two questions:
1) Is my way to set High and Low the ColorPal pin available?
2) How can I manage to set the DIO pin Low for a certain duration, like 100 millisec. I've tried with Elapsed Time.VI but without success.
Thanks in advance !
Kevin
08-20-2013 05:21 AM
Sorry for the double post but my request is quite urgent. Thanks all
08-20-2013 09:07 AM
Good afternoon Kevin,
Try using the wait function as shown in the screen shot, using the mSec counter unit setting.
The timer used in your code (Loop timer) is used to control the wait time between loop iterations.
Please let me know if you are still having issues
Thanks,
08-22-2013 03:33 AM
Thanks a lot for your reply Aidan.
I've changed the loop timer for a wait function and some other things in my VI which is now running correctly.
Kevin