LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Baud rate FPGA VI and sensor

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

0 Kudos
Message 1 of 7
(3,014 Views)

Can you uplload in 2011 fomat? 

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 2 of 7
(3,009 Views)

Is it working for you now ?

0 Kudos
Message 3 of 7
(3,002 Views)

Yes it does? you need only serial communication right?

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 4 of 7
(2,994 Views)

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

0 Kudos
Message 5 of 7
(2,992 Views)

The way you write your VI is very complicated if you need only serial comm.

 

Your link is not working

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 6 of 7
(2,989 Views)

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.

0 Kudos
Message 7 of 7
(2,974 Views)