02-26-2019 11:52 AM
Hi, I am a new user of labview and pxi's. I was wondering if it is possible to connect the arduino directly to the pxi and have it interact with the pxi in real-time. I am currently able to interface it through the pc. However, I would like to have a real-time interface between the pxi and the arduino. Any suggestions would help!
02-26-2019 12:50 PM - edited 02-26-2019 12:52 PM
Right off the top of my head I would have to say no, but I am not sure I understand what exactly you want to do?
In general an arduino can only natively communicate through its built in UART. (or I2C, SPI) This UART is connected to the USB chipset on the Arduino, but you don't have to use the USB. You can connect the UART Rx and Tx (or I2C, SPI) to any other interface even wireless like Bluetooth or WiFi.
02-26-2019 12:58 PM
What OS is your PXI running?
If it is running Windows, then it is effectively a Windows PC, and you should be able to.
If it is running a real-time OS, then I don't know. It would depend on the drivers. But I would assume the real-time OS would have serial drivers that would let it talk to the Arduino.
When you say "interact with the PXI in real-time" I don't think you are talking about "real-time" in the same definition as an operating system is real-time.
02-26-2019 01:54 PM
I want the Arduino to receive data from the PXI as it is generated; otherwise, I will lose data (it's too slow to send back the data to the pc and collect it from there). The PXI is running on a real-time OS. Is there a way to let the PXI recognize the Arduino as a serial device since there are no USB drivers on the PXI's real-time OS.
02-26-2019 04:37 PM
Hi johndoe23456789,
1. Can you attach a system diagram? Do you have a Windows PC connected to the PXI controller?
2. What exactly is too slow to "to send back the data to the pc and collect it from there"? Can you please clarify this statement? Does this statement describe your ideal setup? However, your ideal setup is not feasible because it's too slow. How did you come to the conclusion it's too slow? How did you test this?
3. The Real-Time operating system of the PXI controller has USB drivers. For example, you can connect a USB keyboard to the controller.
4. Have you connected a monitor to the Real-Time PXI controller? Can you access the BIOS? Any information there about the USB ports?
5. A note on terminology: A PXI system is formed by a PXI chassis, a PXI controller (which runs Windows or a Real-Time OS) and PXI cards (or modular instruments)
02-26-2019 04:52 PM
Hello, I am trying to connect an Arduino to a PXI; however, the Arduino does not seem to appear on the "Devices and Interfaces" under "Remote Systems". Even-though the pc recognizes the Arduino when it is connected directly to Arduino, the PXI does not seem to read it. Is there anything I can do to make the Arduino communicate directly with the PXI instead of through the PC?
02-27-2019 02:11 PM
Is the PXI running Windows or Pharlap/NI ETS (real time)?
Do you use a normal embedded controller in the PXI or is it a MXI controller (external computer)?
Also, which arduino is it? I have a few clones that use a slightly oddball USB chip and need the driver installing manually.