Using a property node I made sure that ASRL End In was defined to be a termination character. u/AcroATX was correct that it was a problem with the Termination Character. I know that it's not a problem with my serial settings or termination character since I can use a program like 232Analyzer and get good readback indefinitely as well.ĮDIT: I seemed to have fixed it on my own. I've also followed some forum threads that have a similar problem but everything I've tried doesn't seem to work. If I try running at 12 or below bytes, it cuts the message short and I cannot use a scan from the string to get the number I want out of the read data. I also tried the idea of reading the read data one byte at a time and trying to parse it together but that gives me a separate error. I know it's related to the read byte count since if I set it to below the number of bytes it runs indefinitely, but if I set it to 13 (the amount specified in the sensor's manual) or more, I get the error. VISA: (Hex 0xBFFF0015) Timeout expired before operation completed. Error -1073807339 occurred at VISA Read in Untitled 1.vi I'm currently trying to cannibalize the serial continuous read/write example vi to try to generate graphs or email alerts of pressure data for my own use.Ĭode will run fine for a second and correctly give me good read data from the sensor but after about ~100 iterations of the while loop, there won't be a read message the VISA Read will time out.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |