Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

The use of CompactRIO and NI modules; handling analog input with nifpga.

Abierto
#42 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python
Área
embedded-iot

Línea de trabajo

No source files or tests are identified. Start by comparing the LabVIEW FPGA configuration and bitfile with the Python nifpga session setup, especially the AI0 mapping and read path; done means Python can read the analog input and write to the module outputs rather than receiving only 0.0.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

[CompactRIO, nifpga API, FPGA]

Hello, I'm Robi. I would like to ask for help with a project. First, let me list the technologies I am working with.

The exact python version used: 3.10+
The exact versions of packages used:

  • nifpga API: 22.0.0
  • LabVIEW: 2017
  • NI CompactRIO (driver): 17.0
  • LabVIEW RT: 17.0
  • Numpy, Pandas, matplotlib, etc...
  • cRIO-9076
  • NI-9215
  • NI-9263
  • Windows 10

I would like to use the aforementioned modules from Python, but I am unable to do so because any data I read always returns 0.0, and I am also unable to write to the module outputs. Here's the setup: I write a program in LabVIEW to program the FPGA to measure an analog signal on the AI0 channel. I compile this program and create a bitfile, which I then use in Python. Everything works great in LabVIEW, but I cannot use the module output in Python because it always reads 0.0. What am I doing wrong? My code is good because if I use a constant instead of the module (AI0), then Python can handle it. So my question is, can the modules not be used from Python?

Lenguaje dominante
Python
Estrellas
83
Forks
21
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ni/nifpga-python

Todos los issues de ni/nifpga-python

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.