LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Third-party boards with the real-time OS

I have some third-party PXI board and would like to work with it with the NI's real-time OS, provided with
the NI's RT computers (like PXI-8170).

- How do I tell to the OS that there is some board connected to it ? How do I map it I/O ports in the I/O address space of that embedded computer ?

- May I write directly to the I/O ports in this OS ? (E.g., in NT I cannot, I need a driver that runs in kernel mode.)
0 Kudos
Message 1 of 2
(2,680 Views)
To program a third party board you can use VISA Register Level Programming. The first thing you'll need to do is to generate an .inf file - this file is used for NI-VISA to properly locate your PXI instrument. To create this file, use the PXI Driver Development Wizard that ships with NI-VISA. This drivers will collect basic information about your board - manufacturer ID, model ID, and interrupt handling (if applicable.) Once the .inf file is created, you can ftp it to the RT controller. You will then be able to use VISA register level code (peeks and pokes, etc) to program the board.

Regards,
Dafna
0 Kudos
Message 2 of 2
(2,680 Views)