LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Output not working during FPGA interface mode

Hey Salman91,

 

It looks to me like the NI 9401 should work just fine in FPGA mode, at least according to the product page. The cRIO 9054 you're using is one of the new CompactRIO with DAQmx devices though. What that means is that each slot can be configured for a specific programming mode:

  • Real-Time (NI-DAQmx) – Intuitive API for quick and accurate measurements as well as the ability to perform deterministic control up to 5 kHz that executes on the real-time processor.
  • Real-Time Scan (IO Variable) – Single-point data accessible from LabVIEW Real-Time for control up to 1 kHz. This mode is primarily for migrating existing applications. It is recommended to use NI-DAQmx instead for new applications.
  • LabVIEW FPGA – Single-point data accessible in the FPGA for high speed control up to 10s of MHz, custom protocols, and co-processing.

By default, all modules start in Real-Time (NI-DAQmx) mode. Based on your setup, I'd double check that the slot is set for FPGA programming mode in MAX.

Cheers!

TJ G
0 Kudos
Message 11 of 14
(940 Views)

My apologies, I misspoke on this - @T-REX$ is correct.

 

I would recommend running the example file NI 9401 Digital Line Input and Output - cRIO, which you can find in the LabVIEW Example Finder (Help>Find Examples...)  by navigating to Hardware Input and Output > CompactRIO > Module Specific IO > Digital Input. Testing with code we know will work will help us isolate the problem.

 

Let us know how that goes.

 

 

Lindsey Nestor
Program Manager, Hardware Services
National Instruments
0 Kudos
Message 12 of 14
(935 Views)

I followed the same advice already posted here. I shifted it NI 9401 C series module to slot 2, and it worked. 

Although the attached photo shows my latest configuration, and it does show that the program mode for 9401 is Labview FPGA. 

However, previously when I had the 9401 in slot 1, I ensured at that time too that its program mode was Labview FPGA, but at that time, it did not work in FPGA mode. 

0 Kudos
Message 13 of 14
(928 Views)

The solution is in this link

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P7ZESA0&l=en-TH

 I have this problem also, now it was solved already. May it save your time to find the solution.

0 Kudos
Message 14 of 14
(835 Views)