Download E1488A Instrument Memory Module User`s Manual
Transcript
Using Multiple Memory Modules on the Local Bus The Memory Module has the following Local Bus capabilities when using multiple modules: • pass data through one or more modules and store it in another module • store data in several modules • output data from several modules Passing Data Through Memory Modules The following program shows how to pass Local Bus data from a Memory Module through another Memory Module, and then output the data to the Local Bus. The first module outputs the data and the second module passes the data to the Local Bus. The program uses the VINStrument[:CONFigure]:LBUS[:MODE] command with the GENerate and PIPEline parameters to output and pass the data, respectively. The program assumes that data was previously stored into the Memory Module (use the previous lb_str.c program to store the data) and has a current TRACe name and length (TRACe:DEFine <name>,<length>). Note For simplicity purposes, the first Memory Module in the following program outputs the data to the Local Bus to the second Memory Module. However, any module that can output data to the Local Bus can be used in place of the first Memory Module. If using a different module, substitutethe the appropriate setup commands of the replacement module for the setup commands of the first Memory Module. 1. Module 1: Disable the Register-level VME Bus Data Transfer Mode VINStrument[:CONFigure]:VME[:MODE] OFF This command disables the register-level data transfer on VMEbus. (No need to send this command if the module was previously reset.) 2. Module 1: Reset the Local Bus VINStrument[:CONFigure]:LBUS:RESet This command resets the Local Bus Controller circuitry. 3. Set the Local Bus Mode to GENerate VINStrument[:CONFigure]:LBUS[:MODE] GENerate This command sets the Local Bus Mode to GENerate to output data bytes from memory. Using the Memory Module 49