|
|
DQChart Control > Methods > ChartEx |
ChartEx
Applies to: |
DQChart Active X Control |
Description: |
This control uses a 16-bit integer array (i.e., binary data) to plot data in a chart. The first parameter is a pointer to the 16-bit integer array. The second parameter is the number of channels embedded within the array. The control uses this parameter to determine the number of channels in each scan. The third parameter defines the total number of scans. One scan is equal to one sample of each active WinDaq channel. This data format cannot be used with LabView or Visual Studio.Net. |
Syntax: |
DQChart1.ChartEx(array(0),channel,total) |
Example: |
Dim A(1000) As Integer
Private Sub DataqSdk1_ NewData(ByVal Count As Integer) DataqSdk1. GetDataEx A(0), DQChart1. Xmax DQChart1.ChartEx A(0), 1, DQChart1. Xmax End Sub
Private Sub Start_Click() DataqSdk1. EventPoint = 20 DataqSdk1. Start End Sub
Private Sub Stop_Click() DataqSdk1. Stop End Sub |