background image

 

reference manual 

April 2010

V07.0x Rev. A

AIM GmbH 

Sasbacher Str. 2 

79111 Freiburg, Germany 

 

Tel:  +49-761-45229-   0 

Fax:  +49-761-45229- 33 

 

[email protected] 

www.aim-online.com

 

 

 

ARINC 429 

Interface Module 

 
 

for VxWorks 

Summary of Contents for AMC429

Page 1: ...erence manual April 2010 V07 0x Rev A AIM GmbH Sasbacher Str 2 79111 Freiburg Germany Tel 49 761 45229 0 Fax 49 761 45229 33 sales aim online com www aim online com ARINC 429 Interface Module for VxWo...

Page 2: ......

Page 3: ...VME 429 for VxWorks Software Library Reference Manual AVI429 VME Version AMC429 PMC Version AVC429 PMC on AVC carrier V07 0x Rev A April 2010 AIM No 60 12400 36 070X A...

Page 4: ...M 1553 866 AIM A429 salesusa aim online com AIM UK Cressex Business Park Lincoln Rd High Wycombe Bucks HP12 3RB England 44 1494 44 68 44 salesuk aim online com Notice The information that is provided...

Page 5: ...5 4x Revision A 03 05 2005 Jochen Pfaadt See Appendix A for details 5 4x Revision B 20 06 2005 J Furgerson See Appendix A for details 5 6x Revision A 29 06 2007 Jochen Pfaadt See Appendix A for detail...

Page 6: ...iv THIS PAGE IS INTENTIONALLY LEFT BLANK...

Page 7: ...l 12 2 1 4 Api429Init 13 2 1 5 Api429InstIntHandler 14 2 1 6 Api429SetTgEmul 20 2 1 7 Api429SetDllDbgLevel 21 2 1 8 Avi429Close 22 2 1 9 Avi429Open 23 2 2 VME Intialization Functions 24 2 2 1 AiVmeExa...

Page 8: ...Api429CmdTxMinFrmDel 91 5 12 Api429CmdTxReplayData 92 5 13 Api429CmdTxStart 96 5 14 Api429CmdTxStartEx 98 5 15 Api429CmdTxStatusRead 102 5 16 Api429CmdTxXferDataDef 103 5 17 Api429CmdTxXferDataRead 1...

Page 9: ...4 Api429CmdRmTrgParamDef 168 7 15 Api429CmdRmTrgStartDef 170 7 16 Api429CmdRmTrgStopDef 172 8 REPLAY FUNCTIONS 175 8 1 Api429CmdReplayIni 176 8 2 Api429CmdReplayStatus 179 8 3 Api429WriteRepData 181 9...

Page 10: ...s 200 Table A I Summary of Changes for each Version Update 210 Table A I Summary of Version Changes for each S W Library Function 215 LIST OF FIGURES Figure Title Page Figure 1 3 3 1 Document Conventi...

Page 11: ...and AVI429 avionics interface modules This Software Library Reference Manual provides the user with detailed VME 429 programming information including library function call and header file details and...

Page 12: ...ing Section 10 contains helpful information enabling the user to interpret error messages and steps to take to correct those errors Section 5 Transmitter Functions Section 6 Receiver Functions Section...

Page 13: ...own in blue for example C Windows System32 Drivers Aim_mil sys A smaller version of this font will be used to list software code In addition to text and layout convention there are a couple of naming...

Page 14: ...in Api429 h Structures Named as ty_api_name where name is unique to the structure located in Api429 h Functions Named as either Api429name or Api429Cmdname Api429name functions do not involve driver...

Page 15: ...e of the return value Will show Void if there is no return value Specifies the hex code for the driver command used by the target s w to accomplish the action required by the function See Section 10 f...

Page 16: ...ion calls require the parameter b_Module In order to simplify the manual this function parameter is not detailed in the documentation for each function call therefore it is defined here as follows b_M...

Page 17: ...s a general overview of how to access AIM cards using the VME bus AMC429 Hardware Manual the hardware user s manual for the AMC429 PMC modules The document covers the hardware installation the board c...

Page 18: ...8 Software Library Reference Manual for VME 429 Section 1 Introduction THIS PAGE IS INTENTIONALLY LEFT BLANK...

Page 19: ...Function Description Api429Init Initializes the Application Interface Avi429Open Initializes the Module Interface Avi429Close Closes the Module Interface Api429GetTgEmul Gets current emulation mode Ap...

Page 20: ...the function Api429InstIntHandler I In np pu ut t A Ai iU UI In nt t8 8 u uc c_ _T Ty yp pe e Interrupt Type Defines the type of interrupt which will be uninstalled for the given AIM board Note At th...

Page 21: ...Int8 b_Module AiUInt8 b_Ena D Dr ri iv ve er r C Co om mm ma an nd d None P Pu ur rp po os se e This function controls the Error Message Handler of the application interface I In np pu ut t A Ai iU UI...

Page 22: ...iUInt8 Api429GetTgEmul AiUInt8 b_Module D Dr ri iv ve er r C Co om mm ma an nd d None P Pu ur rp po os se e This function returns the current emulation status of the application interface I In np pu u...

Page 23: ...pe e AiUInt8 Api429Init void D Dr ri iv ve er r C Co om mm ma an nd d None P Pu ur rp po os se e This function initializes the entire application interface and must be called first in an application p...

Page 24: ...terrupt Type Defines the type of interrupt which will be connected to the interrupt handler function given in parameter pf_IntFunc Note At the moment this type is always 0 but in the future there will...

Page 25: ...Loglist Event Entry Word 1 Bit 31 Bit 30 Bit 29 Bit 28 Bit 27 Bit 26 Bit 25 Bit 24 INT_TAG_FIELD Bit 23 Bit 22 Bit 21 Bit 20 Bit 19 Bit 18 Bit 17 Bit 16 INT_TAG_FIELD CHN_ID Bit 15 Bit 14 Bit 13 Bit...

Page 26: ...ceived A AE EI I RX Label Receive Operation Any Error Interrupt set to 1 if any error is detected in the receive stream P PT TI I Transmit Operation Interrupt on TRANSFER Instruction Execution set to...

Page 27: ...INDI Bit Index Reload If the Current Index is decremented to zero this 10 bit value is loaded into the Current Index field Current Index If not zero the 10 bit Current Index field is decremented afte...

Page 28: ...rent Index field Current Index If not zero the 10 bit Current Index field is decremented after each access to the data buffer If the last buffer is filled Current Index reaches zero the current index...

Page 29: ...ration Functions A Ai iU UI In nt t3 32 2 u ul l_ _L Ll lc c Reserved A Ai iU UI In nt t3 32 2 u ul l_ _L Ll ld d Reserved O Ou ut tp pu ut t none R Re et tu ur rn n V Va al lu ue e Value Constant Des...

Page 30: ...nd d None P Pu ur rp po os se e This function sets the current emulation mode of the application interface I In np pu ut t A Ai iU UI In nt t8 8 b b_ _E Em mu ul l Value Description 0 Disable reset c...

Page 31: ...e This function sets the debug level of the application interface It allows to control the amount of debug output generated I In np pu ut t A Ai iU UI In nt t8 8 u ul l_ _D Dl ll lD Db bg gL Le ev ve...

Page 32: ...ma an nd d None P Pu ur rp po os se e This function closes the application interface for the specified module and must be called last in an application program Note No function except Avi429Open shal...

Page 33: ...nction initializes the application interface for the specified module and must be called first before any other function is applied for the specified module I In np pu ut t A Ai iU UI In nt t8 8 b b_...

Page 34: ...r PMC on AVC AiUInt32 ul_TempA32Addr AiUInt32 ul_TempA32UserAccess TY_VME_EXAMINE_SLOT A Ai iU UI In nt t3 32 2 u ul l_ _A A1 16 6A Ad dd dr r Is a User defined address in the VME A16 address space wh...

Page 35: ...vision ID AiUInt8 uc_Bist PCI BIST register AiUInt8 uc_HeaderType PCI header type AiUInt8 uc_LatencyTimer PCI latency timer AiUInt8 uc_CacheLineSize PCI cache line size AiUInt32 ul_BAR 6 Base address...

Page 36: ...known Arinc 429 board I In np pu ut t T TY Y_ _V VM ME E_ _M MA AP P_ _M MO OD DU UL LE E i in n Parameters used to map this board to the VME bus in function AiVme429MapModule O Ou ut tp pu ut t None...

Page 37: ...i iv ve er r C Co om mm ma an nd d None P Pu ur rp po os se e This commands scan the local PCI bus for known devices and internally stores the PCI headers of all boards found It allows to use the AiPc...

Page 38: ...called first I In np pu ut t A Ai iU UI In nt t3 32 2 u ul lM Mo od du ul le eI In nd de ex x This is an index to the PCI module from which the PCI header shall be returned An index of zero returns t...

Page 39: ...vel can be applied to the board Note if two PMC boards are driven on the same AVC 2 carrier both must have the same interrupt level and vector A Ai iU UI In nt t3 32 2 u ul l_ _I Ir rV Ve ec ct to or...

Page 40: ...activities on a interrupt This function must be from the type INTERRUPT_FUNC which is defined as follows typedef void INTERRUPT_FUNC AiUInt8 uc_Module AiUInt8 uc_Biu AiUInt8 uc_Type TY_API_INTR_LOGLI...

Page 41: ...E A32 address space where the user wants to see the memory of the VME Carrier s AMC429 Module or the AVI429 module in the VME address space real physical A32 address The memory size for the module in...

Page 42: ...et to zero T TY Y_ _P PC CI I_ _I IN NF FO O p px x_ _P PC CI I_ _I In nf fo o Pointer to the PCI info element for this board It determines for which board the additional settings are To get this para...

Page 43: ...Co om mm ma an nd d none P Pu ur rp po os se e This function undoes the mapping of a board to the VME bus or local PCI bus I In np pu ut t T TY Y_ _V VM ME E_ _M MA AP P_ _M MO OD DU UL LE E_ _I IN N...

Page 44: ...34 Software Library Reference Manual for VME 429 Section 2 Library Administration Functions THIS PAGE IS INTENTIONALLY LEFT BLANK...

Page 45: ...itializes the AIM board Api429CmdReset Initializes the hardware and ASP driver software Api429CmdBite Performs a selftest Api429CmdDefChnSpeed Defines the channel speed Api429CmdReadDrvVer Reads the D...

Page 46: ...T command Note the time source will be set to internal during the self test I In np pu ut t A Ai iU UI In nt t8 8 b b_ _F Fu un nc c Selftest Function Value Description 0 Execute all test 1 Board Enab...

Page 47: ...Data Pattern Test 2 Walking Bit Test 3 Addressing Test 4 Bus Test Note The echo value contains in the high nibble part the BIU number which failed the test only for test no 1 board enable test high n...

Page 48: ...equal to the returned pl_stat value The number of interrupt events is cleared with every call of this function If pl_Stat is 32 the entries in the structure TY_API429_INTR_REGS are undefined and set t...

Page 49: ...from which channel this loglist entry was made U UD DF F Update Flag set by the BIU processor when the entry is updated T TX XI I Transmit interrupt set to one if interrupt from TX channel R RS ST TP...

Page 50: ...13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 ADLP CMBFP CILP RNBP Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 ADLP CMBFP CILP RNBP A AD DL LP P Receive operation current label descriptor pointer when FBI o...

Page 51: ...mand is utilized to enable disable storing of a channel s interrupt information into the Interrupt Loglist Area of the Shared Memory I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Numbe...

Page 52: ...the Board Operation Start Transmitter Operation or Start Receiver and Monitor Operation Command I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Description 1 32 API429 chann...

Page 53: ...t t A Ai iU UI In nt t8 8 b b_ _M Mo od de e Value Description 1 Timetag source 4 Boot LCA 5 Boot BIU 6 Execute BIU Interrupt Routine 7 255 reserved Note It takes several seconds approx 5 seconds unti...

Page 54: ...ct AiUInt8 b_DayHi AiUInt8 b_DayLo AiUInt8 b_Hour AiUInt8 b_Min AiUInt8 b_Sec AiUInt8 b_MsHi AiUInt8 b_MsLo AiUInt8 b_mode AiUInt8 b_irig_src AiUInt8 b_irig_sync TY_API429_IRIG_TIME A Ai iU Ui in nt t...

Page 55: ...IRIG source A Ai iU UI In nt t8 8 i ir ri ig g_ _s sy yn nc c IRIG time synchronized Value Constant Description 0 API_IRIG_NOT_SYNC IRIG time is not synchronized 1 API_IRIG_SYNC IRIG time is synchron...

Page 56: ...i iP Pa ar r Pointer to Initialize Parameter Data structure api429 h typedef struct AiUInt8 lca_id AiUInt8 padding1 AiUInt16 padding2 AiUInt16 asp_drv_id AiUInt16 asp_mon_id AiUInt16 asp_bite_id AiUIn...

Page 57: ...ad dd dr r Global Memory Base Address A Ai iU UI In nt t3 32 2 l lo oc c_ _d dr ra am m_ _s si iz ze e ASP Local Memory Size in 64 Kbytes steps A Ai iU UI In nt t3 32 2 l lo oc c_ _d dr ra am m_ _a a...

Page 58: ...ion two digit BCD 00 reserved unset 01 A 02 B 09 I 10 J 11 K 26 Z 27 30 reserved 31 56 A1 Z1 57 60 reserved 61 86 A2 Z2 87 99 reserved HW Version Description four digit BCD 0000 reserved unset 0100 Ve...

Page 59: ...00 0x00 8 bit 8 bit 8 bit 8 bit PCI Device Header Type Registers Register Number Register Name Description Byte Offset Default Value Width 4 baddr1 Base Address Register 1 10h 32 bit 5 baddr2 Base Add...

Page 60: ...ards I In np pu ut t A Ai iU UI In nt t3 32 2 u ul l_ _D Di is sc cr re et te eS Se et tu up p Bit 31 Bit 30 Bit 29 Bit 28 Bit 27 Bit 26 Bit 25 Bit 24 Reserved 0 Bit 23 Bit 22 Bit 21 Bit 20 Bit 19 Bit...

Page 61: ...ver Software into an executable format Note No further ASP Driver Command shall be called when starting the downloaded code Mode 2 since the target software is restarted Api429Close function must foll...

Page 62: ...t Checksum Status Value Description 0 Checksum ok 1 No S Record string 2 Wrong S Record type 3 Checksum error 4 Addressing error A Ai iU UI In nt t3 32 2 p pl l_ _F FS Si iz ze e Downloaded Data Byte...

Page 63: ...d Flash Prom devices for update purposes ASP Driver Software BIU Firmware I In np pu ut t A Ai iU UI In nt t3 32 2 l l_ _S Sr rc cA Ad dd dr r Source RAM Address A Ai iU UI In nt t3 32 2 l l_ _S Se ec...

Page 64: ...VER_READ_EX 0x4038 P Pu ur rp po os se e This function returns the version numbers of all board software package components for the AIM board I In np pu ut t None O Ou ut tp pu ut t The following stru...

Page 65: ..._A AP PI I4 42 29 9_ _V VE ER RS SI IO ON N x x_ _P Pc ci iL Lc ca aV Ve er r Version information of the Onboard PCI LCA only valid for AMC429 and APM429 boards Note Only valid for AMC429 and APM429...

Page 66: ...lity Status of the current BSP components relating to the DLL Value Constant Description 0 API429_BSP_COMPATIBLE BSP components are compatible 3 API429_BSP_WRONG_TARGET_SW The Target Software is not c...

Page 67: ...the function Api429CmdInitDiscretes I In np pu ut t None O Ou ut tp pu ut t A Ai iU UI In nt t3 32 2 p pu ul l_ _V Va al lu ue e Bit 31 Bit 30 Bit 29 Bit 28 Bit 27 Bit 26 Bit 25 Bit 24 Reserved 0 Bit...

Page 68: ...e er r C Co om mm ma an nd d API429_VER_READ 0x38 P Pu ur rp po os se e This command reads the API429 Driver Software Version Number I In np pu ut t none O Ou ut tp pu ut t A Ai iU UI In nt t1 16 6 p...

Page 69: ...p pu ut t T TY Y_ _A AP PI I4 42 29 9_ _R RE ES SE ET T_ _C CM MD D p px x_ _C Cm md d Pointer to the reset command structure api429 h typedef struct AiUInt8 res_ctl AiUInt8 glob_speed_mod AiUInt8 low...

Page 70: ...ector two low speed rates may be selected global for all low speed channels For high speed channels this setting has no effect Value Description 0 12 50 kBits s Standard 1 13 33 kBits s Intermediate A...

Page 71: ...n ne el l C Co on nf fi ig gu ur ra at ti io on n This field stores the channel configuration Bit 0 corresponds to channel 1 bit 31 corresponds to channel 32 Note The channels cannot be configured for...

Page 72: ...onds to channel 32 Bit Value Description 0 Channel is Receiver 1 Channel is Transmitter A Ai iU UI In nt t3 32 2t tx xr rx x_ _m me em m_ _s st ta ar rt t Start address of TX RX memory area Channel 1...

Page 73: ...h typedef struct AiUInt8 b_DayHi AiUInt8 b_DayLo AiUInt8 b_Hour AiUInt8 b_Min AiUInt8 b_Sec AiUInt8 b_MsHi AiUInt8 b_MsLo AiUInt8 b_mode AiUInt8 b_irig_src AiUInt8 b_irig_sync TY_API429_IRIG_TIME A Ai...

Page 74: ...iption 0 API_IRIG_INTERN Switch IRIG source to internal IRIG time generator 1 API_IRIG_EXTERN Switch IRIG source permanently to external IRIG time generator Note on AMC429 free wheeling mode is always...

Page 75: ...for APM429 boards Since the discretes are programmable on an APM429 board be sure to have setup the discrete outputs with the function Api429CmdInitDiscretes I In np pu ut t A Ai iU UI In nt t3 32 2...

Page 76: ...erved 0 Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Reserved 0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 OUT OUT OUT OUT OUT OUT OUT OUT OUT Note For APM429 cards the bits are only val...

Page 77: ...function calls in this table are listed in a functional order however the detailed descriptions of the Memory function calls in the following sections are in alphabetical order Table 4 I Memory Funct...

Page 78: ...ss I In np pu ut t A Ai iU UI In nt t8 8 u uc c_ _W WC Co ou un nt t Value Description 1 255 Amount of data words to read 1 Read one data word 255 Read 255 data words Note 1 Data Word 4 Bytes A Ai iU...

Page 79: ...ecific start address I In np pu ut t A Ai iU UI In nt t8 8 u uc c_ _W WC Co ou un nt t Value Description 1 255 Amount of data words to write 1 Write one data word 255 Write 255 data words Note 1 Data...

Page 80: ...es a direct access to the AIM board memory with the specified offset address I In np pu ut t A Ai iU UI In nt t8 8 m me em mt ty yp pe e Memory Type to be accessed Value Constant Description 0 API_MEM...

Page 81: ...a_ _p p Data to read to This pointer should match to the data size given in the parameter width A Ai iU UI In nt t3 32 2 p pu ul l_ _B By yt te es sR Re ea ad d Amount of bytes actually read R Re et t...

Page 82: ...em mt ty yp pe e Memory Type to be accessed Value Constant Description 0 API_MEMTYPE_GLOBAL Global Memory access 1 API_MEMTYPE_SHARED Shared Memory access 2 API_MEMTYPE_LOCAL Local Memory access 3 API...

Page 83: ...d offset address I In np pu ut t A Ai iU UI In nt t8 8 m me em mt ty yp pe e Memory Type to be accessed Value Constant Description 0 API_MEMTYPE_GLOBAL Global Memory access 1 API_MEMTYPE_SHARED Shared...

Page 84: ...Functions O Ou ut tp pu ut t A Ai iU UI In nt t3 32 2 p pu ul l_ _B By yt te es sW Wr ri it tt te en n Amount of bytes actually written R Re et tu ur rn n V Va al lu ue e Value Constant Description 0...

Page 85: ...mt ty yp pe e Memory Type to be accessed Value Constant Description 0 API_MEMTYPE_GLOBAL Global Memory access 1 API_MEMTYPE_SHARED Shared Memory access 2 API_MEMTYPE_LOCAL Local Memory access 3 API_ME...

Page 86: ...76 Software Library Reference Manual for VME 429 Section 4 Memory Functions THIS PAGE IS INTENTIONALLY LEFT BLANK...

Page 87: ...er operation Api429CmdTxStatusRead Reads transmitter status Framing Rate Oriented Mode Functions Api429CmdTxXferDef Defines a transmitter Label Transfer Api429CmdTxXferDefEx Defines a transmitter Labe...

Page 88: ...ter a Api429CmdReset command or the Api429CmdTxIni command the related D A converter is loaded with 0x7A which corresponds to an output voltage of 9 0 Volt line to line I In np pu ut t A Ai iU UI In n...

Page 89: ...teps Note After a Api429CmdReset command or the Api429CmdTxIni command the minor frame time is set to 100ms Note This command is obsolete Please use Api429CmdTxFrmTimeIniEx instead I In np pu ut t A A...

Page 90: ...ted API429 transmitter channel in 1ms steps Note After a Api429CmdReset command or the Api429CmdTxIni command the minor frame time is set to 100ms I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n...

Page 91: ...ue Description 1 32 API429 transmitter channel number A Ai iU UI In nt t3 32 2 u ul l_ _X Xf fe er rI Id d Label Transfer Identifier Value Description 0 1024 Label Transfer Identifier O Ou ut tp pu ut...

Page 92: ...stops the transmitter operation label transfers in major frame or acyclic on the selected API429 transmitter channel I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Descrip...

Page 93: ...The transmitter operation is halted the high and low priority stack pointer are initialized and the channel amplitude and the minor frame time are set to the following default values Amplitude 10 Vol...

Page 94: ...y y Parity Mode Value Description 0 The MSB of the ARINC429 data word will be transmitted as parity bit 1 The MSB of the ARINC429 data word will be transmitted as data bit O Ou ut tp pu ut t none R Re...

Page 95: ...mitter mode b_Mode in the Api429CmdTxIni command is set to replay mode Note This command dynamically allocates memory in the global memory section to work It needs about 4 Byte per minor frame in that...

Page 96: ...ame on the selected API429 transmitter channel As a result the starting minor frame identifier is set to 1 and the number of minor frames is set to 1 Note This command is not accessible if the transmi...

Page 97: ...in the Api429CmdTxIni command is set to replay mode Note This command is obsolete Please use Api429CmdTxMinFrameInstEx instead Note This command dynamically allocates memory in the global memory sect...

Page 98: ...ftware Library Reference Manual for VME 429 Section 5 Transmitter Functions R Re et tu ur rn n V Va al lu ue e Value Constant Description 0 API429_CMD_OK Execution success 1 API429_CMD_ERR Execution e...

Page 99: ...e Note This command dynamically allocates memory in the global memory section to work It needs about 4 Byte per transfer called in this minor frame as in ul_XferCnt I In np pu ut t A Ai iU UI In nt t8...

Page 100: ...E_ _O OU UT T p px x_ _M MF Fr ra am me eI In nf fo o Pointer to MFrame output structure typedef struct AiUInt32 ul_MFrameAddr TY_API429_MFRAME_OUT A Ai iU UI In nt t8 8 b b_ _F Fr rm mI Id d Address...

Page 101: ...ame specified by its frame identifier on the selected API429 channel Note This command is not accessible if the transmitter mode b_Mode in the Api429CmdTxIni command is set to replay mode I In np pu u...

Page 102: ...ed API429 32 transmitter channel I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Description 1 32 API429 transmitter channel number A Ai iU UI In nt t1 16 6 w w_ _D DS Si iz...

Page 103: ...1023 The correct destination half buffer is automatically detected After a Api429CmdTxIni command the first two calls of this command will setup both replay half buffers Then the transmitter can be st...

Page 104: ...depends on frame time Frame 2 Frame 3 Frame 4 Frame 31 Frame 32 Replay Data Block One Replay Half Buffer DSIZE 31 0 ARINC Words ARINC Words ARINC Words Note Frame 3 e g is an empty frame 1 Delay Time...

Page 105: ...16 22 32 23 64 24 128 25 256 26 512 27 1024 28 2048 29 4096 30 8192 Note If delay mode is specified for any frame in the Replay block then it must be specified for all frames in the block However diff...

Page 106: ...ber Value Description 0 Affect all API429 transmitter channel numbers not for replay and physical replay 1 32 API429 transmitter channel number A Ai iU UI In nt t8 8 b b_ _S St ta ar rt tM Mo od de e...

Page 107: ...alue references the minor frame identifier used in the function Api429CmdTxMinFrameInst incremented by 1 2 Loop Pollution Not used 3 Replay 0 Cyclic execution of the replay transmission 1 FFFFh Times...

Page 108: ...er channel number T TY Y_ _A AP PI I4 42 29 9_ _T TX XS ST TA AR RT T p px x_ _T Tx xS St ta ar rt tI In n Api429CmdTxStart input structure typedef struct AiUInt32 l_StartMode AiUInt32 l_Mode AiUInt32...

Page 109: ...a Major Frame Note Attention This value references the minor frame identifier used in the function Api429CmdTxMinFrameInst incremented by 1 2 Loop Pollution Not used 3 Replay 0 Cyclic execution of th...

Page 110: ...ularity is 500us for AMC429 and APX429 For API429 it is 1ms Figure 5 13 1 Transmitter Label Transfer Cycle Major Frame Figure 5 13 2 Transmitter Label Transfer Frame Minor Frame TX Starts Re Starts au...

Page 111: ...Reference Manual for VME 429 101 Section 5 Transmitter Functions O Ou ut tp pu ut t None R Re et tu ur rn n V Va al lu ue e Value Constant Description 0 API429_CMD_OK Execution success 1 API429_CMD_ER...

Page 112: ...Ou ut tp pu ut t A Ai iU UI In nt t8 8 p pb b_ _T Tx xS St ta at tu us s Transmitter Execution Status Value Constant Description 1 API429_HALT TX halted 2 API429_BUSY TX busy A Ai iU UI In nt t3 32 2...

Page 113: ...care 1 In this mode bits 7 0 build the label number The bits 30 8 are the mask for the discrete register I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Description 1 32 AP...

Page 114: ...te w_BufSize should not be larger than 1024 w_BufStart A Ai iU UI In nt t3 32 2 p pl l_ _L LD Da at ta a Label Data Words MSB first O Ou ut tp pu ut t none R Re et tu ur rn n V Va al lu ue e Value Con...

Page 115: ...TA A_ _R RE EA AD D_ _I IN NP PU UT T p px x_ _X Xf fe er rD Da at ta aI In np pu ut t Pointer to XferDataInput structure api429 h typedef struct AiUInt32 ul_XferId AiUInt32 ul_BufStart AiUInt32 ul_B...

Page 116: ...e label data given in ul_XferData Bit 31 Bit 30 Bit 29 Bit 28 Bit 27 Bit 26 Bit 25 Bit 24 UPD DAYS Bit 23 Bit 22 Bit 21 Bit 20 Bit 19 Bit 18 Bit 17 Bit 16 DAYS HOURS Bit 15 Bit 14 Bit 13 Bit 12 Bit 11...

Page 117: ...uffer contents may be defined with the Api429CmdTxXferData command The allocated buffer should be released using the Api429CmdTxXferDel command Note This command is not accessible if the transmitter m...

Page 118: ...eset command is set to 1 A Ai iU UI In nt t8 8 p pa ad dd di in ng g1 1 Reserved 0 A Ai iU UI In nt t1 16 6 i ir r_ _i in nd de ex x Transfer Interrupt Index Value Description 1 1023 Transfer Interrup...

Page 119: ...s Value Description 0 Label buffer has been allocated 1 Label buffer could not be allocated due to less memory A Ai iU UI In nt t3 32 2 p pl l_ _F Fr re ee eM Me em m Size of the free memory availabl...

Page 120: ...uffer contents may be defined with the Api429CmdTxXferData command The allocated buffer should be released using the Api429CmdTxXferDel command Note This command is not accessible if the transmitter m...

Page 121: ...Api429CmdReset command is set to 1 A Ai iU UI In nt t8 8 p pa ad dd di in ng g1 1 Reserved 0 A Ai iU UI In nt t1 16 6 i ir r_ _i in nd de ex x Transfer Interrupt Index Value Description 1 1023 Transf...

Page 122: ...ul l_ _S St ta at tu us s Value Description 0 Label buffer has been allocated 1 Label buffer could not be allocated due to less memory A Ai iU UI In nt t3 32 2 u ul l_ _F Fr re ee eM Me em m Size of t...

Page 123: ...ified by its transfer identifier on the selected API429 channel Note This command is not accessible if the transmitter mode b_Mode in the Api429CmdTxIni command is set to replay mode I In np pu ut t A...

Page 124: ...a transfer identified by its transfer identifier I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Description 1 32 API429 transmitter channel number A Ai iU UI In nt t8 8 b...

Page 125: ...de Note This function must be set after setting up the replay and the framing channel I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Description 1 32 API429 transmitter cha...

Page 126: ...a command the pl_XferData will be the label number and the mask for the discrete register Note For NOP transfers pl_XferCnt and pl_XferData will be returned with value 0 Note This command is obsolete...

Page 127: ...are Library Reference Manual for VME 429 117 Section 5 Transmitter Functions R Re et tu ur rn n V Va al lu ue e Value Constant Description 0 API429_CMD_OK Execution success 1 API429_CMD_ERR Execution...

Page 128: ...e pl_XferData will be the label number and the mask for the discrete register Note For NOP transfers all output data except pl_XferIx will be returned with value 0 I In np pu ut t A Ai iU UI In nt t8...

Page 129: ...t 10 Bit 9 Bit 8 HOURS MINUTES Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 MINUTES SECONDS UPD If set to 1 label transfer has been sent can be cleared with function Api429CmdTxXferDataRead A Ai iU...

Page 130: ...120 Software Library Reference Manual for VME 429 Section 5 Transmitter Functions THIS PAGE IS INTENTIONALLY LEFT BLANK...

Page 131: ...mdRxIni Initializes Receiver mode Api429RxReadActivity Provides a bit field on which Labels were already received Api429CmdRxLabCon Defines the Labels to be received Api429CmdRxLabDataCon Initializes...

Page 132: ...mitted will occur for the received data I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Description 1 32 API429 receiver channel number A Ai iU UI In nt t8 8 b b_ _C Ch hn n...

Page 133: ...Value Description 1 32 API429 receiver channel number A Ai iU UI In nt t8 8 b b_ _L La ab be el l Value Description 0 255 Label Number A Ai iU UI In nt t8 8 b b_ _S Sd di i Value Description 0 3 SDI...

Page 134: ...API429_RX_HALT 0x94 P Pu ur rp po os se e This function stops the receiver and monitor operation on the selected 429 receiver and monitor channel I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n...

Page 135: ...should be larger than 27 10ms update rate for Receive Mixing Channel If the receiver channel is enabled in mixing mode all SDI and labels will be stored in one buffer I In np pu ut t A Ai iU UI In nt...

Page 136: ...rary Reference Manual for VME 429 Section 6 Receiver Functions O Ou ut tp pu ut t none R Re et tu ur rn n V Va al lu ue e Value Constant Description 0 API429_CMD_OK Execution success 1 API429_CMD_ERR...

Page 137: ...elected API429 receiver channel and allocates releases a receive data buffer I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Description 1 32 API429 receiver channel number...

Page 138: ...d de ex x Value Description 1 1023 Buffer Interrupt Index Note Only relevant if the receiver mode b_Mode in the Api429CmdRxIni command is set to normal receive mode 0 A Ai iU UI In nt t1 16 6 w w_ _B...

Page 139: ...an be used to clear the data buffer after the receiver was stopped I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Description 1 32 API429 receiver channel number A Ai iU UI...

Page 140: ...t t3 32 2 l la ab b_ _d da at ta a Receive buffer entry MSB first consisting of label data and additional data containing the entry error flag AE Note The amount of label data words to write to the re...

Page 141: ...UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Description 1 32 API429 receiver channel number A Ai iU UI In nt t8 8 b b_ _L La ab be el l Value Description 0 255 Label Number A Ai iU UI In nt t8...

Page 142: ...r to Label Receive Buffer Data structure api429 h AE Last Label Data Word AE First Label Data Word Bit 31 30 0 typedef struct AiUInt32 lab_data TY_API429_RX_BUF_ENTRY A Ai iU UI In nt t3 32 2 l la ab...

Page 143: ...ote The transfer counter will be incremented only if px_Cmd lcen in the Api429CmdReset command is set to 1 I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Description 1 32 A...

Page 144: ...if px_Cmd lcen in the Api429CmdReset command will be set to 0 A Ai iU UI In nt t1 16 6 p pw w_ _L La ab bE Er rr r Number of Transfer Errors detected Note This field is cleared whenever the command Ap...

Page 145: ...annel I In np pu ut t None O Ou ut tp pu ut t T TY Y_ _A AP PI I4 42 29 9_ _R RX X_ _A AC CT TI IV VI IT TY Y p px xA Ac ct ti iv vi it ty y typedef struct AiUInt32 ChannelActivity 32 8 TY_API429_RX_A...

Page 146: ...ons in the loop pollution mode Note The receiver mode b_Mode in the Api429CmdRxIni command must be set to loop pollution mode 1 to use this function I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn...

Page 147: ...Addition Subtraction Control Value Description 0 Addition 1 Subtraction A Ai iU UI In nt t1 16 6 p pa ad dd di in ng g1 1 Reserved 0 A Ai iU UI In nt t3 32 2 a an nd d_ _m ma as sk k AND Mask Note On...

Page 148: ...rts the receiver and monitor operation on the selected API429 receiver and monitor channel The receiver and monitor will be started in corresponding mode of the Api429CmdRxIni command and Api429CmdRmI...

Page 149: ...channel message error count information I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Description 1 32 API429 receiver channel number O Ou ut tp pu ut t A Ai iU UI In nt...

Page 150: ...140 Software Library Reference Manual for VME 429 Section 6 Receiver Functions THIS PAGE IS INTENTIONALLY LEFT BLANK...

Page 151: ...mdRmCapDef Defines Receiver Monitor Capture Mode Standard or Record Api429CmdRmLabCon Defines Label or Label SDI to capture Api429CmdRmFuncBlkDef Controls Receiver Monitor Label Function Block Api429C...

Page 152: ...t8 mode AiUInt8 padding1 AiUInt16 tat AiUInt16 reserved AiUInt16 padding2 AiUInt32 rec_filesize TY_API429_RCV_CAP_MODE_CMD A Ai iU UI In nt t8 8 m mo od de e Trigger Capture Mode Value Constant Descri...

Page 153: ...ecording Note The tat value should not be greater than the monitor stack size Note After Api429CmdReset tat is initialized to the max stack size in entries A Ai iU UI In nt t1 16 6 r re es se er rv ve...

Page 154: ...ach BIU has its own monitoring buffer For example an AMC429 32R16 board has one global monitoring buffer for channel 1 16 and one for channel 17 32 I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn...

Page 155: ...EED Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 HOURSOFDAY G GA AP P Value Description 1 255 Gap time in ARINC bits B BI IU U BIU on which the data is recorded Value Constant Description 0 API429_...

Page 156: ...settings done in the command Api429CmdReset S SP PE EE ED D Value Constant Description 0 API429_LO_SPEED Low Speed Data 1 API429_HI_SPEED High Speed Data H HO OU UR RS SO OF FD DA AY Y Hours of the I...

Page 157: ...receiver channel Function blocks are used on the API429 for comprehensive complex function triggering label filtering and range checking The maximum number of function blocks per channel is 30 I In np...

Page 158: ...trg_line TY_API429_RCV_FB_CMD A Ai iU UI In nt t8 8 f fb b_ _i id d Function Block ID Value Description 1 30 API429 Function Block Identifier A Ai iU UI In nt t8 8 f fb bi i Value Description 0 Disabl...

Page 159: ...llc Description 0 Never 1 Not equal 2 Not greater than 3 Not less than Note An upper or lower limit check can be switched off by setting uli to one and ulc to 00bin A Ai iU UI In nt t8 8 f fe e Filter...

Page 160: ...reaches zero the function block operation is TRUE The pre qualify counter should be initialized to 1 A Ai iU UI In nt t1 16 6 p pr re e_ _r re el l Pre Qualify Counter Register Reinitialization This...

Page 161: ...0xB7 P Pu ur rp po os se e This function suspends the monitor operation on the selected API429 monitor This function shall only be used after the Api429CmdRxStart command I In np pu ut t A Ai iU UI In...

Page 162: ...U UI In nt t8 8 b b_ _M Mo od de e Monitor Mode Value Constant Description 0 API429_MON_MODE_LOC Local Monitoring Individual receive buffers are used for the receive channels 1 API429_MON_MODE_GLB Glo...

Page 163: ...b_ _C Ch hn n Channel Number Value Description 1 32 API429 receiver channel number A Ai iU UI In nt t8 8 b b_ _L La ab be el l Value Description 0 255 Label Number A Ai iU UI In nt t8 8 b b_ _S Sd di...

Page 164: ...nction Api429CmdRmCapDef If available the received monitor data recording data will be copied from the Receiver Monitor Buffer to a buffer in the Shared Memory RAM area of the API429 board Finally the...

Page 165: ...have been copied from the Global RAM into the Shared RAM area of the API429 board A Ai iU UI In nt t3 32 2 s si iz ze e Amount of 32 bit Receiver Monitor buffer entries that have been be copied from...

Page 166: ...n restarts the monitor operation on the selected API429 monitor channel after the monitor operation is suspended via the Api429CmdRmHalt command This function shall only be used after the Api429CmdRxS...

Page 167: ...ecution Status Value Constant Description 1 API429_HALT RM halted 2 API429_BUSY RM busy A Ai iU UI In nt t1 16 6 p pw w_ _M Ms sw w Monitor Status Word Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9...

Page 168: ...monitoring BIU must be read separately via the global channel number of the BIU global buffer for BIU I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Description 1 32 API429...

Page 169: ...m_ _t ta ag g If entry found 32 bit Timetag Bit 31 Bit 30 Bit 29 Bit 28 Bit 27 Bit 26 Bit 25 Bit 24 MINUTES SECONDS Bit 23 Bit 22 Bit 21 Bit 20 Bit 19 Bit 18 Bit 17 Bit 16 SECONDS MICROSECONDS Bit 15...

Page 170: ...as received usage of monitor merge mode This Value has a range from 1 to 16 for each BIU If you have a board with more than on BIU you must extend this value with the BIU parameter G GS SM M Global Sp...

Page 171: ...ing from stack entry pointer with offset are defined in the in parameters I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Description 1 32 API429 receiver channel number A A...

Page 172: ...n error 5 Gap error A Ai iU UI In nt t3 32 2 l l_ _E Et tm m Entry mask value for data entries most significant byte first It defines which bits are relevant mask bit 1 for label data search operation...

Page 173: ...18 Bit 17 Bit 16 BIU ETYPE UDF Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 CHN_ID GSM LSS SPEED Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 HOURSOFDAY G GA AP P Value Description 1 255 G...

Page 174: ...tings done in the command Api429CmdReset For further descriptions see page 50 S SP PE EE ED D Value Constant Description 0 API429_LO_SPEED Low Speed Data 1 API429_HI_SPEED High Speed Data H HO OU UR R...

Page 175: ...the selected API429 receiver channel I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Description 1 32 API429 receiver channel number O Ou ut tp pu ut t A Ai iU UI In nt t3...

Page 176: ...channel in framing mode T TY Y_ _A AP PI I4 42 29 9_ _R RC CV V_ _T TR RG G_ _M MO OD DE E_ _C CM MD D p px x_ _T Tr rg gM Mo od de e Pointer to Trigger Mode Data structure api429 h typedef struct Ai...

Page 177: ...nt 1 Enable strobe external trigger output on any trigger event A Ai iU UI In nt t8 8 e ex xt to o External Trigger Output Select Value Description 0 3 External Trigger Output Select Note If using a b...

Page 178: ...G_ _P PA AR R_ _C CM MD D p px x_ _P Pa ar ra a Pointer to Trigger Parameter Data structure api429 h typedef struct AiUInt8 start_pat AiUInt8 start_mask AiUInt8 stop_pat AiUInt8 stop_mask TY_API429_TR...

Page 179: ...erence Manual for VME 429 169 Section 7 Receiver Monitor Functions O Ou ut tp pu ut t none R Re et tu ur rn n V Va al lu ue e Value Constant Description 0 API429_CMD_OK Execution success 1 API429_CMD_...

Page 180: ...command and the Api429CmdRmTrgStartDef command must be different I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Description 1 32 API429 receiver channel number A Ai iU UI...

Page 181: ...unction Mode Value Description 0 Equal 1 Not equal 2 Less than 3 Greater than A Ai iU UI In nt t1 16 6 p pa ad dd di in ng g1 1 Reserved 0 A Ai iU UI In nt t3 32 2 m ma as sk k Monitor Trigger Mask A...

Page 182: ...command and the Api429CmdRmTrgStartDef command must be different I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Value Description 1 32 API429 receiver channel number A Ai iU UI...

Page 183: ...nction Mode Value Description 0 Equal 1 Not equal 2 Less than 3 Greater than A Ai iU UI In nt t1 16 6 p pa ad dd di in ng g1 1 Reserved 0 A Ai iU UI In nt t3 32 2 m ma as sk k Monitor Trigger Mask A A...

Page 184: ...174 Software Library Reference Manual for VME 429 Section 7 Receiver Monitor Functions THIS PAGE IS INTENTIONALLY LEFT BLANK...

Page 185: ...tions are utilized to initialize status the replay function and copy replay data These functions can only be applied to API429 channels which are configured as transmitter Table 8 I Replay Function De...

Page 186: ..._C Ch hn n Channel Number Value Description 1 32 API429 transmitter channel number A Ai iU UI In nt t8 8 u uc c_ _C Cl lr rE En nt tr ry yB Bi it t Clear Entry Bit Value Description 0 Do not modify pr...

Page 187: ...formation stored in the input buffer A Ai iU UI In nt t8 8 u uc c_ _R Re ep pI In nt tM Mo od de e Replay Interrupt Control Value Description 0 No interrupt 1 Assert interrupt if half buffer is transm...

Page 188: ...he file for this label ul_Min ul_Msec Actual IRIG Time A Ai iU UI In nt t3 32 2 u ul l_ _M MS Se ec c Absolute Microsecond Offset Value Description 0 Not used 0 Specify the offset between the recorded...

Page 189: ...rary function Api429CmdReplayIni I In np pu ut t A Ai iU UI In nt t8 8 u uc c_ _C Ch hn n Channel Number Value Description 1 32 API429 transmitter channel number O Ou ut tp pu ut t T TY Y_ _A AP PI I4...

Page 190: ...U UI In nt t3 32 2 u ul l_ _E En nt tr ry yC Cn nt t Initial value calculated from the file size refer to Api429CmdReplayIni parameter ul_FileSize and decremented when replay is started A Ai iU UI In...

Page 191: ...pi429 h typedef struct AiUInt8 uc_Status AiUInt8 uc_Padding1 AiUInt16 uw_Padding2 AiUInt32 ul_RpiCnt AiUInt32 ul_EntryCnt AiUInt32 ul_StartAddr AiUInt32 ul_Size TY_API429_REP_STATUS A Ai iU UI In nt t...

Page 192: ...of the AIM board The value of the start address may be read with the function Api429CmdReplayStatus A Ai iU UI In nt t3 32 2 u ul l_ _S Si iz ze e Amount of bytes to be copied The value of the size o...

Page 193: ...constant discrete Two sets of scenarios can be defined which are stored on the API429 board to allow a scenario switching caused by a special event on a receive channel The current inactive scenario...

Page 194: ...emory areas on the API429 Note After the Scenario Execution Time the Scenario will stay on the last transmitted value Note This command is not supported on APM boards I In np pu ut t A Ai iU UI In nt...

Page 195: ...all transmit channels 1 32 API429 transmitter channel number A Ai iU UI In nt t8 8 b b_ _S Sc ce e Scenario ID Value Description 1 2 API429 scenario identifier A Ai iU UI In nt t8 8 b b_ _M Mo od de...

Page 196: ...rary Reference Manual for VME 429 Section 9 Scenario Functions O Ou ut tp pu ut t none R Re et tu ur rn n V Va al lu ue e Value Constant Description 0 API429_CMD_OK Execution success 1 API429_CMD_ERR...

Page 197: ...ue Description 1 32 API429 transmitter channel number A Ai iU UI In nt t8 8 b b_ _S Sc ce e Scenario ID Value Description 1 2 API429 scenario identifier A Ai iU UI In nt t8 8 b b_ _X Xf fe er rI Id d...

Page 198: ...data T TY Y_ _A AP PI I4 42 29 9_ _S SC CE E_ _X XF FE ER R_ _F FI IE EL LD D f fl ld d M MA AX X_ _A AP PI I4 42 29 9_ _S SC CE E_ _F FI IE EL LD DS S typedef struct AiUInt8 type AiUInt8 lsb AiUInt8...

Page 199: ...time offset in ms 0 4 API429_FLD_FNC_ RAMPS Single Ramp f t C a t t0 0 t T fpar1 C offset fpar2 a scale fpar3 T time in ms after ramp is suspended stay on last value fpar4 t0 time offset in ms 0 5 AP...

Page 200: ...rary Reference Manual for VME 429 Section 9 Scenario Functions O Ou ut tp pu ut t none R Re et tu ur rn n V Va al lu ue e Value Constant Description 0 API429_CMD_OK Execution success 1 API429_CMD_ERR...

Page 201: ...R SCENARIO DATA commands Api429CmdSceCtl have been called for the given channel Note This command is not supported on APM boards I In np pu ut t A Ai iU UI In nt t8 8 b b_ _C Ch hn n Channel Number Va...

Page 202: ...tion 1 32 API429 transmitter channel number O Ou ut tp pu ut t A Ai iU UI In nt t8 8 p pb b_ _S Sc co o Scenario Overflow Value Description 0 No overflow occurred scenario data ok 1 Scenario overflow...

Page 203: ...761 45 22 90 866 AIM A429 44 1494 44 68 44 10 1 Error Reporting Design Error messages can be generated by various levels of the API S W Library interfaces This section will address the error messages...

Page 204: ...in its associated section Generally errors reported at point 1 are due to out of range function call parameters When the API S W Library function software detects an error at this point it will retur...

Page 205: ...1 3 occurred when ApiCmdBCFrameDef function call contained a parameter minor frame ID out of range Figure 10 1 3 Example Error in function Error Message Once this type of error message is generated th...

Page 206: ..._ERR_PARAM9_IS_NULL Parameter 9 pointer is null 0x0025 API_ERR_PARAM10_IS_NULL Parameter 10 pointer is null 0x0026 API_ERR_PARAM11_IS_NULL Parameter 11 pointer is null 0x0027 API_ERR_PARAM12_IS_NULL P...

Page 207: ...he function call See Table 10 2 I c is the error returned by the Target software d is the error returned to the module address should be the same as c If the returned acknowledgement status is not wha...

Page 208: ...ssage CMD xxxxxxxxh ACK yyyyh Where a Error message is 1 General I O Error 2 ACK returned 3 ACK2 returned 4 NAK returned 5 Acknowledge Error 6 Target Communication closed ERROR NO a for unknown error...

Page 209: ...own in Figure 10 1 2 will occur with function name equal to the calling API S W Library function Since the error code is reserved for the Target S W errors it will be interpreted as unknown by the API...

Page 210: ...the Api429 h header file Table 10 2 I Driver Command Codes vs API Function Calls Driver Command Codes Function Call Library Administration App C System App D Memory App E Transmitter App F Receiver A...

Page 211: ...9CmdTxXferDefEx 0x74 Api429CmdTxXferData 0x75 Api429CmdTxMinFrameInst 0x76 Api429CmdTxMajFrameInst 0x77 Api429CmdTxXferDel 0x78 Api429CmdTxMinFrmDel 0x79 Api429CmdTxMajFrmDel 0x7A Api429CmdTxStart 0x7...

Page 212: ...MixChannel 0xB0 Api429CmdRmIni 0xB2 Api429CmdRmTrgDef 0xB3 Api429CmdRmCapDef 0xB4 Api429CmdRmLabCon 0xB5 Api429CmdRmFuncBlkDef 0xB6 Api429CmdRmStart 0xB7 Api429CmdRmHalt 0xB8 Api429CmdRmStatusRead 0xB...

Page 213: ...Binary Coded Decimal BH Buffer Header BIP Bus Interface Processor BIT Built in Test BIU Bus Interface Unit bpos bit position BSP Board Support Package CMD Command CPCI Compact PCI CTP capture start tr...

Page 214: ...rsonal Computer Advanced Technology PCI Peripheral Component Interconnect PMC Peripheral Component Interconnect Mezzanine Card PROM Programmable Read Only Memory PSC PCI and System Controller RAM Rand...

Page 215: ...out what to do next Little Endian a system of memory addressing in which numbers that occupy more than one byte in memory are stored little end first with the lowest 8 bits at the lowest address Prot...

Page 216: ...206 Software Library Reference Manual for VME 429 Section 11 Notes THIS PAGE IS INTENTIONALLY LEFT BLANK...

Page 217: ...Software Library Reference Manual for VME 429 207 Appendix A Document Software History APPENDIX A DOCUMENT SOFTWARE HISTORY...

Page 218: ...208 Software Library Reference Manual for VME 429 Appendix A Document Software History THIS PAGE IS INTENTIONALLY LEFT BLANK...

Page 219: ...each version of the API S W Library This information is provided in two forms a Table A I Summary of Changes for each Version Update This table includes a definition of changes for each s w library f...

Page 220: ...General No changes in this Manual However the VME Generic Reference Manual has been updated 5 4x Revision B General Restructured document from Appendices to Sections Function call parameter descriptio...

Page 221: ...r pl_Addr Api429CmdRxLabCon Extended description of parameter b_Sdi Api429CmdRxLabDataRead Extended description of parameter lab_data Api429CmdSceDef Api429CmdSceClr Api429CmdSceIni Api429CmdSceCtl Ap...

Page 222: ...red to description to appropriate Ai429VME command Ai429VMEModuleListBuild Ai429VMEModuleListBuildEx Ai429VMEMemoryMap Ai429VMEInitInterrupt Ai429VMEFreeModuleList Added 6 0x Revision A AiVmeExamineSl...

Page 223: ...MemData Corrected values for parameter memtype 7 0x Revision A Api429CmdBite Added Note Api429CmdIni Corrected description of parameter px_IniPar board_type and px_IniPar board_config Api429ReadBspVer...

Page 224: ...dynamically allocated Api429CmdTxMinFrameInst Changed parameters b_FrmId and b_XferCnt from AiUint8 to AiUInt32 and parameter pb_Xfers from AiUInt8 to AiUInt32 Changed parameter range of ul_XferCnt fr...

Page 225: ...429Init Api429Open R D Api429Close R Avi429Open New Avi429Close New Api429InstIntHandler New Api429DelIntHandler New Api429GetTgEmul Api429SetTgEmul Api429SetDllDbgLevel New Api429GetTcomStatus R Api4...

Page 226: ...a S Sc ce en na ar ri io o F Fu un nc ct ti io on ns s Api429CmdSceDef D D Api429CmdSceClr D Api429CmdSceIni D Api429CmdSceCtl D Api429CmdSceRead D T Tr ra an ns sm mi it tt te er r F Fu un nc ct ti i...

Page 227: ...9CmdRxHalt Api429CmdRxStatusRead Api429CmdRxLabRead Api429CmdRxLabDataRead D Api429CmdRxGetBufAddress D Api429RxReadActivity New Api429CmdRxEnaMixChannel R Re ec ce ei iv ve er r M Mo on ni it to or r...

Page 228: ...er New Ai429VmeModuleOpen R New Avi429DelVmeInt R Avi429InitVmeInt R Avi429ModuleCheck R Avi429VMEBoardIni R VMEuserInterruptFunction R D D AiVMEModuleListBuild R D D AiVMEModuleListBuildEx R D D AiVM...

Reviews: