Jump to content
Sign in to follow this  
bharathp

LVOOP in continuous process

Recommended Posts

Hi everyone.

I need help regarding LVOOP implementation. I have gone through several examples and documents on LVOOP for quite some time, and finally decided to use it in this simple application. In my project LabVIEW application communicates between a PLC(local) and a server(TCP).I have used command pattern.For the server part i have created class and methods and it runs in a separate loop(i pass messages from main process loop). my problem is how can i make my main process using the same method? In QMH and state machine i can do it easily by checking condition and queuing next action how can i implement the same using OOP?

I have tried passing the next command in the current method. Is it the right way to do?

I am also thinking using a while loop inside methods for checking for validating conditions is it okay to do so?

Or should i use QMH for the main process to send commands to the server loop?

Or am i doing it all wrong?:(

Thanks.

LVOOP attempt.zip

Edited by bharathp
attached project, its under progress ignore errors.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
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.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.