Vishay Micro-Measurements System 7000 Programmer’s Reference Manual
Page 3 of 142
4 SYSTEM STATUS AND ERROR HANDLING ________________________________________________53
4.1 ERROR HANDLING ______________________________________________________________________53
4.2 DECODING THE ERROR NUMBER____________________________________________________________54
4.3 QUERYING SYSTEM STATUS _______________________________________________________________54
4.4 MONITORING THE EVENT/STATUS UDP PORT _________________________________________________54
4.4.1 Message Format____________________________________________________________________55
4.4.2 Card Status Message ________________________________________________________________55
4.4.3 Card Error Message ________________________________________________________________56
4.4.4 Control Module Error Messages _______________________________________________________56
5 LABVIEW INSTRUMENT DRIVER _________________________________________________________57
5.1 OVERVIEW ____________________________________________________________________________57
5.2 SYSTEM 7000 INSTRUMENT DRIVER _________________________________________________________57
5.2.1 System 7000 Instrument Driver Layout __________________________________________________57
5.2.2 System 7000 Instrument Driver Examples ________________________________________________58
5.2.3 System 7000 Instrument “Readme.html” _________________________________________________58
5.2.4 Supported LabVIEW Versions _________________________________________________________58
6 ACTIVEX INTERFACE ___________________________________________________________________59
6.1 ACTIVE X INTERFACES ___________________________________________________________________59
6.2 ERROR CODES__________________________________________________________________________59
6.3 CARD MASK, CHANNEL MASK, AND RECORDING GROUP MASK NOTATION __________________________60
6.4 SAMPLE PROGRAMS _____________________________________________________________________61
6.4.1 Delphi Sample Program______________________________________________________________61
6.4.2 Visual C# Sample Program ___________________________________________________________61
6.4.3 LabWindows/CVI Sample Program _____________________________________________________61
6.5 IVMM7000CONTROL INTERFACE DESCRIPTION _______________________________________________62
6.5.1 Properties_________________________________________________________________________62
6.5.1.1 IPAddress Property (Read/Write) ___________________________________________________________ 62
6.5.1.2 CommandPort Property (Read/Write) ________________________________________________________ 62
6.5.1.3 DataPort Property (Read/Write)_____________________________________________________________ 62
6.5.1.4 LastErrorCode Property (Read/Write) ________________________________________________________ 63
6.5.1.5 CommandPortTimeout Property (Read/Write)__________________________________________________ 63
6.5.1.6 DataPortTimeout Property (Read/Write) ______________________________________________________ 64
6.5.2 Connection Methods_________________________________________________________________65
6.5.2.1 Open Method ___________________________________________________________________________ 65
6.5.2.2 Close Method ___________________________________________________________________________ 65
6.5.3 Action - Status Group________________________________________________________________66
6.5.3.1 Arm Method____________________________________________________________________________ 66
6.5.3.2 Disarm Method _________________________________________________________________________ 66
6.5.3.3 StartScanning Method ____________________________________________________________________ 67
6.5.3.4 StopScanning Method ____________________________________________________________________ 67
6.5.3.5 ControlManualRecording Method ___________________________________________________________ 68
6.5.3.6 ControlOnlineDataTransfer Method _________________________________________________________ 68
6.5.3.7 GetSystemState Method___________________________________________________________________ 69
6.5.3.8 GetSyncStatus Method____________________________________________________________________ 69
6.5.3.9 SynchronizeNetworkedScanners Method______________________________________________________ 70
6.5.3.10 StartSynchronizedScanning Method ________________________________________________________ 71
6.5.4 Configuration Group ________________________________________________________________72
6.5.4.1 ConfigureTimeBasedRecording Method ______________________________________________________ 72
6.5.4.2 ConfigureTimeBasedRecordingStartandStop Method ____________________________________________ 72
6.5.4.3 ConfigureManualRecording Method _________________________________________________________ 73
6.5.4.4 SetChannelRecordingGroup Method _________________________________________________________ 74
6.5.4.5 SetLimitType Method ____________________________________________________________________ 74
6.5.4.6 SetLimitsBasedRecordingType Method_______________________________________________________ 75
6.5.4.7 ConfigureLimitsBasedRecording____________________________________________________________ 75
6.5.4.8 ConfigureLimitCondition method ___________________________________________________________ 76
6.5.4.9 SetLimitConditionCount Method____________________________________________________________ 77
6.5.4.10 AssignLimitToChannel Method____________________________________________________________ 78
6.5.4.11 ConfigureGlobalLimit Method_____________________________________________________________ 78
6.5.4.12 ConfigureScan Method __________________________________________________________________ 80
6.5.4.13 ConfigureStrainGageCardExcitation Method _________________________________________________ 81