Commbreak

Hello,
I need to generate a break on the rs232 COM port in CVI real-time system.
I tried to use the ComBreak() CVI function, but there is not enough resolution (i need a 650 µs break) and there is an important timeout between the break and the next frame.
I also tried to use SetCommBreak() and ClearCommBreak().
But these function doesn't support CVI real-time system.
Is there any solution to solve this problem ?
Thank you for your help!
Solved!
Go to Solution.

Unfortunately the CVI RS-232 library does not support setting the break state for less than 1 ms. Another option would be to program the serial port using VISA, which does allow you to set and clear the break state directly, so you can leave it asserted for however long you need. To do so, you would call viSetAttribute with VI_ATTR_ASRL_BREAK_STATE.
Mert A.
National Instruments

Similar Messages

Maybe you are looking for

  • How to unpivot in SQL Server 2008 R2

    Hi, I have data like below: AvgPetrolPrice AvgKerosenePrice AvgGasOilPrice GrowthRatePetrol GrowthRateKerosene GrowthRateGasOil 685 689 688 0.21 0.21 0.21 I need output like below: Product Avg for the Year Growth Rate for the Year Petrol 685 0.21 Ker

  • Query handled OK on Oracle server but XSQL Servlet raises OracleXMLSQLException

    After dropping and recreating certain object types, and then using ALTER TYPE on an object dependent on those object types, XSQL Servlet raises exception for a query that is handled fine in the Oracle Server itself (ie, in SQL*Plus) as in the followi

  • Cannot check in .mpp file

    I was able to check out an mpp file make changes and check it back in sharepoint but since few days If i checkout the file and do any change save it and check in, it shows the below error message. However, the issue does not occur for word docs in th

  • Opening pdf files using ' Preview '

    To whom it may concern, I would be extremely grateful if anybody could assist me with my inquiry. The vast majority of pdf files that I open using the 'Preview' software do not seem to fit the whole window. In other terms, i am looking for a solution

  • Odd Open/Create/Replace File Behaviour

    Hi all, I will make my question as general as possible as I believe someone must have come accross this behaviour before. I am using the Open/Create/Replace File function to programmatically open a file, by giving a path input created in an earlier v