Rohde & Schwarz R&S TS-PMB Manual Del Usuario página 30

Matrix module b
Tabla de contenido

Publicidad

®
R&S
TS-PMB
main()
{
/*
*/
s_status = rspmb_InitWithOptions ("CAN0::0::1::12", VI_TRUE, VI_TRUE, "", & handle);
/*
*/
s_status = rspmb_SetAttributeViBoolean (handle, "", RSPMB_ATTR_CR_AUTO, VI_TRUE);
/*
*/
s_status = rspmb_Connect (handle, "ABa1", "P1");
s_status = rspmb_Connect (handle, "ABb1", "P1");
/*
*/
/*
*/
s_status = rspmb_Disconnect (handle, "ABa1", "P1");
s_status = rspmb_Disconnect (handle, "ABb1", "P1");
s_status = rspmb_close (handle);
}
User Manual 1153.5233.12 ─ 05
Creates a new IVI instrument driver and optionally sets the initial
state of the session attributes
"CAN0::0::1::12": CAN board 0, Bus Controller 0, Frame 1, Slot 12
This function sets/opens automatically the bus coupling relays
(local analog bus to analog bus) if a path is created/closed.
This function creates a path between channel ABa1 and P1.
The driver calculates the shortest path between the two channels.
Connection between ABa1 and ABb1 exists.
Opens the path between Channel ABa1 and LABa1.
Software
TS-PMB Program Example
14

Publicidad

Tabla de contenido
loading

Tabla de contenido