Agilent Technologies E1437A User Manual page 92

20 msample/second adc with filters and fifo
Table of Contents

Advertisement

hpe1437_lbus_reset
Resets the local bus. This description also includes the query:
hpe1437_lbus_reset_get - gets the current local bus reset state
VXIplug&play Syntax
#include "hpe1437.h"
ViStatus hpe1437_lbus_reset(ViSession id, ViInt16 lbusReset);
ViStatus hpe1437_lbus_reset_get(ViSession id, ViPInt16 lbusResetPtr);
Description
In order to avoid glitches in the local bus data, the local bus interface has strict
requirements as to the order in which modules in a VXI mainframe have their local bus
interface reset. Upon powerup or whenever any single module in the mainframe is put
into a reset state, all modules should be placed into the reset state from left to right.
Then all modules can be take out of reset from left to right.
lbusReset puts the E1437's local bus into reset or takes it out of reset. HPE1437_ON
puts the E1437's local bus into reset while HPE1437_OFF takes the E1437 out of reset.
Parameters
id is the VXI instrument session pointer returned by the hpe1437_init function.
lbusResetPtr contains the current value of the lbusReset parameter.
Example
When E1437s are used with the E1485 measurement controller, the E1485 must be reset
while all of the E1437s are being held in reset to avoid initial glitches in the local bus
data. The E1437s should be taken out of reset only after the first
hpe1437_meas_control release is issued. The correct way to reset the local bus is as
follows:
lbus_control(LBUS_CTL_RESET, 0);
for all id{
}
for all id{
}
lbus_control(LBUS_CTL_RESET, 1);
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
hpe1437_lbus_reset(id, HPE1437_ON);
/*Set LBUS mode for all modules....{
....*/}
hpe1437_meas_control(id, HPE1437_RELEASE, HPE1437_ASSERT);
/* first arming */
hpe1437_lbus_reset(id, HPE1437_OFF);
/* remove reset from HP E1437s, has no effect after first time */
VXI plug&play Programming Reference
/* reset the E1485 lbus */
/* hold HP E1437s in reset */
/* unreset the E1485 lbus */
E1437A User's Guide
4-45

Advertisement

Table of Contents
loading

Table of Contents