From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

IF-RIO

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to get the sn of the 5640R using labview?

Is it possible to get the sn of the 5640R using labview?

 

Rui Huang

NISH AE

0 Kudos
Message 1 of 3
(5,822 Views)

By "sn" I assume you are referring to "Serial Number"?

 

 

-Dan

0 Kudos
Message 2 of 3
(5,819 Views)

Under the assumption that you were referring to the serial number, I have tracked down the register address that holds that number.
Here is what you will need to do:
1) Open up the ni5640R Read Cal Data Field.vi (which is part of the template)
2) Copy the "Refnum to Session" and the "ni5640R Read EEPROM.vi" from the block diagram.

3) Paste them on your top level block diagram.

4) Wire your FPGA VI Reference wire into the Refnum to Session

5) Wire the Refnum to Session into the "handle in" of the Read EEPROM
6) Create a constant on the "Offset" terminal and set it to 0x804
7) Create a constant on the "size" terminal and set it to 0x4

😎 The "Data Out" terminal will now return an array of u8's that contains the bytes of the serial number. (there should be 4 bytes although the first byte may be zeros)

 

When you have it finished, it should look like this:
SerialNumber.JPG

I hope that answers your question.

 

-Dan

0 Kudos
Message 3 of 3
(5,813 Views)