Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How use DAQmxGetDevSerialNum function ?

Hello
I have NI-PCI 6259 card and I use DAQmx library in VC++. How I can get serial number of this card. There is (DAQmxGetDevSerialNum)
function but it seem to me that it dosn't work?
Best Regards
amaram
0 Kudos
Message 1 of 6
(4,219 Views)
That is indeed the right function to find the serial number of a DAQ device. Did you feed the program the right parameters? It might be helpful for you to post your code here for us to be able to better assist you.
0 Kudos
Message 2 of 6
(4,198 Views)
Hello
I think I solve this problem

char text[]=_T("Dev1");
uInt32 data;
DAQmxGetDevSerialNum(text,&data);

Is There any possibility that 2 cards have the same serial number?
0 Kudos
Message 3 of 6
(4,191 Views)
Are both the boards the same? If they have the same product number (i.e if they are the same board) then they would not have the same serial number. Else, it is possible.
0 Kudos
Message 4 of 6
(4,186 Views)
Hello
Besides serial number are there any numbers specific only for one card?
If they are how to get the information about it?
Best Regards
0 Kudos
Message 5 of 6
(4,135 Views)
Hello,
I don't think it is possible for two devices (same product number or not) to have the same serial number. I would suggest using the DAQmxGetDevSerialNum function you mentioned previously.
-Alan A.
0 Kudos
Message 6 of 6
(4,111 Views)