8144_check_security_key – ADLINK PCI-8144 User Manual
Page 88
78
Function Library
_8144_check_security_key
Varily the security password
Description:
This funciton is used to verify the security code which the user
set by the function “_8144_set_security_key”.
Syntax:
I16 _8144_check_security_key(I16 CardId, U16
Password)
B_8144_check_security_key(ByVal CardId As
Integer, ByVal Password As Integer) As
Integer
Parameters:
I16 CardId
: The card ID number.
U16 Password
: The password number
Return Values:
ERR_ParametersInvalid
ERR_DeviceNotInitial
ERR_GetEEPROM
ERR_NoError
Example:
I16 ret; //return code
I16 CardId = 0; // card ID
U16 OldPassword = 0; // current password stored
in card
U16 NewPassword = 0x1234; //new password
If(_8144_reset_security_key(CardId)) //reset the
password to default value (0)
{// return error}
if(_8144_set_security_key( CardId, OldPassword,
NewPassword)) //set a new password
{//return error}
ret = _8144_check_security_key(CardId,
NewPassword); //verify the new password
if( ret == ERR_NoError )
// security pass
- USB-1901 (84 pages)
- USB-1210 (54 pages)
- USB-2401 (60 pages)
- USB-7230 (50 pages)
- USB-2405 (56 pages)
- DAQe-2010 (92 pages)
- DAQe-2204 (100 pages)
- DAQe-2213 (94 pages)
- DAQe-2501 (74 pages)
- PXI-2010 (84 pages)
- PXI-2020 (60 pages)
- PXI-2501 (62 pages)
- cPCI-9116 (98 pages)
- ACL-8112 Series (93 pages)
- ACL-8112 Series (94 pages)
- ACL-8112 Series (92 pages)
- ACL-8216 (75 pages)
- ACL-8111 (61 pages)
- PCM-9112+ (10 pages)
- PCM-9112+ (94 pages)
- cPCI-6216V (47 pages)
- ACL-6126 (28 pages)
- ACL-6128A (40 pages)
- PCM-6308V+ (4 pages)
- PCM-6308V+ (52 pages)
- PCI-7444 (82 pages)
- PCI-7434 (48 pages)
- PCI-7234 (56 pages)
- PCI-7260 (66 pages)
- PCI-7258 (38 pages)
- PCI-7256 (48 pages)
- PCI-7250 (48 pages)
- LPCI-7250 (48 pages)
- PCI-7396 (65 pages)
- PCI-7296 (59 pages)
- PCI-8554 (67 pages)
- PCIe-7360 (94 pages)
- PCIe-7350 (86 pages)
- PCIe-7300A (114 pages)
- PCIe-7200 (51 pages)
- PCI-7300A (112 pages)
- PCI-7300A (83 pages)
- PCI-7200 (96 pages)
- cPCI-7300 (82 pages)
- cPCI-7300 (83 pages)