Jump to content

SubVI execution


Recommended Posts

Hi friends,

I have a case structure with 'Read and Write data' SubVIs. I want to read data(thru' ethernet port) while writing serial port data. This is to be done simultaneously.

I mean I want to set the property of the Write data VI to ' always run' and move on to the next case structure to read data from Ethernet port. In my application Write data is stopped before running the Read VI, in which case, I get incorrect values.

How to change the 'Write data' VI's property to continuously run until I reset the property?

Thanks

Sharon

Link to comment

Hi friends,

I have a case structure with 'Read and Write data' SubVIs. I want to read data(thru' ethernet port) while writing serial port data. This is to be done simultaneously.

I mean I want to set the property of the Write data VI to ' always run' and move on to the next case structure to read data from Ethernet port. In my application Write data is stopped before running the Read VI, in which case, I get incorrect values.

How to change the 'Write data' VI's property to continuously run until I reset the property?

There's no property that does that--you have to implement it. Set up a separate loop whose sole job is to write data to the serial port. When you have data that needs to be written, send it to that loop via a queue.

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.