Jump to content

Blinking on RT + FPGA


kull3rk3ks

Recommended Posts

Hi there!

 

For my current project i needed to make some DOs on a cRIO blink at certain intervals (for signaling).

I wrote a sub-VI that i thought would do the trick, but it doesn't seem to work.

 

The output merely pulses. It works with "normal" tick counts on the computer, but as soon as I send it to the RT Task (Communicating with the FPGA) it seems to stop working.

 

i've attached the sub-VI. it's written in LV 2012. Hope you can help,

 

Robert

Blinken.vi

Link to comment

What do you mean by "send it to the RT Task"? Can you show how this is used in your larger project? Generally I wouldn't recommend writing it that way; it's better not to put indicators inside structures if they are connected to subVI outputs. A somewhat simpler approach would be this:
post-3989-0-56084200-1358874543.png

That said, I don't actually see a logic problem with your original approach, so I suspect the problem may be further up.

  • Like 1
Link to comment
What do you mean by "send it to the RT Task"? Can you show how this is used in your larger project? Generally I wouldn't recommend writing it that way; it's better not to put indicators inside structures if they are connected to subVI outputs. A somewhat simpler approach would be this:

attachicon.gifBlinken-modified.png

That said, I don't actually see a logic problem with your original approach, so I suspect the problem may be further up.

Another alternative:

 

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.