Jump to content

Incursion dot on VISA configure serial port


Recommended Posts

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 :rolleyes:

Thanks

Link to comment

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

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.