beautypg.com

Teledyne LeCroy TA700_800_850 User Manual User Manual

Page 223

background image

Examples

Catalyst Enterprises, Inc.

209

Project->SetEventField(nCount, EVN_FRAME ,_T("1"));
Project->SetEventField(nCount, EVN_IRDY ,_T("1"));
Project->SetEventField(nCount, EVN_DEVSEL,_T("1"));
Project->SetEventField(nCount, EVN_TRDY ,_T("1"));
Project->SetEventField(nCount, EVN_STOP ,_T("1"));
Project->SetEventField(nCount, EVN_LOCK ,_T("1"));
Project->SetEventField(nCount, EVN_RG,_T("10"));
Project->SetEventField(nCount, EVN_INTX ,_T("1000"));
Project->SetEventField(nCount, EVN_ERR,_T("1"));
Project->SetEventField(nCount, EVN_RST ,_T("1"));
Project->SetEventField(nCount, EVN_CACHE ,_T("1"));
Project->SetEventField(nCount, EVN_PME ,_T("1"));
Project->SetEventField(nCount, EVN_USER ,_T("1"));

}

BSTR strValue = NULL;

Project->GetEventField(nEventNo, nFieldIndex,&strValue);

//-- Upadting SEQUENCER Fields of Project --//
//-- Set same setting for all 32 states --//

//-- IMPORTANT NOTICE
//-- At TA700ComApi pack, there is the file “TA700ApiCons.h”.
//-- At this file we declare some common values such as:
//--SEQ_TRIGGER,
//-- SEQ_EXERCISER …, you can add this file to your VC++ project,
//--You must declare same values for other projects
//-- If you will use this header file below is some description about its

values: