LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

related Labview VI for this function

Hi,
I want the Labview VI for this function
 

Ø      short DevGetBoardInfo   (unsigned short usDevNumber, unsigned short usSize, void *pvData); (using this function the user can read global information of all communication boards the device driver knows)

 

usDevNumber is always 0

usSize is Size of the users data buffer and length of data to be read

*pvData is Pointer to the users data buffer

       return variable DRV_NO_ERROR   return value 0

Data structure:

typedef struct tagBOARD_INFO{

unsigned char abDriverVersion[16]; // DRV version information

struct {

unsigned short usBoardNumber; // DRV board number

unsigned short usAvailable; // DRV board is available

unsigned long ulPhysicalAddress; // DRV physical DPM address

unsigned short usIrqNumber; // DRV irq number

} tBoard [MAX_DEV_BOARDS];

} BOARD_INFO;

 

usNumber   : Always 0

usAvailable : 0 = board not available

                     1 = board available

ulPhysicalBoardAddress :  Physical memory address

usIrqNumber : Number of the hardware interrupt

                        0 = polling mode &  3,4,5,6,7,9,10,11,12,14,15 for interrupt

0 Kudos
Message 1 of 3
(2,483 Views)
You know, I think you'll get a lot farther with your questions if you learn a little etiquette in terms of posting on this board. Your previous posts indicate an apparent lack of willingness to provide information on what you're trying to do. Instead, you post commands like "check this", or "I want this", without really realizing that we're not here to do your work. This forum has a large body of people who try to help or provide suggestions on what to do. If you want us to do your work, perhaps you should pay us. In your previous post you said nothing about what you're trying to do, and I'm amazed that altenback found it within himself to spend the amount of time he obviously did in looking at your VI and posting the long response he did. Clearly, there does not seem to be any reciprocal behavior from you, so why should we help?
Message 2 of 3
(2,463 Views)
I'm Sorry.
 
0 Kudos
Message 3 of 3
(2,439 Views)