Power-On / Reset States; Example 1: Reset, Self Test, And Module Id - Keysight E1459A User & Scpi Programming Manual

64-channel isolated input interrupt module
Table of Contents

Advertisement

Using the Keysight E1459A Module

Power-on / Reset States

At power-on or reset (*RST) the Keysight E1459A is set to the following
conditions:
Also, refer to the

Example 1: Reset, Self Test, and Module ID

This first example resets the Keysight E1459A, performs the module self test, and
reads the module ID and description.
/*
This program resets the Keysight E1459A, performs a Self Test,
and reads the ID string
Created in Microsoft Visual C++
#include <visa.h>
#include <stdio.h>
#include <stdlib.h>
#define INSTR_ADDR "GPIB0::9::3::INSTR"
/* E1459A logical address */
int main()
{
ViStatus errStatus;
/* status from VISA call */
ViSession viRM;
/* Resource Mgr. session */
ViSession E1459;
/* session for Keysight E1459A */
char id_string [256] = {0};
/* ID string buffer */
char selftst_string[256] = {0};
/* Open a default Resource Manager */
30
– Watchdog timer is off (disabled).
– Clock Source is Internal
– Input Debounce Time is 18.0 S.
– DAV (Data Available) Event interrupts are disabled for all ports.
– Edge Event interrupts are disabled for all ports.
STATus:PRESet
Self Test
command in Chapter 3.
*/
Keysight E1459A/Z2404B User and SCPI Programming Guide
Power-on / Reset States

Advertisement

Table of Contents
loading

This manual is also suitable for:

Z2404a

Table of Contents