09-02-2013 04:19 AM
All,
I'm trying to send boolean datas to a sensor with a baud rate from 2400 to 7200 ("Communication with the ColorPAL takes place using serial I/O, transmitting and receiving at between 2400 and 7200 baud, using a non-inverted, open-drain protocol.").
Thus I use the attached VI and set Hz to 41 670 000 and baud rate to 4 800.
Is my way to communicate with the device correct ?
Thanks in advance for your help.
Kevin
09-02-2013 04:23 AM
Can you uplload in 2011 fomat?
09-02-2013 04:41 AM
Is it working for you now ?
09-02-2013 04:52 AM
Yes it does? you need only serial communication right?
09-02-2013 05:01 AM
Yes that's right, only serial communication via DIO pin (I work with DaNI robot so sbRIO 9632)
You can have a look at Parallax documentation about the sensor here: http://www.parallax.com/Portals/0/Downloads/docs/prod/sens/28380ColorPAL.pdf
09-02-2013 05:06 AM
The way you write your VI is very complicated if you need only serial comm.
Your link is not working
09-02-2013 06:32 AM
I'm also pretty sure that there are many other simple ways to write my VI. But I managed to see correct square waves on an oscilloscope so I suppose that my VI is running correctly. I just want to know if I respect the sensor baud rate from 2400 to 7200 with my VI.