Initializing the library to use a remote database – Grass Valley K2 TX/MAM Database Protocol Manual v.2.2 User Manual
Page 7

TX/MAM Database Protocol Manual - document version: 2.2
– Page 7
5.2 Initializing the library to use a remote database
Use this function to verify if a remote database can be accessed.
int cob_init_remote( char *database_ip, int port );
Parameters
Name
Description
char *database_ip
The ip-address of the machine with the remote database, e.g. "192.168.7.186".
int port
The port on the remote machine to connect to, default 5020.
Result
The result of the function is an integer that can have following values:
Value
Description
0
Success, the library can now be used to retrieve information from the
remote database.
-1
Failure, setting up a connection to the remote database failed.
Example
if ( cob_init_remote("192.168.7.186",5020) == 0 ) {
/* continue with the rest of the applet */
} else {
/* not possible to connect to database, report error and stop... */
return -1;
}
- LDK 5302 (24 pages)
- SFP Optical Converters (18 pages)
- 2000GEN (22 pages)
- 2011RDA (28 pages)
- 2010RDA-16 (28 pages)
- 2000NET v3.2.2 (72 pages)
- 2000NET v3.1 (68 pages)
- 2020DAC D-To-A (30 pages)
- 2000NET v4.0.0 (92 pages)
- 2020ADC A-To-D (32 pages)
- 2030RDA (36 pages)
- 2031RDA-SM (38 pages)
- 2041EDA (20 pages)
- 2040RDA (24 pages)
- 2041RDA (24 pages)
- 2042EDA (26 pages)
- 2090MDC (30 pages)
- 2040RDA-FR (52 pages)
- LDK 4021 (22 pages)
- 3DX-3901 (38 pages)
- LDK 4420 (82 pages)
- LDK 5307 (40 pages)
- Maestro Master Control Installation v.1.5.1 (455 pages)
- Maestro Master Control Installation v.1.5.1 (428 pages)
- 7600REF Installation (16 pages)
- 7600REF (84 pages)
- 8900FSS (18 pages)
- 8900GEN-SM (50 pages)
- 8900NET v.4.3.0 (108 pages)
- Safety Summary (17 pages)
- 8900NET v.4.0.0 (94 pages)
- 8906 (34 pages)
- 8911 (16 pages)
- 8900NET v.3.2.2 (78 pages)
- 8914 (18 pages)
- 8912RDA-D (20 pages)
- 8916 (26 pages)
- 8910ADA-SR (58 pages)
- 8920ADC v.2.0 (28 pages)
- 8920ADC v.2.0.1A (40 pages)
- 8920DAC (28 pages)
- 8920DMX (30 pages)
- 8920ADT (36 pages)
- 8920MUX (50 pages)
- 8921ADT (58 pages)