Technical data
The second block generates a PRBS of polynomial 2^23 -1 as payload data. It is
repeated until the Auxiliary In port of the pattern generator receives a rising edge.
The third block generates the contents of a user pattern file named
MyFooter.ptrn
.
It is used to reset the device and repeated 20 times.
The pattern editor can be used to specify and store the user patterns.
Setting up a Sequence in IVI-COM
This section provides a compressed example of how to set up the sequence in IVI-
COM.
using
System;
using
Agilent.AgilentN490x.Interop;
namespace
IviSequencing
{
/// <summary>
/// Summary description for Class1.
/// </summary>
class IviSequencing
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main (string[] args )
{
//get an Agilen490x driver:
Agilent490xClass bert= new
Agilent.Agilent490x.Interop.Agilent490xClass();
// Connect to the instrument.
// The connection string might be different for your instrument. Check the string
with your Visa Assistant.
bert.Initialize("GPIB2::11::INSTR",false,false,"");
//For accessing the output settings we need the PG interface
IAgilentN490xPG2 bertPg = bert.PGs.get_Item("PG1");
//Set the SequenceExpression of the BERT pattern generator:
3 Recommended Programming Techniques
68 Agilent J-BERT N4903B High-Performance Serial BERT