postformac Posted April 20, 2009 Report Share Posted April 20, 2009 Hi, I have my Labview program communicating with an external device and it all works well, however I have one incursion dot on the VISA configure serial port sub-VI. The incursion dot is on the "parity" setting, which according to the help should be set to a zero for no parity. From looking at the sub-VI itself it is expecting an unsigned word (16 bit) input which is what I have the data type of my input set to. I notice that this incursion dot is also present in the simple serial read and write example program supplied with LV, so I'm obviously not the only one that has this problem! Is there any way to get rid of this red dot? Its not causing any issues but its the last incursion dot left in my whole project and I'm just generally picky Thanks Quote Link to comment
PA-Paul Posted April 20, 2009 Report Share Posted April 20, 2009 If you delete your constant, and then right click on the "Parity" terminal of the sub VI and "create constant" (or control, depending on what you need), I suspect it'll give you an enum list - select the option you want, and the "coercion" dot will disappear... The data type that the subvi is expecting is an enum, not just a simple integer - hence the coercion. Hope that helps Paul Quote Link to comment
postformac Posted April 20, 2009 Author Report Share Posted April 20, 2009 Thanks very much, that fixed it. I wonder why they have left it like that in the example program provided with the software? And yes, you're right, I meant coercion dots not incursion dots :headbang: Thanks again Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.