Download E1430A VXI ADC User`s Guide
Transcript
HP E1430A User’s Guide e1430_reset_lbus e1430_reset_lbus Reset the local bus SYNOPSIS #include "e1430.h" SHORTSIZ16 e1430_reset_lbus(groupID, state); SHORTSIZ16 groupID; SHORTSIZ15 state; DESCRIPTION E1430_reset_lbus puts the local bus into reset or takes it out of reset depending on whether state is E1430_RESET_LBUS_ON or E1430_RESET_LBUS_OFF, respectively. Adjacent modules using the local bus must all be put into reset and then, after they all are in reset, must all taken out of reset to avoid glitches in the local bus data. When HP E1430As are used with the HP E1485A measurement controller, the HP E1485A must be reset while all of the HP E1430As are being held in reset to avoid initial glitches in the local bus data. The HP E1430As should be taken out of reset only after the first e1430_arm_module is issued. The correct way to reset the local bus is as follows: e1430_reset_lbus(groupID, E1430_RESET_LBUS_ON); /* hold E1430s in reset */ lbus_control(LBUS_CTL_RESET, 0); /* reset the E1485 lbus */ .... .... e1430_arm_module(groupID);/* first arming */ / *remove reset from E1430s, has no effect after first time */ e1430_reset_lbus(groupID, E1430_RESET_LBUS_OFF); GroupID is the group ID of a single HP E1430Aor group of HP E1430As that was returned by a call to \fRe1430_create_module_group\fR. RETURN VALUE All functions return a value of 0 when successful. Otherwise an error will be returned. The error, ERR1430_NO_GROUP, is returned if an illegal value of the groupID parameter is used (i.e. one that was not obtained by a call to e1430_create_module_group(E1430)). SEE ALSO e1430_create_module_group(E1430). 10-22