LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How get started with NI 9870

I am using a cRIO-9014 with a few different modules. I am able to use the analog input module (NI-9205), but do not know where to start to use the serial interface module (NI-9870). What do I need to program on the FPGA to use this module?
0 Kudos
Message 1 of 6
(6,104 Views)

Are you programming the FPGA yourself or are you simply using the scan interface?

0 Kudos
Message 2 of 6
(6,099 Views)
programming the FPGA myself, which I can successfully do with the analog module, but I do not know where to start for the serial module.
0 Kudos
Message 3 of 6
(6,096 Views)

Imar,

 

Check out this forum with some good links and information on this topic.

 

Also, the LabVIEW Example Finder has a good NI 9870 exampl, which can be found under NI Example Finder >> Hardware Input and Output >> CompactRIO >> Module Specific >> Serial >> NI-987x Serial Loopback.lvpro. You can get to the Example finder by going to Help >> Find Examples from within LabVIEW.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Message 4 of 6
(6,077 Views)

Hi,

 

I am dealing with the CompactRIO 9074 and I have connected the 9870 up to this chassis. I am using the example virtual instrument that was recommended from James. I was able to input all of my Read_FIFO and Write_FIFO with my specific ports, and have modified the ports. When I run the FPGA program, it initializes to step 7, and then exits with the following error message: "Too many DMA channels have been requested or some requested are conflicting. The current target has 3 DMA channels." Does anyone have a fix for this? Thanks.

 

-Daniel Skrabacz

0 Kudos
Message 5 of 6
(5,466 Views)

Hi Daniel,

 

In order to avoid lots of duplicate posts, Paul is answering your question in this thread: http://forums.ni.com/t5/LabVIEW/Module-9870-for-reading-4-serial-devices/m-p/1459422

 

Thanks,

Morgan S

Applications Engineer

National Instruments

0 Kudos
Message 6 of 6
(5,442 Views)