09-15-2014 02:36 AM
Hello,
I've got a 9068 cRIO + NI9401 (Digital I/O).
If I set the chassis in scan mode and create a VI which runs on the controller I can easely control the output of the NI9401.
If I set the chassis in FPGA interface mode, create a VI and compile the code there is no output from the NI9401 board. (I have an oscilloscope connected)
Any help ?
Thanks,
Robert.
09-15-2014 02:40 AM
Hi Robert,
did you create a FPGA VI and compiled a bitfile from it?
If yes: have you tried to create a simple FPGA VI that just copies some control values to 9401 DIO pins to verify basic FPGA working principles?
If yes: I always embed a small loop in the FPGA to blink the FPGA LED. That way I know my FPGA VI has started…
09-15-2014 06:35 AM
Hi GerdW,
I've created a new FPGA VI and compiled a bitfile from it.
The VI is very simple, it just sets the output of the NI9401; plus there is a temperature monitor indicator so I'm sure that it runs.
Please see the attachment.
I'm stuck on this problem for 2 days now... so any idea is wellcome,
Thanks,
Robert.
09-15-2014 06:39 AM
09-15-2014 06:56 AM
Hi GerdW,
Thanks for the quick response.
I'm sure that the FPGA runs correctly.
I even tried creating another VI that runs on the chassis controller from which I've opened an FPGA reference and switch the boolean control and read the chassis temperature.
Please see attachment.
P.S. No error, everything looks fine, just that there is no output. 😞
Thanks,
Robert.
09-15-2014 11:23 AM
The only thing that's quickly coming to mind is maybe you're addressing the wrong module? Can you upload your entire simplified project (as a zip) instead of just screenshots?
09-16-2014 10:26 AM
Hey Robert,
Are you able to get any other modules working in FPGA mode?
Also, can you write a VI that runs on the FPGA and simply toggles one of the lines or something simple like that?
09-17-2014 06:13 AM
Hello,
Thanks for all of your replyes.
I've figured it out, the problem is a hardware error/fault.
I've changed the chassis slot in which the module was inserted, and it works now.
Any NI board inserted into chassis slot 1 wont work in FPGA interface mode. 😞
Thanks again,
Robert.
02-18-2019 09:32 PM
I am experiencing the same problem with cRIO 9054 and NI 9401.
I just bought the cRIO, and slot 1 won't work in FPGA mode.
Any solutions yet ?
02-20-2019 09:04 AM - edited 02-20-2019 09:05 AM
The 9401 is a C Series module, not an FPGA module, so it must be used in Scan Interface mode. If you have other modules that do have FPGA functionality, your cRIO controller needs to be set to hybrid mode so that you can use both simultaneously. Instructions on how to do that can be found in our KnowledgeBase article on hybrid mode.