LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make my own device driver visible in MAX?

Hi all,

i created a piece of hardware for the PC which i want to
make usable within LabVIEW.

- The hardware is Non-NI so there is no matching device driver
available from NI.
- I want to reuse all the existing instrument drivers (VISA)
without modifying inside these.
- I don't want to access the hardware using direct dll-calls.
- I only want to do this: "Hey VISA-object! Don't talk to this
GPIB-card inside my PC. Communicate with my hardware" 😉

So i need to write my own low-level device driver (NOT
instrument driver) which integrates in MAX.

But how to do this?
Any useful hints how to start?
Is there any open source project for Win32 i may modify for
my own purposes?

TIA.

Regards, Thorsten
0 Kudos
Message 1 of 2
(3,023 Views)
Thorsten:

If your card is PXI or PCI, then you are in luck because NI-VISA will help you. Otherwise, you cannot show your instrument in MAX.

To use NI-VISA for PXI, just get your register description manual from the vendor and follow the instructions in this paper on our site:

http://zone.ni.com/devzone/conceptd.nsf/webmain/ADF3152837E2B4A486256B5600642AC7?opendocument

Good luck,
Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments
Message 2 of 2
(3,023 Views)