VINStrument[:CONFigure]:TEST:DATA

The legal range of values is -32768 to 32767. Only the upper 12 bits are stored into memory. The lower 4 bits are ignored, and the actual values sent over the Local bus for these lower 4 bits are determined by the current setting of the DIAGnostic:CHANnel:LABel command.

Comments Executable when initiated: No

Coupled command: Yes. VINStrument:CONFigure:LBUS:FEED will be changed to "MEMory:BOTH", VINStrument:CONFigure:LBUS:MODE will be set to GENerate, and VINStrument:CONFigure:VME:MODE will be set to OFF.

The module receiving the data must have been previously set up so that it is ready to CONSume data.

When testing the Local bus, you must send a minimum of 28 bytes and the byte count must be a multiple of 4. If less than 28 bytes are sent, error -109 "Missing parameter" occurs. If the byte count is not a multiple of 4, error -161 "Invalid block data" occurs.

Because MEMory:BOTH is the FEED, the first data point is sent from channel 2, the second data point is sent from channel 1, the third data point from channel 2, and so on.

As mentioned above, the lower 4 bits of each 16-bit reading sent out over the Local bus are determined by the current setting of DIAGnostic:CHANnel:LABel for the channel the data was stored into. These 4 bits may not have the same value as the data sent with this command. Therefore, the consuming module may receive slightly different data than what was downloaded with this command.

Related Commands: VINStrument:CONFigure:LBUS:FEED, VINStrument:CONFigure:LBUS:MODE

*RST Condition: none

Example Testing Local Bus operation

VINS:TEST:DATA #240<40 bytes of data>

Send 40 bytes (10 readings per channel), using IEEE-488.2 definite length block

292 Command Reference

VINStrument Subsystem

Page 292
Image 292
HP E1429A manual ∙ *RST Condition none Example Testing Local Bus operation