From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-23-2008 02:07 AM
04-23-2008 03:10 PM
04-23-2008 04:37 PM
04-24-2008 03:56 PM
04-25-2008 08:52 AM
Tirstan,
We are actively researching and working on this feature for a future release, so keep a look out for that. The type of application you described is exactly the type of problem we are looking to solve.
Thanks for your question
Rick Kuhlman | LabVIEW FPGA Product Manager | National Instruments | ni.com/fpga
Check out the new FPGA IPNet for browsing, downloading, and learning about LabVIEW FPGA IP Cores
04-26-2008 05:29 AM
11-05-2012 01:51 PM
11-06-2012 09:34 AM
Hi Kevin,
This feature was implemented in our FlexRIO line of products. Most of the FlexRIO modules have external clock line inputs that can be exported to a Single-Cycle Timed Loop (SCTL). As for the R-Series and CompactRIO product lines, there is not a direct way to export a digital input line directly to an SCTL. You can either derive a new clock from the base clock of the FPGA or, if using a PXI system, export the 10 MHz backplane clock to an SCTL.
One workaround that can be implemented is to have one SCTL reading a digital line, and another SCTL monitoring a local variable from the previous loop and checking for edges. I have attached a screenshot displaying a certain portion of code executing when the digital input has a rising edge (false to a true). This implementation will not have the accuracy of a directly exported clock; however, as long as you are using the default 40 MHz timebase for the timed loops reasonable frequency for the digital input, I don't believe you should miss any edges.
Best,
01-08-2013 11:20 AM
01-08-2013 11:43 AM
Hi Kevin,
You can use one loop as well. If you are wanting to trigger multiple independent pieces of code, it could be useful to use a local variable to trigger other multiple parallel loops. I coded it this was for expandability; however, I think I overcomplicated things by adding two loops!
Best,
tannerite