Jump to content

Need a tip to carry out a measurement


Jan

Recommended Posts

Hello,

I am completely new to LabView and am currently trying out the JKI statemachine.
I have already built an interface and the communication with devices such as voltage source, measuring device etc. is also working.
However, I'm just missing the idea of how best to start a continuous measurement.
Be it a measurement that only starts every 30 seconds, for example, or a measurement that is as fast as the measuring device can go.


Do you have any tips for me on the best way to do this?
Do I make a timer in the event structure which triggers again and again or do I do this somehow via the user events?

I am using Labview 2016.

  • Upvote 1
Link to comment
Share on other sites

Hi @Jan.  A design pattern we often use is to put the OpenG Periodic Trigger into the Timeout frame of the Event Structure and enqueue a state when the period occurs.  We're currently working on a new 2024 release of the JKI State Machine that has a support VI for Periodic Enqueuing of states.

New VI Coming Soon


image.png


How you can do this today (with Periodic Trigger in the OpenG Time Library)

image.png

  • Like 1
Link to comment
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.

Loading...
×
×
  • Create New...

Important Information

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