|
|
DataqFile Controls > WriteDataqFile > Methods > Close |
Close
Applies to: |
WRITEDATAQFILE Active X Control |
Description: |
Closes and saves the file at the location and name designated in the FileName property. You should use this method to allow the user to save their data and safely close the file before quitting your program. |
Syntax: |
WriteDataqFile1.Close |
Example: |
Private Sub DataqSdk1_ NewData(ByVal Count As Integer) x = DataqSdk1. GetData WriteDataqFile1. SaveData (x) DQChart1. Chart (x) End Sub
Private Sub Start_Click() DataqSdk1. EventPoint = 20 DataqSdk1. Start WriteDataqFile1. Open End Sub
Private Sub Stop_Click() DataqSdk1. Stop WriteDataqFile1.Close End Sub |