Jump to content

how to have a break on a serial bus which is 1ms


Recommended Posts

Hi guys,

My last question before going to enjoy the weekend. How can I put a break on the serial bus which is long exactely 1ms? I tryed to use the set break function but it make a break which isn't less than 2ms.

Actualy I wish that NI will give us the possibility to have a control of the micro seconds but, at the moment, such as everybody knows, it isn't possible!

Bye.

Link to comment

Thank you guys for your support in this matter.

I have solved the problem using a little trick, I'm changing the baud rate of the serial port with a less resolution then I write a 0x00 character on the bus then I change again the baud rate to the value it has to work and then I send the bytes on the bus. This allows me to send the right break on the bus which is used for synchronizing the device.

But it would be nice to have the possibility to have a break which is add up to 1ms exactely!

Thank you all....

Regards.

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.