Hi All,
I've built device support for ai record for a vme based ADC board.
I've used the following to add the support:
device(ai,VME_IO, devAiADCtype1, "HW Channel");
where devAiADCtype1 is the structure in the device support routine.
The things are working fine. When I insert an ai record, I get a DTYP as 'HW Channel' , I pass on the relevant VME_IO address ant the board gets read.
Now I want to build device support for ai record to support one more type of vme based ADC board to be used in the same system.
How do I do it ? Should I write something like :
device(ai,VME_IO, devAiADCtype2, "HW Channel 2");
or is there another method of doing so ?
I mean how make multiple device support for a given record type ?
Please suggest,
Thanks,
Stefen