Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing I/O

Is there any way to access the digital IO on the sbRIO-9637 without having to use LabView?

0 Kudos
Message 1 of 7
(2,996 Views)

Hi,

 

How did you want to access it?

Setu P.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 7
(2,956 Views)

I want to access it using the CPU but I cannot do that because the FPGA is connected to IO and I don't want to program the FPGA using LabView. Is there a default C API available online that I can use to access the IO?

0 Kudos
Message 3 of 7
(2,939 Views)

Bump.

 

Anyone have thoughts on this? 

I'm working with awsomeer on the same project, and it would be really nice to access the I/O without having to write much LabView. Our team has a lot of C/C++ experience but very little LabView experience. We're using the NI Linux Real-Time toolchain to write our application in C++.  

0 Kudos
Message 4 of 7
(2,916 Views)

We would also like to access the I2C and SPI buses 

0 Kudos
Message 5 of 7
(2,880 Views)

Hi,

 

I think this is what you are looking for. 

 

https://www.ni.com/en/support/documentation/supplemental/09/introduction-to-the-fpga-interface-c-api...

 

Let me know if you have questions.

Setu P.
Applications Engineering
National Instruments
0 Kudos
Message 6 of 7
(2,870 Views)

Thanks for the reply! 

 

I did see that page, but my understanding was that we would have to write a custom labview wrapper for the I/Os we want to use and then generate a C API to call functions in our custom VI. Is that correct? 

 

Is there a default VI running on the FPGA that we can access from the CPU without writing our own labview code?

0 Kudos
Message 7 of 7
(2,861 Views)