LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Expose DMA Channel Custom Harware Labview

Does anyone know how to expose DMA channels on custom PXI hardware?  I have windows drivers that treat the DMA channels as files I can read from and write to.  I would really like to have a VISA-style driver that labview can recognize, however.  The register transfer stuff is easy enough with the VISA Device Driver Wizard.  I am really hoping for a similar simple solution to expose the DMA channels.

 

Thanks!

0 Kudos
Message 1 of 4
(3,060 Views)

Hi Manjagu,

Are you the manufacturer of this PXI board? If not, the manufacturer would be the best source of information as far as exposing the DMA channels. From your post it looks like you’re fairly comfortable with the VISA Device Driver Wizard, for the computer side but need help configuring the board to interface properly. Is that correct?

Regards,

Matt

Matt
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,035 Views)

I have drivers to access the DMA channels, but they are all in .sys format.  I would need to write some wrapper code to make them into DLL's and therefore call-able by LV.  If I go that route then I won't be able to make the boards visible to NI-VISA as doing so would create two sets of drivers trying to access the same hardware.  I guess what I was hoping for was a wizard program like the VISA DD Wizard to make DMA simple.  Somehow I don't think that's available. 

 

I don't think the device manufacture is likely to write any more custom code for me to access their proprietary IP cores than they have without paying $$$$.  This was a completely custom hardware job I had them do for me.

 

So, yes, I am having problems with interfacing the boards to LV in a simple manner.  If you know of any tricks to make this easier, I'd love to hear them.

 

Thanks

0 Kudos
Message 3 of 4
(3,024 Views)

Sorry Manjagu,

I don’t believe National Instruments has anything for that. While a PXI board has to conform to certain standards, there is nothing that defines how that is accomplished on the board side. Thus, a more detailed knowledge of the device, for the manufacturer would be needed. Sorry that there isn’t a wizard, and good luck to you in your development.

Regards,

Matt

Matt
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,007 Views)