03-06-2019 04:29 AM
Hi all,
I am using a CompactRIO and am trying to dynamically control output data for an automatic test sequence, for example I want to turn on and off outputs for a certain length of time automatically without having any user input other than to start the program. Is there any examples of how I would go about doing this? I have already went through the examples in the help section and I could not find anything similar
Thanks
03-07-2019 02:43 AM - last edited on 01-08-2024 02:22 PM by migration-bot
Hello plastic-bag,
The best implementation for this depends on the scope of your project and the timing you need. Is it seconds we are talking about, or microseconds? Is the test sequence fixed (it sounds like it is)?
03-07-2019 03:20 AM
Hi ikaiser,
Ideally the test sequence is not fixed, it will be programmable by the user. Yes in the future it would be preferable to deal with time in microseconds.
Yes I have a real time and FPGA license.
I am using a CRIO 9057, currently I'm using 9203 and 9482 but this is just for a test rig and soon I will have more cards to control such as analogue voltage cards.
03-14-2019 09:25 AM
Okay, so you have quite high requirements, but also all the needed items available, good. When you need exact timing in the order of single microseconds, then FPGA is the way to go.
Sounds like the general concept your application needs is to define the sequence on your user interface (maybe a simple table of output value and duration), and then code on the FPGA that follows this recipe. I am not aware on any example about specifically this. How good are you in LabVIEW and FPGA coding? A good start would be the examples shipped with LabVIEW (Help » Find Examples » Browse by Task » Toolkits and Modules » FPGA » CompactRIO).