DataqSdk Control > Log File

Previous | Next

Log File

A log file (DATAQSDK.LOG) may be created in the directory from which your program runs every time you run the DataqSDK control. This tool helps DATAQ Technical Support to debug your program if errors occur and you cannot figure out the problem.

To enable creation of this log file add the line "debug=1" to the [Global] section of the c:\Windows\TPDATAQ.INI file.

Note: The log file is cleared each time the DataqSDK control is loaded. In VB when an error occurs do not stop the program - the program must still be running to access the log file (i.e., stay in "debug" mode). For help with your program make sure you copy and email the log file before closing your application.

By using this log file Technical Support can significantly reduce response time to your problem.

Examine the following for a typical log file format:

15:37:33 Constructor

15:37:33 DoPropExchange

15:37:33 ADChannelCount 1

15:37:33 SampleRate 1000.000000

15:37:33 MaxSampleRate 0.000000

15:37:33 EventPoint 0

15:37:33 TrigMode 0

15:37:33 TrigScnChnIdx 0

15:37:33 TrigHysterisisIdx 0

15:37:33 TrigLevel 0

15:37:33 TrigPostLength 0

15:37:33 TrigPreLength 0

15:37:33 TrigSlope 0

15:37:34 SetADChannelCount 4

15:37:34 SetMaxBurstRate= 50000.000000

15:37:34 SetADChannelCount 100.000000

15:37:34 SetEventPoint 20

15:37:34 ADChannelList

15:37:34 [0]= 0

15:37:34 [1]= 1

15:37:34 [2]= 2

15:37:34 [3]= 3

15:37:34 [4]= 4

15:37:34 [5]= 5

15:37:34 [6]= 6

15:37:34 [7]= 7

15:37:34 [8]= 8

15:37:34 [9]= 9

15:37:34 [10]= 10

15:37:34 [11]= 11

15:37:34 [12]= 12

15:37:34 [13]= 13

15:37:34 [14]= 14

15:37:34 [15]= 15

15:37:34 [16]= 16

15:37:34 [17]= 17

15:37:34 [18]= 18

15:37:34 [19]= 19

15:37:34 [20]= 20

15:37:34 [21]= 21

15:37:34 [22]= 22

15:37:34 [23]= 23

15:37:34 [24]= 24

15:37:34 [25]= 25

15:37:34 [26]= 26

15:37:34 [27]= 27

15:37:34 [28]= 28

15:37:34 [29]= 29

15:37:34 [30]= 30

15:37:34 [31]= 31

15:37:34 [32]= 0

15:37:34 ADGainList

15:37:34 [0]= 0

15:37:34 [1]= 0

15:37:34 [2]= 0

15:37:34 [3]= 0

15:37:34 [4]= 0

15:37:34 [5]= 0

15:37:34 [6]= 0

15:37:34 [7]= 0

15:37:34 [8]= 0

15:37:34 [9]= 0

15:37:34 [10]= 0

15:37:34 [11]= 0

15:37:34 [12]= 0

15:37:34 [13]= 0

15:37:34 [14]= 0

15:37:34 [15]= 0

15:37:34 [16]= 0

15:37:34 [17]= 0

15:37:34 [18]= 0

15:37:34 [19]= 0

15:37:34 [20]= 0

15:37:34 [21]= 0

15:37:34 [22]= 0

15:37:34 [23]= 0

15:37:34 [24]= 0

15:37:34 [25]= 0

15:37:34 [26]= 0

15:37:34 [27]= 0

15:37:34 [28]= 0

15:37:34 [29]= 0

15:37:34 [30]= 0

15:37:34 [31]= 0

15:37:34 [32]= 0

15:37:34 ADDiffList

15:37:34 Link2DLL

15:37:34 di809nt.dll

15:37:34 Start

15:37:34 OnCreate

15:37:34 ChangeBoard

15:37:34 DI_CLOSE

15:37:34 DI_OPEN_URL

15:37:34 192.168.1.111

15:37:34 DI_OPEN ok, entering DI_INFO

15:37:34 DI_INFO

15:37:34 DeviceName 720

15:37:34 dDspFrq= 16000000.000000

15:37:34 Starting GetBCInfo

15:37:34 Non BC Priority

15:37:34 Number of Channel: 4

15:37:34 Samplerate: 100

15:37:34 MinBurstCount: 320

15:37:34 Loop: 0

15:37:34 Iteration: 1

15:37:34 Loop: 1

15:37:34 Iteration: 2

15:37:34 GetBCInfo: 320 124

15:37:34 Actual Rate= 100.000000

15:37:34 DI_MODE

15:37:34 DI_BURST_RATE

15:37:34 DI_BUFFER_ALLOC

15:37:34 DI_LIST_LENGTH

15:37:34 Bipolar 0 0

15:37:34 Bipolar 1 1

15:37:34 Bipolar 2 2

15:37:34 Bipolar 3 3

15:37:34 Next: DI_START_SCAN

15:37:34 NewData 48

15:37:34 GetData

15:37:34 SetDigitalOutput 32767

15:37:35 NewData 80

15:37:35 GetData

15:37:35 SetDigitalOutput 0

15:37:35 NewData 80

15:37:35 GetData

15:37:35 SetDigitalOutput 32767

15:37:35 NewData 80

15:37:35 GetData

15:37:35 SetDigitalOutput 0

15:37:35 NewData 80

15:37:35 GetData

15:37:35 SetDigitalOutput 32767

15:37:35 Stop

15:37:38 Disconnect device driver

15:37:38 Done Destructor

 

Reference Materials | Top