background image

Spectracom Corporation 

 

TPRO-PCI-U/TSAT-PCI-U — LabView Driver 

 

Synchronizable Timecode Generator Application Programmer’s Guide 

2-1

2

 

Command Messages and Error Codes 

2.1

 

The Command Message Catalog 

A detailed description of the command messages follows.  The description of each 
message is augmented with definitions of relevant data types and symbolic constants. 
 

2.1.1 TPRO_Open 

Field Name 

Data Type 

Description 

Handle 

INT*4 

Pointer to handle. Defaults is 0. 

Device Name 

CHAR*10 

Device name – trpopci0 

Options 

UINT*2 

Pointer to options 

 

Return: 

 

Field Name 

Description 

Handle 

Valid handle to TPRO –PCI card 

Options  

Error Code 

Refer appendix 

 

2.1.2 TPRO_Close 

Field Name 

Data Type 

Description 

Handle 

INT*4 

TPRO- PCI handle. 

 

Return: 

 

Field Name 

Description 

Error Code 

Refer appendix 

 

Summary of Contents for TPRO-PCI-U Series

Page 1: ...OR with UNIVERSAL PCI BUS INTERFACE LabView Driver Application Programmer s Guide 95 Methodist Hill Drive Rochester NY 14623 Phone US 1 585 321 5800 Fax US 1 585 321 5219 www spectracomcorp com Part N...

Page 2: ...Corporation Printed in USA Specifications subject to change or improvement without notice Spectracom NetClock Ageless TimeGuard TimeBurst TimeTap LineTap MultiTap VersaTap and Legally Traceable Time a...

Page 3: ...com products must be returned with the description of the claimed defect and identification of the individual to be contacted if additional information is needed Spectracom products must be returned p...

Page 4: ......

Page 5: ...2 3 2 1 6 TPRO_GETFIRMWARE 2 3 2 1 7 TPRO_GETFPGA 2 4 2 1 8 TPRO_GETLATITUDE 2 4 2 1 9 TPRO_GETLONGITUDE 2 5 2 1 10 TPRO_GETSATINFO 2 5 2 1 11 TPRO_GETTIME 2 6 2 1 12 TPRO_RESETFIRMWARE 2 6 2 1 13 TPR...

Page 6: ...TPRO PCI U TSAT PCI U LabView Driver Spectracom Corporation Synchronizable Timecode Generator Application Programmer s Guide iv...

Page 7: ...RO PCI U are modulated time code or GPS receiver signals for TSAT PCI U host commands and time tags Outputs are modulated IRIG B time code programmable start stop time and a programmable heartbeat pul...

Page 8: ...TPRO PCI U TSAT PCI U LabView Driver Spectracom Corporation Synchronizable Timecode Generator Application Programmer s Guide 1 2...

Page 9: ...is augmented with definitions of relevant data types and symbolic constants 2 1 1 TPRO_Open Field Name Data Type Description Handle INT 4 Pointer to handle Defaults is 0 Device Name CHAR 10 Device na...

Page 10: ...dle Meters IEEE 4 Pointer to Meters Return Field Name Description Handle Valid handle to TPRO PCI card Meters Error Code Refer appendix 2 1 4 TPRO GetDate Field Name Data Type Description Handle INT 4...

Page 11: ...ription Handle INT 4 TPRO PCI handle Driver CHAR x Driver Name END OF MSG Return Field Name Description Handle Valid handle to TPRO PCI card Error Code Refer appendix 2 1 6 TPRO_GETFIRMWARE Field Name...

Page 12: ...TPRO PCI handle FPGA CHAR x FPGA Name Return Field Name Description Handle Valid handle to TPRO PCI card Error Code Refer appendix 2 1 8 TPRO_GETLATITUDE Field Name Data Type Description Handle INT 4...

Page 13: ...er to Degrees Minutes IEEE 4 Pointer to Minutes Return Field Name Description Handle Valid handle to TPRO PCI card Degrees Minutes Error Code Refer appendix 2 1 10 TPRO_GETSATINFO Field Name Data Type...

Page 14: ...EEE 8 Pointer to Seconds Minutes UCHAR 1 Pointer to Minutes Hours UCHAR 1 Pointer to Hours Days UCHAR 1 Pointer to Days Return Field Name Description Handle Valid handle to TPRO PCI card Seconds Minut...

Page 15: ...pe UCHAR 1 Output type value ClockFreq UCHAR 1 ClockFreq value Frequency IEEE 8 Frequency value Return Field Name Description Handle Valid handle to TPRO PCI card Error Code Refer appendix 2 1 14 TPRO...

Page 16: ...ion Handle INT 4 TPRO PCI handle Frequency UCHAR 1 Pointer to Frequency Return Field Name Description Handle Valid handle to TPRO PCI card Frequency Error Code Refer appendix 2 1 16 TPRO_SETPROPDELAYC...

Page 17: ...lue Days UINT 2 Days Value Return Field Name Description Handle Valid handle to TPRO PCI card Error Code Refer appendix 2 1 18 TPRO_SETYEAR Field Name Data Type Description Handle INT 4 TPRO PCI handl...

Page 18: ...iption Handle INT 4 TPRO PCI handle Enbp UCHAR 1 Pointer to Enbp Return Field Name Description Handle Valid handle to TPRO PCI card Enbp Error Code Refer appendix 2 1 21 TPRO_SYNCHSTATUS Field Name Da...

Page 19: ...T 4 TPRO PCI handle Seconds IEEE 8 Pointer to Seconds Minutes UCHAR 1 Pointer to Minutes Hours UCHAR 1 Pointer to Hours Days UINT 2 Pointer to Days Year UINT 2 Pointer to Year Month UCHAR 1 Pointer to...

Page 20: ...ta Type Description Handle INT 4 TPRO PCI handle Ticks UINT 4 Ticks value Return Field Name Description Handle Valid handle to TPRO PCI card Error Code Refer appendix 2 1 24 TPRO_WAITMATCH Field Name...

Page 21: ...ating handle to device 2 Error creating device object 3 Error closing device handle 4 Tpro device was not opened 5 Function is not available for board type 6 Invalid frequency 7 Invalid year parameter...

Page 22: ...TPRO PCI U TSAT PCI U LabView Driver Spectracom Corporation Synchronizable Timecode Generator Application Programmer s Guide 2 14...

Page 23: ...REVISION HISTORY Revision Level ECN Number Description A 2187 First draft of Spectracom documentation for this product B 2332 Minor corrections...

Page 24: ...Spectracom Corporation 95 Methodist Hill Drive Rochester NY 14623 www spectracomcorp com Phone US 1 585 321 5800 Fax US 1 585 321 5219...

Reviews: